client

package
v5.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertConfiguration added in v5.4.0

type AlertConfiguration struct {
	Annotations            []*AlertTag                  `json:"annotations,omitempty" xml:"annotations,omitempty" type:"Repeated"`
	AutoAnnotation         *bool                        `json:"autoAnnotation,omitempty" xml:"autoAnnotation,omitempty"`
	ConditionConfiguration *ConditionConfiguration      `json:"conditionConfiguration,omitempty" xml:"conditionConfiguration,omitempty"`
	Dashboard              *string                      `json:"dashboard,omitempty" xml:"dashboard,omitempty"`
	GroupConfiguration     *GroupConfiguration          `json:"groupConfiguration,omitempty" xml:"groupConfiguration,omitempty"`
	JoinConfigurations     []*JoinConfiguration         `json:"joinConfigurations,omitempty" xml:"joinConfigurations,omitempty" type:"Repeated"`
	Labels                 []*AlertTag                  `json:"labels,omitempty" xml:"labels,omitempty" type:"Repeated"`
	MuteUntil              *int64                       `json:"muteUntil,omitempty" xml:"muteUntil,omitempty"`
	NoDataFire             *bool                        `json:"noDataFire,omitempty" xml:"noDataFire,omitempty"`
	NoDataSeverity         *int32                       `json:"noDataSeverity,omitempty" xml:"noDataSeverity,omitempty"`
	PolicyConfiguration    *PolicyConfiguration         `json:"policyConfiguration,omitempty" xml:"policyConfiguration,omitempty"`
	QueryList              []*AlertQuery                `json:"queryList,omitempty" xml:"queryList,omitempty" type:"Repeated"`
	SendResolved           *bool                        `json:"sendResolved,omitempty" xml:"sendResolved,omitempty"`
	SeverityConfigurations []*SeverityConfiguration     `json:"severityConfigurations,omitempty" xml:"severityConfigurations,omitempty" type:"Repeated"`
	SinkAlerthub           *SinkAlerthubConfiguration   `json:"sinkAlerthub,omitempty" xml:"sinkAlerthub,omitempty"`
	SinkCms                *SinkCmsConfiguration        `json:"sinkCms,omitempty" xml:"sinkCms,omitempty"`
	SinkEventStore         *SinkEventStoreConfiguration `json:"sinkEventStore,omitempty" xml:"sinkEventStore,omitempty"`
	Tags                   []*string                    `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
	TemplateConfiguration  *TemplateConfiguration       `json:"templateConfiguration,omitempty" xml:"templateConfiguration,omitempty"`
	Threshold              *int32                       `json:"threshold,omitempty" xml:"threshold,omitempty"`
	Type                   *string                      `json:"type,omitempty" xml:"type,omitempty"`
	Version                *string                      `json:"version,omitempty" xml:"version,omitempty"`
}

func (AlertConfiguration) GoString added in v5.4.0

func (s AlertConfiguration) GoString() string

func (*AlertConfiguration) SetAnnotations added in v5.4.0

func (s *AlertConfiguration) SetAnnotations(v []*AlertTag) *AlertConfiguration

func (*AlertConfiguration) SetAutoAnnotation added in v5.4.0

func (s *AlertConfiguration) SetAutoAnnotation(v bool) *AlertConfiguration

func (*AlertConfiguration) SetConditionConfiguration added in v5.4.0

func (s *AlertConfiguration) SetConditionConfiguration(v *ConditionConfiguration) *AlertConfiguration

func (*AlertConfiguration) SetDashboard added in v5.4.0

func (s *AlertConfiguration) SetDashboard(v string) *AlertConfiguration

func (*AlertConfiguration) SetGroupConfiguration added in v5.4.0

func (s *AlertConfiguration) SetGroupConfiguration(v *GroupConfiguration) *AlertConfiguration

func (*AlertConfiguration) SetJoinConfigurations added in v5.4.0

func (s *AlertConfiguration) SetJoinConfigurations(v []*JoinConfiguration) *AlertConfiguration

func (*AlertConfiguration) SetLabels added in v5.4.0

func (s *AlertConfiguration) SetLabels(v []*AlertTag) *AlertConfiguration

func (*AlertConfiguration) SetMuteUntil added in v5.4.0

func (s *AlertConfiguration) SetMuteUntil(v int64) *AlertConfiguration

func (*AlertConfiguration) SetNoDataFire added in v5.4.0

func (s *AlertConfiguration) SetNoDataFire(v bool) *AlertConfiguration

func (*AlertConfiguration) SetNoDataSeverity added in v5.4.0

func (s *AlertConfiguration) SetNoDataSeverity(v int32) *AlertConfiguration

func (*AlertConfiguration) SetPolicyConfiguration added in v5.4.0

func (s *AlertConfiguration) SetPolicyConfiguration(v *PolicyConfiguration) *AlertConfiguration

func (*AlertConfiguration) SetQueryList added in v5.4.0

func (s *AlertConfiguration) SetQueryList(v []*AlertQuery) *AlertConfiguration

func (*AlertConfiguration) SetSendResolved added in v5.4.0

func (s *AlertConfiguration) SetSendResolved(v bool) *AlertConfiguration

func (*AlertConfiguration) SetSeverityConfigurations added in v5.4.0

func (s *AlertConfiguration) SetSeverityConfigurations(v []*SeverityConfiguration) *AlertConfiguration

func (*AlertConfiguration) SetSinkAlerthub added in v5.4.0

func (*AlertConfiguration) SetSinkCms added in v5.4.0

func (*AlertConfiguration) SetSinkEventStore added in v5.4.0

func (*AlertConfiguration) SetTags added in v5.4.0

func (s *AlertConfiguration) SetTags(v []*string) *AlertConfiguration

func (*AlertConfiguration) SetTemplateConfiguration added in v5.4.0

func (s *AlertConfiguration) SetTemplateConfiguration(v *TemplateConfiguration) *AlertConfiguration

func (*AlertConfiguration) SetThreshold added in v5.4.0

func (s *AlertConfiguration) SetThreshold(v int32) *AlertConfiguration

func (*AlertConfiguration) SetType added in v5.4.0

func (*AlertConfiguration) SetVersion added in v5.4.0

func (s *AlertConfiguration) SetVersion(v string) *AlertConfiguration

func (AlertConfiguration) String added in v5.4.0

func (s AlertConfiguration) String() string

type AlertQuery added in v5.4.0

type AlertQuery struct {
	ChartTitle   *string `json:"chartTitle,omitempty" xml:"chartTitle,omitempty"`
	DashboardId  *string `json:"dashboardId,omitempty" xml:"dashboardId,omitempty"`
	End          *string `json:"end,omitempty" xml:"end,omitempty"`
	PowerSqlMode *string `json:"powerSqlMode,omitempty" xml:"powerSqlMode,omitempty"`
	Project      *string `json:"project,omitempty" xml:"project,omitempty"`
	Query        *string `json:"query,omitempty" xml:"query,omitempty"`
	Region       *string `json:"region,omitempty" xml:"region,omitempty"`
	RoleArn      *string `json:"roleArn,omitempty" xml:"roleArn,omitempty"`
	Start        *string `json:"start,omitempty" xml:"start,omitempty"`
	Store        *string `json:"store,omitempty" xml:"store,omitempty"`
	StoreType    *string `json:"storeType,omitempty" xml:"storeType,omitempty"`
	TimeSpanType *string `json:"timeSpanType,omitempty" xml:"timeSpanType,omitempty"`
	Ui           *string `json:"ui,omitempty" xml:"ui,omitempty"`
}

func (AlertQuery) GoString added in v5.4.0

func (s AlertQuery) GoString() string

func (*AlertQuery) SetChartTitle added in v5.4.0

func (s *AlertQuery) SetChartTitle(v string) *AlertQuery

func (*AlertQuery) SetDashboardId added in v5.4.0

func (s *AlertQuery) SetDashboardId(v string) *AlertQuery

func (*AlertQuery) SetEnd added in v5.4.0

func (s *AlertQuery) SetEnd(v string) *AlertQuery

func (*AlertQuery) SetPowerSqlMode added in v5.4.0

func (s *AlertQuery) SetPowerSqlMode(v string) *AlertQuery

func (*AlertQuery) SetProject added in v5.4.0

func (s *AlertQuery) SetProject(v string) *AlertQuery

func (*AlertQuery) SetQuery added in v5.4.0

func (s *AlertQuery) SetQuery(v string) *AlertQuery

func (*AlertQuery) SetRegion added in v5.4.0

func (s *AlertQuery) SetRegion(v string) *AlertQuery

func (*AlertQuery) SetRoleArn added in v5.4.0

func (s *AlertQuery) SetRoleArn(v string) *AlertQuery

func (*AlertQuery) SetStart added in v5.4.0

func (s *AlertQuery) SetStart(v string) *AlertQuery

func (*AlertQuery) SetStore added in v5.4.0

func (s *AlertQuery) SetStore(v string) *AlertQuery

func (*AlertQuery) SetStoreType added in v5.4.0

func (s *AlertQuery) SetStoreType(v string) *AlertQuery

func (*AlertQuery) SetTimeSpanType added in v5.4.0

func (s *AlertQuery) SetTimeSpanType(v string) *AlertQuery

func (*AlertQuery) SetUi added in v5.4.0

func (s *AlertQuery) SetUi(v string) *AlertQuery

func (AlertQuery) String added in v5.4.0

func (s AlertQuery) String() string

type AlertResp added in v5.4.0

type AlertResp struct {
	Configuration    *AlertConfiguration `json:"configuration,omitempty" xml:"configuration,omitempty"`
	CreateTime       *int64              `json:"createTime,omitempty" xml:"createTime,omitempty"`
	Description      *string             `json:"description,omitempty" xml:"description,omitempty"`
	DisplayName      *string             `json:"displayName,omitempty" xml:"displayName,omitempty"`
	LastModifiedTime *int64              `json:"lastModifiedTime,omitempty" xml:"lastModifiedTime,omitempty"`
	Name             *string             `json:"name,omitempty" xml:"name,omitempty"`
	Schedule         *Schedule           `json:"schedule,omitempty" xml:"schedule,omitempty"`
	Status           *string             `json:"status,omitempty" xml:"status,omitempty"`
}

func (AlertResp) GoString added in v5.4.0

func (s AlertResp) GoString() string

func (*AlertResp) SetConfiguration added in v5.4.0

func (s *AlertResp) SetConfiguration(v *AlertConfiguration) *AlertResp

func (*AlertResp) SetCreateTime added in v5.4.0

func (s *AlertResp) SetCreateTime(v int64) *AlertResp

func (*AlertResp) SetDescription added in v5.4.0

func (s *AlertResp) SetDescription(v string) *AlertResp

func (*AlertResp) SetDisplayName added in v5.4.0

func (s *AlertResp) SetDisplayName(v string) *AlertResp

func (*AlertResp) SetLastModifiedTime added in v5.4.0

func (s *AlertResp) SetLastModifiedTime(v int64) *AlertResp

func (*AlertResp) SetName added in v5.4.0

func (s *AlertResp) SetName(v string) *AlertResp

func (*AlertResp) SetSchedule added in v5.4.0

func (s *AlertResp) SetSchedule(v *Schedule) *AlertResp

func (*AlertResp) SetStatus added in v5.4.0

func (s *AlertResp) SetStatus(v string) *AlertResp

func (AlertResp) String added in v5.4.0

func (s AlertResp) String() string

type AlertTag added in v5.4.0

type AlertTag struct {
	Key   *string `json:"key,omitempty" xml:"key,omitempty"`
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (AlertTag) GoString added in v5.4.0

func (s AlertTag) GoString() string

func (*AlertTag) SetKey added in v5.4.0

func (s *AlertTag) SetKey(v string) *AlertTag

func (*AlertTag) SetValue added in v5.4.0

func (s *AlertTag) SetValue(v string) *AlertTag

func (AlertTag) String added in v5.4.0

func (s AlertTag) String() string

type ApplyConfigToMachineGroupResponse

type ApplyConfigToMachineGroupResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (ApplyConfigToMachineGroupResponse) GoString

func (*ApplyConfigToMachineGroupResponse) SetHeaders

func (*ApplyConfigToMachineGroupResponse) SetStatusCode

func (ApplyConfigToMachineGroupResponse) String

type ChangeResourceGroupRequest

type ChangeResourceGroupRequest struct {
	// The ID of the resource group.
	ResourceGroupId *string `json:"resourceGroupId,omitempty" xml:"resourceGroupId,omitempty"`
	// The ID of the resource.
	ResourceId *string `json:"resourceId,omitempty" xml:"resourceId,omitempty"`
	// The type of the resource. Only PROJECT is supported. Set the value to PROJECT.
	ResourceType *string `json:"resourceType,omitempty" xml:"resourceType,omitempty"`
}

func (ChangeResourceGroupRequest) GoString

func (s ChangeResourceGroupRequest) GoString() string

func (*ChangeResourceGroupRequest) SetResourceGroupId

func (*ChangeResourceGroupRequest) SetResourceId

func (*ChangeResourceGroupRequest) SetResourceType

func (ChangeResourceGroupRequest) String

type ChangeResourceGroupResponse

type ChangeResourceGroupResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (ChangeResourceGroupResponse) GoString

func (s ChangeResourceGroupResponse) GoString() string

func (*ChangeResourceGroupResponse) SetHeaders

func (*ChangeResourceGroupResponse) SetStatusCode

func (ChangeResourceGroupResponse) String

type Chart

type Chart struct {
	Action  map[string]interface{} `json:"action,omitempty" xml:"action,omitempty"`
	Display map[string]interface{} `json:"display,omitempty" xml:"display,omitempty"`
	Search  map[string]interface{} `json:"search,omitempty" xml:"search,omitempty"`
	Title   *string                `json:"title,omitempty" xml:"title,omitempty"`
	Type    *string                `json:"type,omitempty" xml:"type,omitempty"`
}

func (Chart) GoString

func (s Chart) GoString() string

func (*Chart) SetAction

func (s *Chart) SetAction(v map[string]interface{}) *Chart

func (*Chart) SetDisplay

func (s *Chart) SetDisplay(v map[string]interface{}) *Chart

func (*Chart) SetSearch

func (s *Chart) SetSearch(v map[string]interface{}) *Chart

func (*Chart) SetTitle

func (s *Chart) SetTitle(v string) *Chart

func (*Chart) SetType

func (s *Chart) SetType(v string) *Chart

func (Chart) String

func (s Chart) String() string

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) ApplyConfigToMachineGroup

func (client *Client) ApplyConfigToMachineGroup(project *string, machineGroup *string, configName *string) (_result *ApplyConfigToMachineGroupResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return ApplyConfigToMachineGroupResponse

func (*Client) ApplyConfigToMachineGroupWithOptions

func (client *Client) ApplyConfigToMachineGroupWithOptions(project *string, machineGroup *string, configName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ApplyConfigToMachineGroupResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ApplyConfigToMachineGroupResponse

func (*Client) ChangeResourceGroup

func (client *Client) ChangeResourceGroup(project *string, request *ChangeResourceGroupRequest) (_result *ChangeResourceGroupResponse, _err error)

func (*Client) ChangeResourceGroupWithOptions

func (client *Client) ChangeResourceGroupWithOptions(project *string, request *ChangeResourceGroupRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ChangeResourceGroupResponse, _err error)

func (*Client) ConsumerGroupHeartBeat

func (client *Client) ConsumerGroupHeartBeat(project *string, logstore *string, consumerGroup *string, request *ConsumerGroupHeartBeatRequest) (_result *ConsumerGroupHeartBeatResponse, _err error)

*

  • ### Usage notes
  • * Connections between consumers and servers are established by sending heartbeats at regular intervals. If a server does not receive heartbeats from a consumer on schedule, the server deletes the consumer.
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request ConsumerGroupHeartBeatRequest
  • @return ConsumerGroupHeartBeatResponse

func (*Client) ConsumerGroupHeartBeatWithOptions

func (client *Client) ConsumerGroupHeartBeatWithOptions(project *string, logstore *string, consumerGroup *string, request *ConsumerGroupHeartBeatRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ConsumerGroupHeartBeatResponse, _err error)

*

  • ### Usage notes
  • * Connections between consumers and servers are established by sending heartbeats at regular intervals. If a server does not receive heartbeats from a consumer on schedule, the server deletes the consumer.
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request ConsumerGroupHeartBeatRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ConsumerGroupHeartBeatResponse

func (*Client) CreateAlert added in v5.4.0

func (client *Client) CreateAlert(project *string, request *CreateAlertRequest) (_result *CreateAlertResponse, _err error)

func (*Client) CreateAlertWithOptions added in v5.4.0

func (client *Client) CreateAlertWithOptions(project *string, request *CreateAlertRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateAlertResponse, _err error)

func (*Client) CreateAnnotationDataSet

func (client *Client) CreateAnnotationDataSet(request *CreateAnnotationDataSetRequest) (_result *CreateAnnotationDataSetResponse, _err error)

func (*Client) CreateAnnotationDataSetWithOptions

func (client *Client) CreateAnnotationDataSetWithOptions(request *CreateAnnotationDataSetRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateAnnotationDataSetResponse, _err error)

func (*Client) CreateAnnotationLabel

func (client *Client) CreateAnnotationLabel(request *CreateAnnotationLabelRequest) (_result *CreateAnnotationLabelResponse, _err error)

func (*Client) CreateAnnotationLabelWithOptions

func (client *Client) CreateAnnotationLabelWithOptions(request *CreateAnnotationLabelRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateAnnotationLabelResponse, _err error)

func (*Client) CreateConfig

func (client *Client) CreateConfig(project *string, request *CreateConfigRequest) (_result *CreateConfigResponse, _err error)

*

  • ### [](#)Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * An AccessKey pair is created and obtained. For more information, see [AccessKey pair](~~29009~~).
  • The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Log Service](~~47664~~).
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong, the region of the project, and the name of the Logstore to which the logs belong. For more information, see [Manage a project](~~48984~~).
  • * You can create up to 100 Logtail configurations in a project.
  • * The Logtail configuration is planned out. For more information, see [Logtail configurations](~~29058~~). *
  • @param request CreateConfigRequest
  • @return CreateConfigResponse

func (*Client) CreateConfigWithOptions

func (client *Client) CreateConfigWithOptions(project *string, request *CreateConfigRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateConfigResponse, _err error)

*

  • ### [](#)Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * An AccessKey pair is created and obtained. For more information, see [AccessKey pair](~~29009~~).
  • The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Log Service](~~47664~~).
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong, the region of the project, and the name of the Logstore to which the logs belong. For more information, see [Manage a project](~~48984~~).
  • * You can create up to 100 Logtail configurations in a project.
  • * The Logtail configuration is planned out. For more information, see [Logtail configurations](~~29058~~). *
  • @param request CreateConfigRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateConfigResponse

func (*Client) CreateConsumerGroup

func (client *Client) CreateConsumerGroup(project *string, logstore *string, request *CreateConsumerGroupRequest) (_result *CreateConsumerGroupResponse, _err error)

*

  • ### Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * You can create up to 30 consumer groups for a Logstore.
  • * Simple Log Service provides examples of both regular log consumption and consumer group-based log consumption by using Simple Log Service SDKs for Java. For more information, see [Consume log data](~~120035~~) and [Use consumer groups to consume data](~~28998~~). *
  • @param request CreateConsumerGroupRequest
  • @return CreateConsumerGroupResponse

func (*Client) CreateConsumerGroupWithOptions

func (client *Client) CreateConsumerGroupWithOptions(project *string, logstore *string, request *CreateConsumerGroupRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateConsumerGroupResponse, _err error)

*

  • ### Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * You can create up to 30 consumer groups for a Logstore.
  • * Simple Log Service provides examples of both regular log consumption and consumer group-based log consumption by using Simple Log Service SDKs for Java. For more information, see [Consume log data](~~120035~~) and [Use consumer groups to consume data](~~28998~~). *
  • @param request CreateConsumerGroupRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateConsumerGroupResponse

func (*Client) CreateDashboard

func (client *Client) CreateDashboard(project *string, request *CreateDashboardRequest) (_result *CreateDashboardResponse, _err error)

*

  • ### [](#)Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * An AccessKey pair is created and obtained. For more information, see [AccessKey pair](~~29009~~).
  • The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](~~47664~~).
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](~~48984~~). *
  • @param request CreateDashboardRequest
  • @return CreateDashboardResponse

func (*Client) CreateDashboardWithOptions

func (client *Client) CreateDashboardWithOptions(project *string, request *CreateDashboardRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateDashboardResponse, _err error)

*

  • ### [](#)Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * An AccessKey pair is created and obtained. For more information, see [AccessKey pair](~~29009~~).
  • The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](~~47664~~).
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](~~48984~~). *
  • @param request CreateDashboardRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateDashboardResponse

func (*Client) CreateDomain

func (client *Client) CreateDomain(project *string, request *CreateDomainRequest) (_result *CreateDomainResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request CreateDomainRequest
  • @return CreateDomainResponse

func (*Client) CreateDomainWithOptions

func (client *Client) CreateDomainWithOptions(project *string, request *CreateDomainRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateDomainResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request CreateDomainRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateDomainResponse

func (*Client) CreateIndex

func (client *Client) CreateIndex(project *string, logstore *string, request *CreateIndexRequest) (_result *CreateIndexResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request CreateIndexRequest
  • @return CreateIndexResponse

func (*Client) CreateIndexWithOptions

func (client *Client) CreateIndexWithOptions(project *string, logstore *string, request *CreateIndexRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateIndexResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request CreateIndexRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateIndexResponse

func (*Client) CreateLogStore

func (client *Client) CreateLogStore(project *string, request *CreateLogStoreRequest) (_result *CreateLogStoreResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Log Service endpoint. You must specify a project in Host. *
  • @param request CreateLogStoreRequest
  • @return CreateLogStoreResponse

func (*Client) CreateLogStoreWithOptions

func (client *Client) CreateLogStoreWithOptions(project *string, request *CreateLogStoreRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateLogStoreResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Log Service endpoint. You must specify a project in Host. *
  • @param request CreateLogStoreRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateLogStoreResponse

func (*Client) CreateLogging

func (client *Client) CreateLogging(project *string, request *CreateLoggingRequest) (_result *CreateLoggingResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request CreateLoggingRequest
  • @return CreateLoggingResponse

func (*Client) CreateLoggingWithOptions

func (client *Client) CreateLoggingWithOptions(project *string, request *CreateLoggingRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateLoggingResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request CreateLoggingRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateLoggingResponse

func (*Client) CreateLogtailPipelineConfig

func (client *Client) CreateLogtailPipelineConfig(project *string, request *CreateLogtailPipelineConfigRequest) (_result *CreateLogtailPipelineConfigResponse, _err error)

*

  • The UK (London) region is supported. Supported regions are constantly updated. *
  • @param request CreateLogtailPipelineConfigRequest
  • @return CreateLogtailPipelineConfigResponse

func (*Client) CreateLogtailPipelineConfigWithOptions

func (client *Client) CreateLogtailPipelineConfigWithOptions(project *string, request *CreateLogtailPipelineConfigRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateLogtailPipelineConfigResponse, _err error)

*

  • The UK (London) region is supported. Supported regions are constantly updated. *
  • @param request CreateLogtailPipelineConfigRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateLogtailPipelineConfigResponse

func (*Client) CreateMachineGroup

func (client *Client) CreateMachineGroup(project *string, request *CreateMachineGroupRequest) (_result *CreateMachineGroupResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request CreateMachineGroupRequest
  • @return CreateMachineGroupResponse

func (*Client) CreateMachineGroupWithOptions

func (client *Client) CreateMachineGroupWithOptions(project *string, request *CreateMachineGroupRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateMachineGroupResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request CreateMachineGroupRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateMachineGroupResponse

func (*Client) CreateOssExternalStore

func (client *Client) CreateOssExternalStore(project *string, request *CreateOssExternalStoreRequest) (_result *CreateOssExternalStoreResponse, _err error)

*

  • ### [](#)Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request CreateOssExternalStoreRequest
  • @return CreateOssExternalStoreResponse

func (*Client) CreateOssExternalStoreWithOptions

func (client *Client) CreateOssExternalStoreWithOptions(project *string, request *CreateOssExternalStoreRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateOssExternalStoreResponse, _err error)

*

  • ### [](#)Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request CreateOssExternalStoreRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateOssExternalStoreResponse

func (*Client) CreateProject

func (client *Client) CreateProject(request *CreateProjectRequest) (_result *CreateProjectResponse, _err error)

func (*Client) CreateProjectWithOptions

func (client *Client) CreateProjectWithOptions(request *CreateProjectRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateProjectResponse, _err error)

func (*Client) CreateRdsExternalStore

func (client *Client) CreateRdsExternalStore(project *string, request *CreateRdsExternalStoreRequest) (_result *CreateRdsExternalStoreResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request CreateRdsExternalStoreRequest
  • @return CreateRdsExternalStoreResponse

func (*Client) CreateRdsExternalStoreWithOptions

func (client *Client) CreateRdsExternalStoreWithOptions(project *string, request *CreateRdsExternalStoreRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateRdsExternalStoreResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request CreateRdsExternalStoreRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateRdsExternalStoreResponse

func (*Client) CreateSavedSearch

func (client *Client) CreateSavedSearch(project *string, request *CreateSavedSearchRequest) (_result *CreateSavedSearchResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request CreateSavedSearchRequest
  • @return CreateSavedSearchResponse

func (*Client) CreateSavedSearchWithOptions

func (client *Client) CreateSavedSearchWithOptions(project *string, request *CreateSavedSearchRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateSavedSearchResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request CreateSavedSearchRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return CreateSavedSearchResponse

func (*Client) CreateTicket

func (client *Client) CreateTicket() (_result *CreateTicketResponse, _err error)

func (*Client) CreateTicketWithOptions

func (client *Client) CreateTicketWithOptions(headers map[string]*string, runtime *util.RuntimeOptions) (_result *CreateTicketResponse, _err error)

func (*Client) DeleteAlert added in v5.4.0

func (client *Client) DeleteAlert(project *string, alertName *string) (_result *DeleteAlertResponse, _err error)

func (*Client) DeleteAlertWithOptions added in v5.4.0

func (client *Client) DeleteAlertWithOptions(project *string, alertName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteAlertResponse, _err error)

func (*Client) DeleteAnnotationData

func (client *Client) DeleteAnnotationData(datasetId *string, annotationdataId *string) (_result *DeleteAnnotationDataResponse, _err error)

func (*Client) DeleteAnnotationDataSet

func (client *Client) DeleteAnnotationDataSet(datasetId *string) (_result *DeleteAnnotationDataSetResponse, _err error)

*

  • You can delete a dataset only if no data exists in the dataset. *
  • @return DeleteAnnotationDataSetResponse

func (*Client) DeleteAnnotationDataSetWithOptions

func (client *Client) DeleteAnnotationDataSetWithOptions(datasetId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteAnnotationDataSetResponse, _err error)

*

  • You can delete a dataset only if no data exists in the dataset. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteAnnotationDataSetResponse

func (*Client) DeleteAnnotationDataWithOptions

func (client *Client) DeleteAnnotationDataWithOptions(datasetId *string, annotationdataId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteAnnotationDataResponse, _err error)

func (*Client) DeleteAnnotationLabel

func (client *Client) DeleteAnnotationLabel(labelId *string) (_result *DeleteAnnotationLabelResponse, _err error)

*

  • Only non-built-in tags can be deleted. *
  • @return DeleteAnnotationLabelResponse

func (*Client) DeleteAnnotationLabelWithOptions

func (client *Client) DeleteAnnotationLabelWithOptions(labelId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteAnnotationLabelResponse, _err error)

*

  • Only non-built-in tags can be deleted. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteAnnotationLabelResponse

func (*Client) DeleteCollectionPolicy

func (client *Client) DeleteCollectionPolicy(policyName *string, request *DeleteCollectionPolicyRequest) (_result *DeleteCollectionPolicyResponse, _err error)

func (*Client) DeleteCollectionPolicyWithOptions

func (client *Client) DeleteCollectionPolicyWithOptions(policyName *string, request *DeleteCollectionPolicyRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteCollectionPolicyResponse, _err error)

func (*Client) DeleteConfig

func (client *Client) DeleteConfig(project *string, configName *string) (_result *DeleteConfigResponse, _err error)

*

  • ### [](#)Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * If a Logtail configuration is applied to a machine group, you cannot collect data from the machine group after you delete the Logtail configuration.
  • * An AccessKey pair is created and obtained. For more information, see [AccessKey pair](~~29009~~).
  • The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](~~47664~~).
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](~~48984~~).
  • * The name of the required Logtail configuration is obtained. For more information, see [ListConfig](~~29043~~). *
  • @return DeleteConfigResponse

func (*Client) DeleteConfigWithOptions

func (client *Client) DeleteConfigWithOptions(project *string, configName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteConfigResponse, _err error)

*

  • ### [](#)Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * If a Logtail configuration is applied to a machine group, you cannot collect data from the machine group after you delete the Logtail configuration.
  • * An AccessKey pair is created and obtained. For more information, see [AccessKey pair](~~29009~~).
  • The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](~~47664~~).
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](~~48984~~).
  • * The name of the required Logtail configuration is obtained. For more information, see [ListConfig](~~29043~~). *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteConfigResponse

func (*Client) DeleteConsumerGroup

func (client *Client) DeleteConsumerGroup(project *string, logstore *string, consumerGroup *string) (_result *DeleteConsumerGroupResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return DeleteConsumerGroupResponse

func (*Client) DeleteConsumerGroupWithOptions

func (client *Client) DeleteConsumerGroupWithOptions(project *string, logstore *string, consumerGroup *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteConsumerGroupResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteConsumerGroupResponse

func (*Client) DeleteDashboard

func (client *Client) DeleteDashboard(project *string, dashboardName *string) (_result *DeleteDashboardResponse, _err error)

*

  • ### [](#)Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * An AccessKey pair is created and obtained. For more information, see [AccessKey pair](~~29009~~).
  • The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](~~47664~~).
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](~~48984~~). *
  • @return DeleteDashboardResponse

func (*Client) DeleteDashboardWithOptions

func (client *Client) DeleteDashboardWithOptions(project *string, dashboardName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteDashboardResponse, _err error)

*

  • ### [](#)Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * An AccessKey pair is created and obtained. For more information, see [AccessKey pair](~~29009~~).
  • The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](~~47664~~).
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](~~48984~~). *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteDashboardResponse

func (*Client) DeleteDomain

func (client *Client) DeleteDomain(project *string, domainName *string) (_result *DeleteDomainResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return DeleteDomainResponse

func (*Client) DeleteDomainWithOptions

func (client *Client) DeleteDomainWithOptions(project *string, domainName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteDomainResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteDomainResponse

func (*Client) DeleteExternalStore

func (client *Client) DeleteExternalStore(project *string, externalStoreName *string) (_result *DeleteExternalStoreResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return DeleteExternalStoreResponse

func (*Client) DeleteExternalStoreWithOptions

func (client *Client) DeleteExternalStoreWithOptions(project *string, externalStoreName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteExternalStoreResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteExternalStoreResponse

func (*Client) DeleteIndex

func (client *Client) DeleteIndex(project *string, logstore *string) (_result *DeleteIndexResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return DeleteIndexResponse

func (*Client) DeleteIndexWithOptions

func (client *Client) DeleteIndexWithOptions(project *string, logstore *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteIndexResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteIndexResponse

func (*Client) DeleteLogStore

func (client *Client) DeleteLogStore(project *string, logstore *string) (_result *DeleteLogStoreResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Log Service endpoint. You must specify a project in Host. *
  • @return DeleteLogStoreResponse

func (*Client) DeleteLogStoreWithOptions

func (client *Client) DeleteLogStoreWithOptions(project *string, logstore *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteLogStoreResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteLogStoreResponse

func (*Client) DeleteLogging

func (client *Client) DeleteLogging(project *string) (_result *DeleteLoggingResponse, _err error)

func (*Client) DeleteLoggingWithOptions

func (client *Client) DeleteLoggingWithOptions(project *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteLoggingResponse, _err error)

func (*Client) DeleteLogtailPipelineConfig

func (client *Client) DeleteLogtailPipelineConfig(project *string, configName *string) (_result *DeleteLogtailPipelineConfigResponse, _err error)

*

  • The UK (London) region is supported. Supported regions are constantly updated. *
  • @return DeleteLogtailPipelineConfigResponse

func (*Client) DeleteLogtailPipelineConfigWithOptions

func (client *Client) DeleteLogtailPipelineConfigWithOptions(project *string, configName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteLogtailPipelineConfigResponse, _err error)

*

  • The UK (London) region is supported. Supported regions are constantly updated. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteLogtailPipelineConfigResponse

func (*Client) DeleteMachineGroup

func (client *Client) DeleteMachineGroup(project *string, machineGroup *string) (_result *DeleteMachineGroupResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return DeleteMachineGroupResponse

func (*Client) DeleteMachineGroupWithOptions

func (client *Client) DeleteMachineGroupWithOptions(project *string, machineGroup *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteMachineGroupResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteMachineGroupResponse

func (*Client) DeleteProject

func (client *Client) DeleteProject(project *string) (_result *DeleteProjectResponse, _err error)

func (*Client) DeleteProjectPolicy

func (client *Client) DeleteProjectPolicy(project *string) (_result *DeleteProjectPolicyResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return DeleteProjectPolicyResponse

func (*Client) DeleteProjectPolicyWithOptions

func (client *Client) DeleteProjectPolicyWithOptions(project *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteProjectPolicyResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteProjectPolicyResponse

func (*Client) DeleteProjectWithOptions

func (client *Client) DeleteProjectWithOptions(project *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteProjectResponse, _err error)

func (*Client) DeleteSavedSearch

func (client *Client) DeleteSavedSearch(project *string, savedsearchName *string) (_result *DeleteSavedSearchResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return DeleteSavedSearchResponse

func (*Client) DeleteSavedSearchWithOptions

func (client *Client) DeleteSavedSearchWithOptions(project *string, savedsearchName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteSavedSearchResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteSavedSearchResponse

func (*Client) DeleteShipper

func (client *Client) DeleteShipper(project *string, logstore *string, shipperName *string) (_result *DeleteShipperResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return DeleteShipperResponse

func (*Client) DeleteShipperWithOptions

func (client *Client) DeleteShipperWithOptions(project *string, logstore *string, shipperName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DeleteShipperResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return DeleteShipperResponse

func (*Client) DisableAlert added in v5.4.0

func (client *Client) DisableAlert(project *string, alertName *string) (_result *DisableAlertResponse, _err error)

func (*Client) DisableAlertWithOptions added in v5.4.0

func (client *Client) DisableAlertWithOptions(project *string, alertName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *DisableAlertResponse, _err error)

func (*Client) EnableAlert added in v5.4.0

func (client *Client) EnableAlert(project *string, alertName *string) (_result *EnableAlertResponse, _err error)

func (*Client) EnableAlertWithOptions added in v5.4.0

func (client *Client) EnableAlertWithOptions(project *string, alertName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *EnableAlertResponse, _err error)

func (*Client) GetAlert added in v5.4.0

func (client *Client) GetAlert(project *string, alertName *string) (_result *GetAlertResponse, _err error)

func (*Client) GetAlertWithOptions added in v5.4.0

func (client *Client) GetAlertWithOptions(project *string, alertName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetAlertResponse, _err error)

func (*Client) GetAnnotationData

func (client *Client) GetAnnotationData(datasetId *string, annotationdataId *string) (_result *GetAnnotationDataResponse, _err error)

func (*Client) GetAnnotationDataSet

func (client *Client) GetAnnotationDataSet(datasetId *string) (_result *GetAnnotationDataSetResponse, _err error)

func (*Client) GetAnnotationDataSetWithOptions

func (client *Client) GetAnnotationDataSetWithOptions(datasetId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetAnnotationDataSetResponse, _err error)

func (*Client) GetAnnotationDataWithOptions

func (client *Client) GetAnnotationDataWithOptions(datasetId *string, annotationdataId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetAnnotationDataResponse, _err error)

func (*Client) GetAnnotationLabel

func (client *Client) GetAnnotationLabel(labelId *string) (_result *GetAnnotationLabelResponse, _err error)

func (*Client) GetAnnotationLabelWithOptions

func (client *Client) GetAnnotationLabelWithOptions(labelId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetAnnotationLabelResponse, _err error)

func (*Client) GetAppliedConfigs

func (client *Client) GetAppliedConfigs(project *string, machineGroup *string) (_result *GetAppliedConfigsResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return GetAppliedConfigsResponse

func (*Client) GetAppliedConfigsWithOptions

func (client *Client) GetAppliedConfigsWithOptions(project *string, machineGroup *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetAppliedConfigsResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetAppliedConfigsResponse

func (*Client) GetAppliedMachineGroups

func (client *Client) GetAppliedMachineGroups(project *string, configName *string) (_result *GetAppliedMachineGroupsResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return GetAppliedMachineGroupsResponse

func (*Client) GetAppliedMachineGroupsWithOptions

func (client *Client) GetAppliedMachineGroupsWithOptions(project *string, configName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetAppliedMachineGroupsResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetAppliedMachineGroupsResponse

func (*Client) GetCheckPoint

func (client *Client) GetCheckPoint(project *string, logstore *string, consumerGroup *string, request *GetCheckPointRequest) (_result *GetCheckPointResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request GetCheckPointRequest
  • @return GetCheckPointResponse

func (*Client) GetCheckPointWithOptions

func (client *Client) GetCheckPointWithOptions(project *string, logstore *string, consumerGroup *string, request *GetCheckPointRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetCheckPointResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request GetCheckPointRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetCheckPointResponse

func (*Client) GetCollectionPolicy

func (client *Client) GetCollectionPolicy(policyName *string, request *GetCollectionPolicyRequest) (_result *GetCollectionPolicyResponse, _err error)

func (*Client) GetCollectionPolicyWithOptions

func (client *Client) GetCollectionPolicyWithOptions(policyName *string, request *GetCollectionPolicyRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetCollectionPolicyResponse, _err error)

func (*Client) GetConfig

func (client *Client) GetConfig(project *string, configName *string) (_result *GetConfigResponse, _err error)

*

  • ### [](#)Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * An AccessKey pair is created and obtained. For more information, see [AccessKey pair](~~29009~~).
  • The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](~~47664~~).
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](~~48984~~).
  • * The name of the required Logtail configuration is obtained. For more information, see [ListConfig](~~29043~~). *
  • @return GetConfigResponse

func (*Client) GetConfigWithOptions

func (client *Client) GetConfigWithOptions(project *string, configName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetConfigResponse, _err error)

*

  • ### [](#)Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * An AccessKey pair is created and obtained. For more information, see [AccessKey pair](~~29009~~).
  • The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](~~47664~~).
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](~~48984~~).
  • * The name of the required Logtail configuration is obtained. For more information, see [ListConfig](~~29043~~). *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetConfigResponse

func (*Client) GetContextLogs

func (client *Client) GetContextLogs(project *string, logstore *string, request *GetContextLogsRequest) (_result *GetContextLogsResponse, _err error)

*

  • * You can specify a log as the start log. The time range of a contextual query is one day before and one day after the generation time of the start log.
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request GetContextLogsRequest
  • @return GetContextLogsResponse

func (*Client) GetContextLogsWithOptions

func (client *Client) GetContextLogsWithOptions(project *string, logstore *string, request *GetContextLogsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetContextLogsResponse, _err error)

*

  • * You can specify a log as the start log. The time range of a contextual query is one day before and one day after the generation time of the start log.
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request GetContextLogsRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetContextLogsResponse

func (*Client) GetCursor

func (client *Client) GetCursor(project *string, logstore *string, shardId *string, request *GetCursorRequest) (_result *GetCursorResponse, _err error)

*

  • ### Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * The following content describes the relationships among a cursor, project, Logstore, and shard:
  • * A project can have multiple Logstores.
  • * A Logstore can have multiple shards.
  • * You can use a cursor to obtain a log in a shard. *
  • @param request GetCursorRequest
  • @return GetCursorResponse

func (*Client) GetCursorTime

func (client *Client) GetCursorTime(project *string, logstore *string, shardId *string, request *GetCursorTimeRequest) (_result *GetCursorTimeResponse, _err error)

func (*Client) GetCursorTimeWithOptions

func (client *Client) GetCursorTimeWithOptions(project *string, logstore *string, shardId *string, request *GetCursorTimeRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetCursorTimeResponse, _err error)

func (*Client) GetCursorWithOptions

func (client *Client) GetCursorWithOptions(project *string, logstore *string, shardId *string, request *GetCursorRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetCursorResponse, _err error)

*

  • ### Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * The following content describes the relationships among a cursor, project, Logstore, and shard:
  • * A project can have multiple Logstores.
  • * A Logstore can have multiple shards.
  • * You can use a cursor to obtain a log in a shard. *
  • @param request GetCursorRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetCursorResponse

func (*Client) GetDashboard

func (client *Client) GetDashboard(project *string, dashboardName *string) (_result *GetDashboardResponse, _err error)

*

  • ### [](#)Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * An AccessKey pair is created and obtained. For more information, see [AccessKey pair](~~29009~~).
  • The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](~~47664~~).
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](~~48984~~). *
  • @return GetDashboardResponse

func (*Client) GetDashboardWithOptions

func (client *Client) GetDashboardWithOptions(project *string, dashboardName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetDashboardResponse, _err error)

*

  • ### [](#)Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * An AccessKey pair is created and obtained. For more information, see [AccessKey pair](~~29009~~).
  • The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](~~47664~~).
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](~~48984~~). *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetDashboardResponse

func (*Client) GetExternalStore

func (client *Client) GetExternalStore(project *string, externalStoreName *string) (_result *GetExternalStoreResponse, _err error)

*

  • * The supported data sources of external stores include Object Storage Service (OSS) buckets and ApsaraDB RDS for MySQL databases in a virtual private cloud (VPC).
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return GetExternalStoreResponse

func (*Client) GetExternalStoreWithOptions

func (client *Client) GetExternalStoreWithOptions(project *string, externalStoreName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetExternalStoreResponse, _err error)

*

  • * The supported data sources of external stores include Object Storage Service (OSS) buckets and ApsaraDB RDS for MySQL databases in a virtual private cloud (VPC).
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetExternalStoreResponse

func (*Client) GetHistograms

func (client *Client) GetHistograms(project *string, logstore *string, request *GetHistogramsRequest) (_result *GetHistogramsResponse, _err error)

*

  • ### Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * The time range is evenly divided into subintervals in the responses. If the time range that is specified in the request remains unchanged, the subintervals in the responses also remain unchanged.
  • * If the number of logs in a Logstore significantly changes, Simple Log Service cannot predict the number of times that you must call this operation to obtain the complete result. In this case, you must check the value of the progress parameter in the response of each request and determine whether to call this operation one more time to obtain the complete result. Each time you call this operation, the same number of charge units (CUs) are consumed.
  • * After a log is written to a Logstore, you can call the GetHistograms or GetLogs operation to query the log after a short latency. The latency of a query varies based on the type of the log. Simple Log Service classifies logs into the following types based on the log time:
  • * Real-time data: The difference between the time record in a log and the current time on Simple Log Service is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as real-time data. After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds.
  • * Historical data: The difference between the time record in a log and the current time on Simple Log Service is within the interval \\[-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as historical data. This type of log is usually generated in data backfill scenarios.
  • After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second.
  • > Simple Log Service calculates the difference between the log time that is specified by the \\__time\\_\\_ field and the receiving time that is specified by the \\__tag\\_\\_:\\__receive_time\\_\\_ field for each log. The receiving time indicates the time at which Simple Log Service receives the log. If the difference is within the interval (-180 seconds,900 seconds], Simple Log Service processes the log as real-time data. If the difference is within the interval \\[-604,800 seconds,-180 seconds), Simple Log Service processes the log as historical data.
  • * Simple Log Service provides examples on how to call the GetHistograms operation by using Simple Log Service SDK for Java. For more information, see [Use GetHistograms to query the distribution of logs](~~462234~~). *
  • @param request GetHistogramsRequest
  • @return GetHistogramsResponse

func (*Client) GetHistogramsWithOptions

func (client *Client) GetHistogramsWithOptions(project *string, logstore *string, request *GetHistogramsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetHistogramsResponse, _err error)

*

  • ### Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * The time range is evenly divided into subintervals in the responses. If the time range that is specified in the request remains unchanged, the subintervals in the responses also remain unchanged.
  • * If the number of logs in a Logstore significantly changes, Simple Log Service cannot predict the number of times that you must call this operation to obtain the complete result. In this case, you must check the value of the progress parameter in the response of each request and determine whether to call this operation one more time to obtain the complete result. Each time you call this operation, the same number of charge units (CUs) are consumed.
  • * After a log is written to a Logstore, you can call the GetHistograms or GetLogs operation to query the log after a short latency. The latency of a query varies based on the type of the log. Simple Log Service classifies logs into the following types based on the log time:
  • * Real-time data: The difference between the time record in a log and the current time on Simple Log Service is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as real-time data. After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds.
  • * Historical data: The difference between the time record in a log and the current time on Simple Log Service is within the interval \\[-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as historical data. This type of log is usually generated in data backfill scenarios.
  • After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second.
  • > Simple Log Service calculates the difference between the log time that is specified by the \\__time\\_\\_ field and the receiving time that is specified by the \\__tag\\_\\_:\\__receive_time\\_\\_ field for each log. The receiving time indicates the time at which Simple Log Service receives the log. If the difference is within the interval (-180 seconds,900 seconds], Simple Log Service processes the log as real-time data. If the difference is within the interval \\[-604,800 seconds,-180 seconds), Simple Log Service processes the log as historical data.
  • * Simple Log Service provides examples on how to call the GetHistograms operation by using Simple Log Service SDK for Java. For more information, see [Use GetHistograms to query the distribution of logs](~~462234~~). *
  • @param request GetHistogramsRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetHistogramsResponse

func (*Client) GetIndex

func (client *Client) GetIndex(project *string, logstore *string) (_result *GetIndexResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return GetIndexResponse

func (*Client) GetIndexWithOptions

func (client *Client) GetIndexWithOptions(project *string, logstore *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetIndexResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetIndexResponse

func (*Client) GetLogStore

func (client *Client) GetLogStore(project *string, logstore *string) (_result *GetLogStoreResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return GetLogStoreResponse

func (*Client) GetLogStoreMeteringMode

func (client *Client) GetLogStoreMeteringMode(project *string, logstore *string) (_result *GetLogStoreMeteringModeResponse, _err error)

func (*Client) GetLogStoreMeteringModeWithOptions

func (client *Client) GetLogStoreMeteringModeWithOptions(project *string, logstore *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetLogStoreMeteringModeResponse, _err error)

func (*Client) GetLogStoreWithOptions

func (client *Client) GetLogStoreWithOptions(project *string, logstore *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetLogStoreResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetLogStoreResponse

func (*Client) GetLogging

func (client *Client) GetLogging(project *string) (_result *GetLoggingResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return GetLoggingResponse

func (*Client) GetLoggingWithOptions

func (client *Client) GetLoggingWithOptions(project *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetLoggingResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetLoggingResponse

func (*Client) GetLogs

func (client *Client) GetLogs(project *string, logstore *string, request *GetLogsRequest) (_result *GetLogsResponse, _err error)

*

  • ### Usage notes
  • > Simple Log Service allows you to create a Scheduled SQL job. For more information, see [Create a Scheduled SQL job](~~286457~~).
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * If the number of logs in a Logstore significantly changes, Simple Log Service cannot forecast the number of times that you must call this operation to obtain the complete result. In this case, you must check the value of the x-log-progress parameter in the response of each request and determine whether to call this operation one more time to obtain the complete result. Each time you call this operation, the same number of charge units (CUs) are consumed.
  • * After a log is written to a Logstore, you can call the GetHistograms or GetLogs operation to query the log after a short latency. The latency of a query varies based on the type of the log. Simple Log Service classifies logs into the following types based on the log time:
  • Real-time data: The difference between the time record in a log and the current time on Simple Log Service is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as real-time data. This type of log is usually generated in common scenarios.
  • * Historical data: The difference between the time record in a log and the current time on Simple Log Service is within the interval \\[-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as historical data. This type of log is usually generated in data backfill scenarios.
  • After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second.
  • > Simple Log Service calculates the difference between the log time that is specified by the \\__time\\_\\_ field and the receiving time that is specified by the \\__tag\\_\\_:**receive_time** field for each log. The receiving time indicates the time at which Simple Log Service receives the log. If the difference is within the interval (-180 seconds,900 seconds], Simple Log Service processes the log as real-time data. If the difference is within the interval \\[-604,800 seconds,-180 seconds), Simple Log Service processes the log as historical data.
  • * Simple Log Service provides examples on how to call the GetLogs operation by using Simple Log Service SDK for Java and Simple Log Service SDK for Python. For more information, see [Examples of calling the GetLogs operation by using Simple Log Service SDK for Java](~~407683~~) and [Examples of calling the GetLogs operation by using Simple Log Service SDK for Python](~~407684~~). *
  • @param request GetLogsRequest
  • @return GetLogsResponse

func (*Client) GetLogsV2

func (client *Client) GetLogsV2(project *string, logstore *string, request *GetLogsV2Request) (_result *GetLogsV2Response, _err error)

*

  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * If the number of logs in a Logstore significantly changes, Simple Log Service cannot predict the number of times you must call this API operation to obtain a complete result. In this case, you must check the value of the progress parameter in the response of each request and determine whether to call this operation again to obtain the complete result. Each time you call this operation, the same number of charge units (CUs) are consumed.
  • * After a log is written to a Logstore, you can call the GetHistograms or GetLogs operation to query the log. The latency of the query varies based on the type of the log. Simple Log Service classifies logs into the following types based on log timestamps:
  • 1. 1. Real-time data: The difference between the time record in the log and the current server time is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and the server received the log at 12:05:00, September 25, 2014 (UTC), the server processes the log as real-time data. This type of log is usually generated in common scenarios.
  • 2. 2. Historical data: The difference between the time record in the log and the current server time is within the interval \\[-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and the server received the log at 12:05:00, September 25, 2014 (UTC), the server processes the log as historical data. This type of log is usually generated in data backfill scenarios. After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second. *
  • @param request GetLogsV2Request
  • @return GetLogsV2Response

func (*Client) GetLogsV2WithOptions

func (client *Client) GetLogsV2WithOptions(project *string, logstore *string, request *GetLogsV2Request, headers *GetLogsV2Headers, runtime *util.RuntimeOptions) (_result *GetLogsV2Response, _err error)

*

  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * If the number of logs in a Logstore significantly changes, Simple Log Service cannot predict the number of times you must call this API operation to obtain a complete result. In this case, you must check the value of the progress parameter in the response of each request and determine whether to call this operation again to obtain the complete result. Each time you call this operation, the same number of charge units (CUs) are consumed.
  • * After a log is written to a Logstore, you can call the GetHistograms or GetLogs operation to query the log. The latency of the query varies based on the type of the log. Simple Log Service classifies logs into the following types based on log timestamps:
  • 1. 1. Real-time data: The difference between the time record in the log and the current server time is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and the server received the log at 12:05:00, September 25, 2014 (UTC), the server processes the log as real-time data. This type of log is usually generated in common scenarios.
  • 2. 2. Historical data: The difference between the time record in the log and the current server time is within the interval \\[-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and the server received the log at 12:05:00, September 25, 2014 (UTC), the server processes the log as historical data. This type of log is usually generated in data backfill scenarios. After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second. *
  • @param request GetLogsV2Request
  • @param headers GetLogsV2Headers
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetLogsV2Response

func (*Client) GetLogsWithOptions

func (client *Client) GetLogsWithOptions(project *string, logstore *string, request *GetLogsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetLogsResponse, _err error)

*

  • ### Usage notes
  • > Simple Log Service allows you to create a Scheduled SQL job. For more information, see [Create a Scheduled SQL job](~~286457~~).
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * If the number of logs in a Logstore significantly changes, Simple Log Service cannot forecast the number of times that you must call this operation to obtain the complete result. In this case, you must check the value of the x-log-progress parameter in the response of each request and determine whether to call this operation one more time to obtain the complete result. Each time you call this operation, the same number of charge units (CUs) are consumed.
  • * After a log is written to a Logstore, you can call the GetHistograms or GetLogs operation to query the log after a short latency. The latency of a query varies based on the type of the log. Simple Log Service classifies logs into the following types based on the log time:
  • Real-time data: The difference between the time record in a log and the current time on Simple Log Service is within the interval (-180 seconds,900 seconds]. For example, if a log was generated at 12:03:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as real-time data. This type of log is usually generated in common scenarios.
  • * Historical data: The difference between the time record in a log and the current time on Simple Log Service is within the interval \\[-604,800 seconds,-180 seconds). For example, if a log was generated at 12:00:00, September 25, 2014 (UTC) and Simple Log Service received the log at 12:05:00, September 25, 2014 (UTC), Simple Log Service processes the log as historical data. This type of log is usually generated in data backfill scenarios.
  • After real-time data is written to a Logstore, the data can be queried with a maximum latency of 3 seconds. For 99.9% of queries, the latency is no more than 1 second.
  • > Simple Log Service calculates the difference between the log time that is specified by the \\__time\\_\\_ field and the receiving time that is specified by the \\__tag\\_\\_:**receive_time** field for each log. The receiving time indicates the time at which Simple Log Service receives the log. If the difference is within the interval (-180 seconds,900 seconds], Simple Log Service processes the log as real-time data. If the difference is within the interval \\[-604,800 seconds,-180 seconds), Simple Log Service processes the log as historical data.
  • * Simple Log Service provides examples on how to call the GetLogs operation by using Simple Log Service SDK for Java and Simple Log Service SDK for Python. For more information, see [Examples of calling the GetLogs operation by using Simple Log Service SDK for Java](~~407683~~) and [Examples of calling the GetLogs operation by using Simple Log Service SDK for Python](~~407684~~). *
  • @param request GetLogsRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetLogsResponse

func (*Client) GetLogtailPipelineConfig

func (client *Client) GetLogtailPipelineConfig(project *string, configName *string) (_result *GetLogtailPipelineConfigResponse, _err error)

*

  • The UK (London) region is supported. Supported regions are constantly updated. *
  • @return GetLogtailPipelineConfigResponse

func (*Client) GetLogtailPipelineConfigWithOptions

func (client *Client) GetLogtailPipelineConfigWithOptions(project *string, configName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetLogtailPipelineConfigResponse, _err error)

*

  • The UK (London) region is supported. Supported regions are constantly updated. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetLogtailPipelineConfigResponse

func (*Client) GetMLServiceResults added in v5.1.0

func (client *Client) GetMLServiceResults(serviceName *string, request *GetMLServiceResultsRequest) (_result *GetMLServiceResultsResponse, _err error)

func (*Client) GetMLServiceResultsWithOptions added in v5.1.0

func (client *Client) GetMLServiceResultsWithOptions(serviceName *string, request *GetMLServiceResultsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetMLServiceResultsResponse, _err error)

func (*Client) GetMachineGroup

func (client *Client) GetMachineGroup(project *string, machineGroup *string) (_result *GetMachineGroupResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return GetMachineGroupResponse

func (*Client) GetMachineGroupWithOptions

func (client *Client) GetMachineGroupWithOptions(project *string, machineGroup *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetMachineGroupResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetMachineGroupResponse

func (*Client) GetProject

func (client *Client) GetProject(project *string) (_result *GetProjectResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return GetProjectResponse

func (*Client) GetProjectLogs

func (client *Client) GetProjectLogs(project *string, request *GetProjectLogsRequest) (_result *GetProjectLogsResponse, _err error)

*

  • ### Usage notes
  • * You can use the query parameter to specify a standard SQL statement.
  • * You must specify a project in the domain name of the request.
  • * You must specify a Logstore in the FROM clause of the SQL statement. A Logstore can be used as an SQL table.
  • * You must specify a time range in the SQL statement by using the \\__date\\_\\_ parameter or \\__time\\_\\_ parameter. The value of the \\__date\\_\\_ parameter is a timestamp, and the value of the \\__time\\_\\_ parameter is an integer. The unit of the \\__time\\_\\_ parameter is seconds.
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request GetProjectLogsRequest
  • @return GetProjectLogsResponse

func (*Client) GetProjectLogsWithOptions

func (client *Client) GetProjectLogsWithOptions(project *string, request *GetProjectLogsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetProjectLogsResponse, _err error)

*

  • ### Usage notes
  • * You can use the query parameter to specify a standard SQL statement.
  • * You must specify a project in the domain name of the request.
  • * You must specify a Logstore in the FROM clause of the SQL statement. A Logstore can be used as an SQL table.
  • * You must specify a time range in the SQL statement by using the \\__date\\_\\_ parameter or \\__time\\_\\_ parameter. The value of the \\__date\\_\\_ parameter is a timestamp, and the value of the \\__time\\_\\_ parameter is an integer. The unit of the \\__time\\_\\_ parameter is seconds.
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request GetProjectLogsRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetProjectLogsResponse

func (*Client) GetProjectPolicy

func (client *Client) GetProjectPolicy(project *string) (_result *GetProjectPolicyResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return GetProjectPolicyResponse

func (*Client) GetProjectPolicyWithOptions

func (client *Client) GetProjectPolicyWithOptions(project *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetProjectPolicyResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetProjectPolicyResponse

func (*Client) GetProjectWithOptions

func (client *Client) GetProjectWithOptions(project *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetProjectResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetProjectResponse

func (*Client) GetSavedSearch

func (client *Client) GetSavedSearch(project *string, savedsearchName *string) (_result *GetSavedSearchResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return GetSavedSearchResponse

func (*Client) GetSavedSearchWithOptions

func (client *Client) GetSavedSearchWithOptions(project *string, savedsearchName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetSavedSearchResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetSavedSearchResponse

func (*Client) GetShipperStatus

func (client *Client) GetShipperStatus(project *string, logstore *string, shipperName *string, request *GetShipperStatusRequest) (_result *GetShipperStatusResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request GetShipperStatusRequest
  • @return GetShipperStatusResponse

func (*Client) GetShipperStatusWithOptions

func (client *Client) GetShipperStatusWithOptions(project *string, logstore *string, shipperName *string, request *GetShipperStatusRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetShipperStatusResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request GetShipperStatusRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return GetShipperStatusResponse

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) ListAlerts added in v5.4.0

func (client *Client) ListAlerts(project *string, request *ListAlertsRequest) (_result *ListAlertsResponse, _err error)

func (*Client) ListAlertsWithOptions added in v5.4.0

func (client *Client) ListAlertsWithOptions(project *string, request *ListAlertsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListAlertsResponse, _err error)

func (*Client) ListAnnotationData

func (client *Client) ListAnnotationData(datasetId *string, request *ListAnnotationDataRequest) (_result *ListAnnotationDataResponse, _err error)

func (*Client) ListAnnotationDataSets

func (client *Client) ListAnnotationDataSets(request *ListAnnotationDataSetsRequest) (_result *ListAnnotationDataSetsResponse, _err error)

func (*Client) ListAnnotationDataSetsWithOptions

func (client *Client) ListAnnotationDataSetsWithOptions(request *ListAnnotationDataSetsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListAnnotationDataSetsResponse, _err error)

func (*Client) ListAnnotationDataWithOptions

func (client *Client) ListAnnotationDataWithOptions(datasetId *string, request *ListAnnotationDataRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListAnnotationDataResponse, _err error)

func (*Client) ListAnnotationLabels

func (client *Client) ListAnnotationLabels(request *ListAnnotationLabelsRequest) (_result *ListAnnotationLabelsResponse, _err error)

func (*Client) ListAnnotationLabelsWithOptions

func (client *Client) ListAnnotationLabelsWithOptions(request *ListAnnotationLabelsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListAnnotationLabelsResponse, _err error)

func (*Client) ListCollectionPolicies

func (client *Client) ListCollectionPolicies(request *ListCollectionPoliciesRequest) (_result *ListCollectionPoliciesResponse, _err error)

func (*Client) ListCollectionPoliciesWithOptions

func (client *Client) ListCollectionPoliciesWithOptions(tmpReq *ListCollectionPoliciesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListCollectionPoliciesResponse, _err error)

func (*Client) ListConfig

func (client *Client) ListConfig(project *string, request *ListConfigRequest) (_result *ListConfigResponse, _err error)

*

  • ### [](#)Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * An AccessKey pair is created and obtained. For more information, see [AccessKey pair](~~29009~~).
  • The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](~~47664~~).
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](~~48984~~). *
  • @param request ListConfigRequest
  • @return ListConfigResponse

func (*Client) ListConfigWithOptions

func (client *Client) ListConfigWithOptions(project *string, request *ListConfigRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListConfigResponse, _err error)

*

  • ### [](#)Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * An AccessKey pair is created and obtained. For more information, see [AccessKey pair](~~29009~~).
  • The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](~~47664~~).
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](~~48984~~). *
  • @param request ListConfigRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListConfigResponse

func (*Client) ListConsumerGroup

func (client *Client) ListConsumerGroup(project *string, logstore *string) (_result *ListConsumerGroupResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return ListConsumerGroupResponse

func (*Client) ListConsumerGroupWithOptions

func (client *Client) ListConsumerGroupWithOptions(project *string, logstore *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListConsumerGroupResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListConsumerGroupResponse

func (*Client) ListDashboard

func (client *Client) ListDashboard(project *string, request *ListDashboardRequest) (_result *ListDashboardResponse, _err error)

*

  • ### [](#)Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * An AccessKey pair is created and obtained. For more information, see [AccessKey pair](~~29009~~).
  • The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](~~47664~~).
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](~~48984~~). *
  • @param request ListDashboardRequest
  • @return ListDashboardResponse

func (*Client) ListDashboardWithOptions

func (client *Client) ListDashboardWithOptions(project *string, request *ListDashboardRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListDashboardResponse, _err error)

*

  • ### [](#)Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * An AccessKey pair is created and obtained. For more information, see [AccessKey pair](~~29009~~).
  • The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](~~47664~~).
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](~~48984~~). *
  • @param request ListDashboardRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListDashboardResponse

func (*Client) ListDomains

func (client *Client) ListDomains(project *string, request *ListDomainsRequest) (_result *ListDomainsResponse, _err error)

*

  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * Only one custom domain name can be bound to each project. *
  • @param request ListDomainsRequest
  • @return ListDomainsResponse

func (*Client) ListDomainsWithOptions

func (client *Client) ListDomainsWithOptions(project *string, request *ListDomainsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListDomainsResponse, _err error)

*

  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * Only one custom domain name can be bound to each project. *
  • @param request ListDomainsRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListDomainsResponse

func (*Client) ListExternalStore

func (client *Client) ListExternalStore(project *string, request *ListExternalStoreRequest) (_result *ListExternalStoreResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request ListExternalStoreRequest
  • @return ListExternalStoreResponse

func (*Client) ListExternalStoreWithOptions

func (client *Client) ListExternalStoreWithOptions(project *string, request *ListExternalStoreRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListExternalStoreResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request ListExternalStoreRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListExternalStoreResponse

func (*Client) ListLogStores

func (client *Client) ListLogStores(project *string, request *ListLogStoresRequest) (_result *ListLogStoresResponse, _err error)

*

  • ### Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * An AccessKey pair is created and obtained. For more information, see [AccessKey pair](~~29009~~).
  • The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](~~47664~~).
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](~~48984~~).
  • ### Authentication resources
  • The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
  • |Action|Resource|
  • |:---|:---|
  • |`log:ListLogStores`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/*`| *
  • @param request ListLogStoresRequest
  • @return ListLogStoresResponse

func (*Client) ListLogStoresWithOptions

func (client *Client) ListLogStoresWithOptions(project *string, request *ListLogStoresRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListLogStoresResponse, _err error)

*

  • ### Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * An AccessKey pair is created and obtained. For more information, see [AccessKey pair](~~29009~~).
  • The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](~~47664~~).
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](~~48984~~).
  • ### Authentication resources
  • The following table describes the authorization information that is required for this operation. You can add the information to the Action element of a RAM policy statement to grant a RAM user or a RAM role the permissions to call this operation.
  • |Action|Resource|
  • |:---|:---|
  • |`log:ListLogStores`|`acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/*`| *
  • @param request ListLogStoresRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListLogStoresResponse

func (*Client) ListLogtailPipelineConfig

func (client *Client) ListLogtailPipelineConfig(project *string, request *ListLogtailPipelineConfigRequest) (_result *ListLogtailPipelineConfigResponse, _err error)

*

  • The UK (London) region is supported. Supported regions are constantly updated. *
  • @param request ListLogtailPipelineConfigRequest
  • @return ListLogtailPipelineConfigResponse

func (*Client) ListLogtailPipelineConfigWithOptions

func (client *Client) ListLogtailPipelineConfigWithOptions(project *string, request *ListLogtailPipelineConfigRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListLogtailPipelineConfigResponse, _err error)

*

  • The UK (London) region is supported. Supported regions are constantly updated. *
  • @param request ListLogtailPipelineConfigRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListLogtailPipelineConfigResponse

func (*Client) ListMachineGroup

func (client *Client) ListMachineGroup(project *string, request *ListMachineGroupRequest) (_result *ListMachineGroupResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request ListMachineGroupRequest
  • @return ListMachineGroupResponse

func (*Client) ListMachineGroupWithOptions

func (client *Client) ListMachineGroupWithOptions(project *string, request *ListMachineGroupRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListMachineGroupResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request ListMachineGroupRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListMachineGroupResponse

func (*Client) ListMachines

func (client *Client) ListMachines(project *string, machineGroup *string, request *ListMachinesRequest) (_result *ListMachinesResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request ListMachinesRequest
  • @return ListMachinesResponse

func (*Client) ListMachinesWithOptions

func (client *Client) ListMachinesWithOptions(project *string, machineGroup *string, request *ListMachinesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListMachinesResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request ListMachinesRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListMachinesResponse

func (*Client) ListProject

func (client *Client) ListProject(request *ListProjectRequest) (_result *ListProjectResponse, _err error)

*

  • ### [](#)Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request ListProjectRequest
  • @return ListProjectResponse

func (*Client) ListProjectWithOptions

func (client *Client) ListProjectWithOptions(request *ListProjectRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListProjectResponse, _err error)

*

  • ### [](#)Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request ListProjectRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListProjectResponse

func (*Client) ListSavedSearch

func (client *Client) ListSavedSearch(project *string, request *ListSavedSearchRequest) (_result *ListSavedSearchResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request ListSavedSearchRequest
  • @return ListSavedSearchResponse

func (*Client) ListSavedSearchWithOptions

func (client *Client) ListSavedSearchWithOptions(project *string, request *ListSavedSearchRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListSavedSearchResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request ListSavedSearchRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListSavedSearchResponse

func (*Client) ListShards

func (client *Client) ListShards(project *string, logstore *string) (_result *ListShardsResponse, _err error)

func (*Client) ListShardsWithOptions

func (client *Client) ListShardsWithOptions(project *string, logstore *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListShardsResponse, _err error)

func (*Client) ListShipper

func (client *Client) ListShipper(project *string, logstore *string) (_result *ListShipperResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return ListShipperResponse

func (*Client) ListShipperWithOptions

func (client *Client) ListShipperWithOptions(project *string, logstore *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListShipperResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListShipperResponse

func (*Client) ListTagResources

func (client *Client) ListTagResources(request *ListTagResourcesRequest) (_result *ListTagResourcesResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request ListTagResourcesRequest
  • @return ListTagResourcesResponse

func (*Client) ListTagResourcesWithOptions

func (client *Client) ListTagResourcesWithOptions(tmpReq *ListTagResourcesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListTagResourcesResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param tmpReq ListTagResourcesRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return ListTagResourcesResponse

func (*Client) PutAnnotationData

func (client *Client) PutAnnotationData(datasetId *string, request *PutAnnotationDataRequest) (_result *PutAnnotationDataResponse, _err error)

func (*Client) PutAnnotationDataWithOptions

func (client *Client) PutAnnotationDataWithOptions(datasetId *string, request *PutAnnotationDataRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *PutAnnotationDataResponse, _err error)

func (*Client) PutProjectPolicy

func (client *Client) PutProjectPolicy(project *string, request *PutProjectPolicyRequest) (_result *PutProjectPolicyResponse, _err error)

*

  • ### Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * Alibaba Cloud Simple Log Service allows you to configure a project policy to authorize other users to access the specified Log Service resources.
  • * You must configure a project policy based on policy syntax. Before you configure a project policy, you must be familiar with the Action, Resource, and Condition parameters. For more information, see [RAM](~~128139~~).
  • * If you set the Principal element to an asterisk (\\*) and do not configure the Condition element when you configure a project policy, the policy applies to all users except for the project owner. If you set the Principal element to an asterisk (\\*) and configure the Condition element when you configure a project policy, the policy applies to all users including the project owner.
  • * You can configure multiple project policies for a project. The total size of the policies cannot exceed 16 KB. *
  • @param request PutProjectPolicyRequest
  • @return PutProjectPolicyResponse

func (*Client) PutProjectPolicyWithOptions

func (client *Client) PutProjectPolicyWithOptions(project *string, request *PutProjectPolicyRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *PutProjectPolicyResponse, _err error)

*

  • ### Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * Alibaba Cloud Simple Log Service allows you to configure a project policy to authorize other users to access the specified Log Service resources.
  • * You must configure a project policy based on policy syntax. Before you configure a project policy, you must be familiar with the Action, Resource, and Condition parameters. For more information, see [RAM](~~128139~~).
  • * If you set the Principal element to an asterisk (\\*) and do not configure the Condition element when you configure a project policy, the policy applies to all users except for the project owner. If you set the Principal element to an asterisk (\\*) and configure the Condition element when you configure a project policy, the policy applies to all users including the project owner.
  • * You can configure multiple project policies for a project. The total size of the policies cannot exceed 16 KB. *
  • @param request PutProjectPolicyRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return PutProjectPolicyResponse

func (*Client) PutProjectTransferAcceleration added in v5.2.0

func (client *Client) PutProjectTransferAcceleration(project *string, request *PutProjectTransferAccelerationRequest) (_result *PutProjectTransferAccelerationResponse, _err error)

func (*Client) PutProjectTransferAccelerationWithOptions added in v5.2.0

func (client *Client) PutProjectTransferAccelerationWithOptions(project *string, request *PutProjectTransferAccelerationRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *PutProjectTransferAccelerationResponse, _err error)

func (*Client) PutWebtracking

func (client *Client) PutWebtracking(project *string, logstoreName *string, request *PutWebtrackingRequest) (_result *PutWebtrackingResponse, _err error)

*

  • ### [](#)Usage notes
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong, the region of the project, and the name of the Logstore to which the logs belong. For more information, see [Manage a project](~~48984~~) and [Manage a Logstore](~~48990~~).
  • * You can call this operation to collect logs from web pages or clients.
  • * If you use web tracking to collect logs and you do not call this operation, you can send only one log to Simple Log Service in a request. For more information, see [Use web tracking to collect logs](~~31752~~).
  • * If you want to collect a large amount of log data, you can call this operation to send multiple logs to Simple Log Service in one request.
  • * Before you can call this operation to send logs to a Logstore, you must enable web tracking for the Logstore. For more information, see [Use web tracking to collect logs](~~31752~~).
  • * You cannot call this operation to send the logs of multiple topics to Simple Log Service at a time.
  • * If you call this operation, anonymous users from the Internet are granted the write permissions on the Logstore. This may generate dirty data because AccessKey pair-based authentication is not performed. *
  • @param request PutWebtrackingRequest
  • @return PutWebtrackingResponse

func (*Client) PutWebtrackingWithOptions

func (client *Client) PutWebtrackingWithOptions(project *string, logstoreName *string, request *PutWebtrackingRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *PutWebtrackingResponse, _err error)

*

  • ### [](#)Usage notes
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong, the region of the project, and the name of the Logstore to which the logs belong. For more information, see [Manage a project](~~48984~~) and [Manage a Logstore](~~48990~~).
  • * You can call this operation to collect logs from web pages or clients.
  • * If you use web tracking to collect logs and you do not call this operation, you can send only one log to Simple Log Service in a request. For more information, see [Use web tracking to collect logs](~~31752~~).
  • * If you want to collect a large amount of log data, you can call this operation to send multiple logs to Simple Log Service in one request.
  • * Before you can call this operation to send logs to a Logstore, you must enable web tracking for the Logstore. For more information, see [Use web tracking to collect logs](~~31752~~).
  • * You cannot call this operation to send the logs of multiple topics to Simple Log Service at a time.
  • * If you call this operation, anonymous users from the Internet are granted the write permissions on the Logstore. This may generate dirty data because AccessKey pair-based authentication is not performed. *
  • @param request PutWebtrackingRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return PutWebtrackingResponse

func (*Client) QueryMLServiceResults

func (client *Client) QueryMLServiceResults(serviceName *string, request *QueryMLServiceResultsRequest) (_result *QueryMLServiceResultsResponse, _err error)

*

  • @deprecated *
  • @param request QueryMLServiceResultsRequest
  • @return QueryMLServiceResultsResponse

Deprecated

func (*Client) QueryMLServiceResultsWithOptions

func (client *Client) QueryMLServiceResultsWithOptions(serviceName *string, request *QueryMLServiceResultsRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *QueryMLServiceResultsResponse, _err error)

*

  • @deprecated *
  • @param request QueryMLServiceResultsRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return QueryMLServiceResultsResponse

Deprecated

func (*Client) RemoveConfigFromMachineGroup

func (client *Client) RemoveConfigFromMachineGroup(project *string, machineGroup *string, configName *string) (_result *RemoveConfigFromMachineGroupResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @return RemoveConfigFromMachineGroupResponse

func (*Client) RemoveConfigFromMachineGroupWithOptions

func (client *Client) RemoveConfigFromMachineGroupWithOptions(project *string, machineGroup *string, configName *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *RemoveConfigFromMachineGroupResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return RemoveConfigFromMachineGroupResponse

func (*Client) SplitShard

func (client *Client) SplitShard(project *string, logstore *string, shard *string, request *SplitShardRequest) (_result *SplitShardResponse, _err error)

*

  • ### Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * Each shard has an MD5 hash range, and each range is a left-closed, right-open interval. The interval is in the `[BeginKey,EndKey)` format. A shard can be in the readwrite or readonly state. You can split a shard and merge shards. For more information, see Shard(~~28976~~). *
  • @param request SplitShardRequest
  • @return SplitShardResponse

func (*Client) SplitShardWithOptions

func (client *Client) SplitShardWithOptions(project *string, logstore *string, shard *string, request *SplitShardRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *SplitShardResponse, _err error)

*

  • ### Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * Each shard has an MD5 hash range, and each range is a left-closed, right-open interval. The interval is in the `[BeginKey,EndKey)` format. A shard can be in the readwrite or readonly state. You can split a shard and merge shards. For more information, see Shard(~~28976~~). *
  • @param request SplitShardRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return SplitShardResponse

func (*Client) TagResources

func (client *Client) TagResources(request *TagResourcesRequest) (_result *TagResourcesResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Log Service endpoint. You must specify a project in Host. *
  • @param request TagResourcesRequest
  • @return TagResourcesResponse

func (*Client) TagResourcesWithOptions

func (client *Client) TagResourcesWithOptions(request *TagResourcesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *TagResourcesResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Log Service endpoint. You must specify a project in Host. *
  • @param request TagResourcesRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return TagResourcesResponse

func (*Client) UntagResources

func (client *Client) UntagResources(request *UntagResourcesRequest) (_result *UntagResourcesResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Log Service endpoint. You must specify a project in Host. *
  • @param request UntagResourcesRequest
  • @return UntagResourcesResponse

func (*Client) UntagResourcesWithOptions

func (client *Client) UntagResourcesWithOptions(request *UntagResourcesRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UntagResourcesResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Log Service endpoint. You must specify a project in Host. *
  • @param request UntagResourcesRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return UntagResourcesResponse

func (*Client) UpdateAlert added in v5.4.0

func (client *Client) UpdateAlert(project *string, alertName *string, request *UpdateAlertRequest) (_result *UpdateAlertResponse, _err error)

func (*Client) UpdateAlertWithOptions added in v5.4.0

func (client *Client) UpdateAlertWithOptions(project *string, alertName *string, request *UpdateAlertRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateAlertResponse, _err error)

func (*Client) UpdateAnnotationDataSet

func (client *Client) UpdateAnnotationDataSet(datasetId *string, request *UpdateAnnotationDataSetRequest) (_result *UpdateAnnotationDataSetResponse, _err error)

func (*Client) UpdateAnnotationDataSetWithOptions

func (client *Client) UpdateAnnotationDataSetWithOptions(datasetId *string, request *UpdateAnnotationDataSetRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateAnnotationDataSetResponse, _err error)

func (*Client) UpdateAnnotationLabel

func (client *Client) UpdateAnnotationLabel(request *UpdateAnnotationLabelRequest) (_result *UpdateAnnotationLabelResponse, _err error)

*

  • You can update only the names of the tags in a tag set. *
  • @param request UpdateAnnotationLabelRequest
  • @return UpdateAnnotationLabelResponse

func (*Client) UpdateAnnotationLabelWithOptions

func (client *Client) UpdateAnnotationLabelWithOptions(request *UpdateAnnotationLabelRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateAnnotationLabelResponse, _err error)

*

  • You can update only the names of the tags in a tag set. *
  • @param request UpdateAnnotationLabelRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateAnnotationLabelResponse

func (*Client) UpdateConfig

func (client *Client) UpdateConfig(project *string, configName *string, request *UpdateConfigRequest) (_result *UpdateConfigResponse, _err error)

*

  • ### [](#)Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * After you update a Logtail configuration that is applied to a machine group, the new configuration immediately takes effect.
  • * An AccessKey pair is created and obtained. For more information, see [AccessKey pair](~~29009~~).
  • The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](~~47664~~).
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](~~48984~~).
  • * The Logtail configuration is planned out. For more information, see [Logtail configurations](~~29058~~). *
  • @param request UpdateConfigRequest
  • @return UpdateConfigResponse

func (*Client) UpdateConfigWithOptions

func (client *Client) UpdateConfigWithOptions(project *string, configName *string, request *UpdateConfigRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateConfigResponse, _err error)

*

  • ### [](#)Usage notes
  • * Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
  • * After you update a Logtail configuration that is applied to a machine group, the new configuration immediately takes effect.
  • * An AccessKey pair is created and obtained. For more information, see [AccessKey pair](~~29009~~).
  • The AccessKey pair of an Alibaba Cloud account has permissions on all API operations. Using these credentials to perform operations in Simple Log Service is a high-risk operation. We recommend that you use a RAM user to call API operations or perform routine O\\&M. To create a RAM user, log on to the RAM console. Make sure that the RAM user has the management permissions on Simple Log Service resources. For more information, see [Create a RAM user and authorize the RAM user to access Simple Log Service](~~47664~~).
  • * The information that is required to query logs is obtained. The information includes the name of the project to which the logs belong and the region of the project. For more information, see [Manage a project](~~48984~~).
  • * The Logtail configuration is planned out. For more information, see [Logtail configurations](~~29058~~). *
  • @param request UpdateConfigRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateConfigResponse

func (*Client) UpdateConsumerGroup

func (client *Client) UpdateConsumerGroup(project *string, logstore *string, consumerGroup *string, request *UpdateConsumerGroupRequest) (_result *UpdateConsumerGroupResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request UpdateConsumerGroupRequest
  • @return UpdateConsumerGroupResponse

func (*Client) UpdateConsumerGroupWithOptions

func (client *Client) UpdateConsumerGroupWithOptions(project *string, logstore *string, consumerGroup *string, request *UpdateConsumerGroupRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateConsumerGroupResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request UpdateConsumerGroupRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateConsumerGroupResponse

func (*Client) UpdateDashboard

func (client *Client) UpdateDashboard(project *string, dashboardName *string, request *UpdateDashboardRequest) (_result *UpdateDashboardResponse, _err error)

*

  • ### [](#)Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request UpdateDashboardRequest
  • @return UpdateDashboardResponse

func (*Client) UpdateDashboardWithOptions

func (client *Client) UpdateDashboardWithOptions(project *string, dashboardName *string, request *UpdateDashboardRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateDashboardResponse, _err error)

*

  • ### [](#)Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request UpdateDashboardRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateDashboardResponse

func (*Client) UpdateIndex

func (client *Client) UpdateIndex(project *string, logstore *string, request *UpdateIndexRequest) (_result *UpdateIndexResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Log Service endpoint. You must specify a project in Host. *
  • @param request UpdateIndexRequest
  • @return UpdateIndexResponse

func (*Client) UpdateIndexWithOptions

func (client *Client) UpdateIndexWithOptions(project *string, logstore *string, request *UpdateIndexRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateIndexResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Log Service endpoint. You must specify a project in Host. *
  • @param request UpdateIndexRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateIndexResponse

func (*Client) UpdateLogStore

func (client *Client) UpdateLogStore(project *string, logstore *string, request *UpdateLogStoreRequest) (_result *UpdateLogStoreResponse, _err error)

*

  • ### Usage notes
  • * Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
  • * You can call the UpdateLogStore operation to change only the time-to-live (TTL) attribute. *
  • @param request UpdateLogStoreRequest
  • @return UpdateLogStoreResponse

func (*Client) UpdateLogStoreMeteringMode

func (client *Client) UpdateLogStoreMeteringMode(project *string, logstore *string, request *UpdateLogStoreMeteringModeRequest) (_result *UpdateLogStoreMeteringModeResponse, _err error)

func (*Client) UpdateLogStoreMeteringModeWithOptions

func (client *Client) UpdateLogStoreMeteringModeWithOptions(project *string, logstore *string, request *UpdateLogStoreMeteringModeRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateLogStoreMeteringModeResponse, _err error)

func (*Client) UpdateLogStoreWithOptions

func (client *Client) UpdateLogStoreWithOptions(project *string, logstore *string, request *UpdateLogStoreRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateLogStoreResponse, _err error)

*

  • ### Usage notes
  • * Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
  • * You can call the UpdateLogStore operation to change only the time-to-live (TTL) attribute. *
  • @param request UpdateLogStoreRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateLogStoreResponse

func (*Client) UpdateLogging

func (client *Client) UpdateLogging(project *string, request *UpdateLoggingRequest) (_result *UpdateLoggingResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request UpdateLoggingRequest
  • @return UpdateLoggingResponse

func (*Client) UpdateLoggingWithOptions

func (client *Client) UpdateLoggingWithOptions(project *string, request *UpdateLoggingRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateLoggingResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request UpdateLoggingRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateLoggingResponse

func (*Client) UpdateLogtailPipelineConfig

func (client *Client) UpdateLogtailPipelineConfig(project *string, configName *string, request *UpdateLogtailPipelineConfigRequest) (_result *UpdateLogtailPipelineConfigResponse, _err error)

*

  • The UK (London) region is supported. Supported regions are constantly updated. *
  • @param request UpdateLogtailPipelineConfigRequest
  • @return UpdateLogtailPipelineConfigResponse

func (*Client) UpdateLogtailPipelineConfigWithOptions

func (client *Client) UpdateLogtailPipelineConfigWithOptions(project *string, configName *string, request *UpdateLogtailPipelineConfigRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateLogtailPipelineConfigResponse, _err error)

*

  • The UK (London) region is supported. Supported regions are constantly updated. *
  • @param request UpdateLogtailPipelineConfigRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateLogtailPipelineConfigResponse

func (*Client) UpdateMachineGroup

func (client *Client) UpdateMachineGroup(project *string, groupName *string, request *UpdateMachineGroupRequest) (_result *UpdateMachineGroupResponse, _err error)

*

  • Host consists of a project name and a Log Service endpoint. You must specify a project in Host. *
  • @param request UpdateMachineGroupRequest
  • @return UpdateMachineGroupResponse

func (*Client) UpdateMachineGroupMachine

func (client *Client) UpdateMachineGroupMachine(project *string, machineGroup *string, request *UpdateMachineGroupMachineRequest) (_result *UpdateMachineGroupMachineResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request UpdateMachineGroupMachineRequest
  • @return UpdateMachineGroupMachineResponse

func (*Client) UpdateMachineGroupMachineWithOptions

func (client *Client) UpdateMachineGroupMachineWithOptions(project *string, machineGroup *string, request *UpdateMachineGroupMachineRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateMachineGroupMachineResponse, _err error)

*

  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request UpdateMachineGroupMachineRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateMachineGroupMachineResponse

func (*Client) UpdateMachineGroupWithOptions

func (client *Client) UpdateMachineGroupWithOptions(project *string, groupName *string, request *UpdateMachineGroupRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateMachineGroupResponse, _err error)

*

  • Host consists of a project name and a Log Service endpoint. You must specify a project in Host. *
  • @param request UpdateMachineGroupRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateMachineGroupResponse

func (*Client) UpdateOssExternalStore

func (client *Client) UpdateOssExternalStore(project *string, externalStoreName *string, request *UpdateOssExternalStoreRequest) (_result *UpdateOssExternalStoreResponse, _err error)

*

  • ### [](#)Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request UpdateOssExternalStoreRequest
  • @return UpdateOssExternalStoreResponse

func (*Client) UpdateOssExternalStoreWithOptions

func (client *Client) UpdateOssExternalStoreWithOptions(project *string, externalStoreName *string, request *UpdateOssExternalStoreRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateOssExternalStoreResponse, _err error)

*

  • ### [](#)Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request UpdateOssExternalStoreRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateOssExternalStoreResponse

func (*Client) UpdateProject

func (client *Client) UpdateProject(project *string, request *UpdateProjectRequest) (_result *UpdateProjectResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request UpdateProjectRequest
  • @return UpdateProjectResponse

func (*Client) UpdateProjectWithOptions

func (client *Client) UpdateProjectWithOptions(project *string, request *UpdateProjectRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateProjectResponse, _err error)

*

  • ### Usage notes
  • Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host. *
  • @param request UpdateProjectRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateProjectResponse

func (*Client) UpdateRdsExternalStore

func (client *Client) UpdateRdsExternalStore(project *string, externalStoreName *string, request *UpdateRdsExternalStoreRequest) (_result *UpdateRdsExternalStoreResponse, _err error)

*

  • Host consists of a project name and a Log Service endpoint. You must specify a project in Host. *
  • @param request UpdateRdsExternalStoreRequest
  • @return UpdateRdsExternalStoreResponse

func (*Client) UpdateRdsExternalStoreWithOptions

func (client *Client) UpdateRdsExternalStoreWithOptions(project *string, externalStoreName *string, request *UpdateRdsExternalStoreRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateRdsExternalStoreResponse, _err error)

*

  • Host consists of a project name and a Log Service endpoint. You must specify a project in Host. *
  • @param request UpdateRdsExternalStoreRequest
  • @param headers map
  • @param runtime runtime options for this request RuntimeOptions
  • @return UpdateRdsExternalStoreResponse

func (*Client) UpdateSavedSearch

func (client *Client) UpdateSavedSearch(project *string, savedsearchName *string, request *UpdateSavedSearchRequest) (_result *UpdateSavedSearchResponse, _err error)

func (*Client) UpdateSavedSearchWithOptions

func (client *Client) UpdateSavedSearchWithOptions(project *string, savedsearchName *string, request *UpdateSavedSearchRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpdateSavedSearchResponse, _err error)

func (*Client) UpsertCollectionPolicy

func (client *Client) UpsertCollectionPolicy(request *UpsertCollectionPolicyRequest) (_result *UpsertCollectionPolicyResponse, _err error)

func (*Client) UpsertCollectionPolicyWithOptions

func (client *Client) UpsertCollectionPolicyWithOptions(request *UpsertCollectionPolicyRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *UpsertCollectionPolicyResponse, _err error)

type ConditionConfiguration added in v5.4.0

type ConditionConfiguration struct {
	Condition      *string `json:"condition,omitempty" xml:"condition,omitempty"`
	CountCondition *string `json:"countCondition,omitempty" xml:"countCondition,omitempty"`
}

func (ConditionConfiguration) GoString added in v5.4.0

func (s ConditionConfiguration) GoString() string

func (*ConditionConfiguration) SetCondition added in v5.4.0

func (*ConditionConfiguration) SetCountCondition added in v5.4.0

func (s *ConditionConfiguration) SetCountCondition(v string) *ConditionConfiguration

func (ConditionConfiguration) String added in v5.4.0

func (s ConditionConfiguration) String() string

type ConsumerGroup

type ConsumerGroup struct {
	Name    *string `json:"name,omitempty" xml:"name,omitempty"`
	Order   *bool   `json:"order,omitempty" xml:"order,omitempty"`
	Timeout *int32  `json:"timeout,omitempty" xml:"timeout,omitempty"`
}

func (ConsumerGroup) GoString

func (s ConsumerGroup) GoString() string

func (*ConsumerGroup) SetName

func (s *ConsumerGroup) SetName(v string) *ConsumerGroup

func (*ConsumerGroup) SetOrder

func (s *ConsumerGroup) SetOrder(v bool) *ConsumerGroup

func (*ConsumerGroup) SetTimeout

func (s *ConsumerGroup) SetTimeout(v int32) *ConsumerGroup

func (ConsumerGroup) String

func (s ConsumerGroup) String() string

type ConsumerGroupHeartBeatRequest

type ConsumerGroupHeartBeatRequest struct {
	// The IDs of shards whose data is being consumed.
	Body []*int32 `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"`
	// The consumer.
	Consumer *string `json:"consumer,omitempty" xml:"consumer,omitempty"`
}

func (ConsumerGroupHeartBeatRequest) GoString

func (*ConsumerGroupHeartBeatRequest) SetBody

func (*ConsumerGroupHeartBeatRequest) SetConsumer

func (ConsumerGroupHeartBeatRequest) String

type ConsumerGroupHeartBeatResponse

type ConsumerGroupHeartBeatResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       []*int32           `json:"body,omitempty" xml:"body,omitempty" require:"true" type:"Repeated"`
}

func (ConsumerGroupHeartBeatResponse) GoString

func (*ConsumerGroupHeartBeatResponse) SetBody

func (*ConsumerGroupHeartBeatResponse) SetHeaders

func (*ConsumerGroupHeartBeatResponse) SetStatusCode

func (ConsumerGroupHeartBeatResponse) String

type CreateAlertReq added in v5.4.0

type CreateAlertReq struct {
	Configuration *AlertConfiguration `json:"configuration,omitempty" xml:"configuration,omitempty"`
	Description   *string             `json:"description,omitempty" xml:"description,omitempty"`
	DisplayName   *string             `json:"displayName,omitempty" xml:"displayName,omitempty"`
	Name          *string             `json:"name,omitempty" xml:"name,omitempty"`
	Schedule      *Schedule           `json:"schedule,omitempty" xml:"schedule,omitempty"`
}

func (CreateAlertReq) GoString added in v5.4.0

func (s CreateAlertReq) GoString() string

func (*CreateAlertReq) SetConfiguration added in v5.4.0

func (s *CreateAlertReq) SetConfiguration(v *AlertConfiguration) *CreateAlertReq

func (*CreateAlertReq) SetDescription added in v5.4.0

func (s *CreateAlertReq) SetDescription(v string) *CreateAlertReq

func (*CreateAlertReq) SetDisplayName added in v5.4.0

func (s *CreateAlertReq) SetDisplayName(v string) *CreateAlertReq

func (*CreateAlertReq) SetName added in v5.4.0

func (s *CreateAlertReq) SetName(v string) *CreateAlertReq

func (*CreateAlertReq) SetSchedule added in v5.4.0

func (s *CreateAlertReq) SetSchedule(v *Schedule) *CreateAlertReq

func (CreateAlertReq) String added in v5.4.0

func (s CreateAlertReq) String() string

type CreateAlertRequest added in v5.4.0

type CreateAlertRequest struct {
	Body *CreateAlertReq `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateAlertRequest) GoString added in v5.4.0

func (s CreateAlertRequest) GoString() string

func (*CreateAlertRequest) SetBody added in v5.4.0

func (CreateAlertRequest) String added in v5.4.0

func (s CreateAlertRequest) String() string

type CreateAlertResponse added in v5.4.0

type CreateAlertResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       interface{}        `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateAlertResponse) GoString added in v5.4.0

func (s CreateAlertResponse) GoString() string

func (*CreateAlertResponse) SetBody added in v5.4.0

func (s *CreateAlertResponse) SetBody(v interface{}) *CreateAlertResponse

func (*CreateAlertResponse) SetHeaders added in v5.4.0

func (s *CreateAlertResponse) SetHeaders(v map[string]*string) *CreateAlertResponse

func (*CreateAlertResponse) SetStatusCode added in v5.4.0

func (s *CreateAlertResponse) SetStatusCode(v int32) *CreateAlertResponse

func (CreateAlertResponse) String added in v5.4.0

func (s CreateAlertResponse) String() string

type CreateAnnotationDataSetRequest

type CreateAnnotationDataSetRequest struct {
	// The data structure of the request.
	Body *MLDataSetParam `json:"body,omitempty" xml:"body,omitempty"`
	// The unique identifier of the dataset.
	DatasetId *string `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
}

func (CreateAnnotationDataSetRequest) GoString

func (*CreateAnnotationDataSetRequest) SetBody

func (*CreateAnnotationDataSetRequest) SetDatasetId

func (CreateAnnotationDataSetRequest) String

type CreateAnnotationDataSetResponse

type CreateAnnotationDataSetResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (CreateAnnotationDataSetResponse) GoString

func (*CreateAnnotationDataSetResponse) SetHeaders

func (*CreateAnnotationDataSetResponse) SetStatusCode

func (CreateAnnotationDataSetResponse) String

type CreateAnnotationLabelRequest

type CreateAnnotationLabelRequest struct {
	// The data structure of the request.
	Body *MLLabelParam `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateAnnotationLabelRequest) GoString

func (s CreateAnnotationLabelRequest) GoString() string

func (*CreateAnnotationLabelRequest) SetBody

func (CreateAnnotationLabelRequest) String

type CreateAnnotationLabelResponse

type CreateAnnotationLabelResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (CreateAnnotationLabelResponse) GoString

func (*CreateAnnotationLabelResponse) SetHeaders

func (*CreateAnnotationLabelResponse) SetStatusCode

func (CreateAnnotationLabelResponse) String

type CreateConfigRequest

type CreateConfigRequest struct {
	// The body of the request.
	Body *LogtailConfig `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateConfigRequest) GoString

func (s CreateConfigRequest) GoString() string

func (*CreateConfigRequest) SetBody

func (CreateConfigRequest) String

func (s CreateConfigRequest) String() string

type CreateConfigResponse

type CreateConfigResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (CreateConfigResponse) GoString

func (s CreateConfigResponse) GoString() string

func (*CreateConfigResponse) SetHeaders

func (s *CreateConfigResponse) SetHeaders(v map[string]*string) *CreateConfigResponse

func (*CreateConfigResponse) SetStatusCode

func (s *CreateConfigResponse) SetStatusCode(v int32) *CreateConfigResponse

func (CreateConfigResponse) String

func (s CreateConfigResponse) String() string

type CreateConsumerGroupRequest

type CreateConsumerGroupRequest struct {
	// The name of the consumer group. The name must be unique in a project.
	ConsumerGroup *string `json:"consumerGroup,omitempty" xml:"consumerGroup,omitempty"`
	// Specifies whether to consume data in sequence. Valid values:
	//
	// *   true
	//
	//     *   In a shard, data is consumed in ascending order based on the value of the \*\*\__tag\_\_:\__receive_time\_\_\*\* field.
	//     *   If a shard is split, data in the original shard is consumed first. Then, data in the new shards is consumed at the same time.
	//     *   If shards are merged, data in the original shards is consumed first. Then, data in the new shard is consumed.
	//
	// *   false Data in all shards is consumed at the same time. If a new shard is generated after a shard is split or after shards are merged, data in the new shard is immediately consumed.
	Order *bool `json:"order,omitempty" xml:"order,omitempty"`
	// The timeout period. If the server does not receive heartbeats from a consumer within the timeout period, the server deletes the consumer. Unit: seconds.
	Timeout *int32 `json:"timeout,omitempty" xml:"timeout,omitempty"`
}

func (CreateConsumerGroupRequest) GoString

func (s CreateConsumerGroupRequest) GoString() string

func (*CreateConsumerGroupRequest) SetConsumerGroup

func (*CreateConsumerGroupRequest) SetOrder

func (*CreateConsumerGroupRequest) SetTimeout

func (CreateConsumerGroupRequest) String

type CreateConsumerGroupResponse

type CreateConsumerGroupResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (CreateConsumerGroupResponse) GoString

func (s CreateConsumerGroupResponse) GoString() string

func (*CreateConsumerGroupResponse) SetHeaders

func (*CreateConsumerGroupResponse) SetStatusCode

func (CreateConsumerGroupResponse) String

type CreateDashboardRequest

type CreateDashboardRequest struct {
	// The data structure of the dashboard.
	Body *Dashboard `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateDashboardRequest) GoString

func (s CreateDashboardRequest) GoString() string

func (*CreateDashboardRequest) SetBody

func (CreateDashboardRequest) String

func (s CreateDashboardRequest) String() string

type CreateDashboardResponse

type CreateDashboardResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (CreateDashboardResponse) GoString

func (s CreateDashboardResponse) GoString() string

func (*CreateDashboardResponse) SetHeaders

func (*CreateDashboardResponse) SetStatusCode

func (CreateDashboardResponse) String

func (s CreateDashboardResponse) String() string

type CreateDomainRequest

type CreateDomainRequest struct {
	// The domain name.
	DomainName *string `json:"domainName,omitempty" xml:"domainName,omitempty"`
}

func (CreateDomainRequest) GoString

func (s CreateDomainRequest) GoString() string

func (*CreateDomainRequest) SetDomainName

func (s *CreateDomainRequest) SetDomainName(v string) *CreateDomainRequest

func (CreateDomainRequest) String

func (s CreateDomainRequest) String() string

type CreateDomainResponse

type CreateDomainResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (CreateDomainResponse) GoString

func (s CreateDomainResponse) GoString() string

func (*CreateDomainResponse) SetHeaders

func (s *CreateDomainResponse) SetHeaders(v map[string]*string) *CreateDomainResponse

func (*CreateDomainResponse) SetStatusCode

func (s *CreateDomainResponse) SetStatusCode(v int32) *CreateDomainResponse

func (CreateDomainResponse) String

func (s CreateDomainResponse) String() string

type CreateIndexRequest

type CreateIndexRequest struct {
	// The configuration of field indexes. A field index is a key-value pair in which the key specifies the name of the field and the value specifies the index configuration of the field. You must specify this parameter, the line parameter, or both parameters. For more information, see Example.
	Keys map[string]*KeysValue `json:"keys,omitempty" xml:"keys,omitempty"`
	// The configuration of full-text indexes. You must specify this parameter, the keys parameter, or both parameters. For more information, see Example.
	Line *CreateIndexRequestLine `json:"line,omitempty" xml:"line,omitempty" type:"Struct"`
	// Specifies whether to turn on LogReduce. After you turn on LogReduce, either the whitelist or blacklist takes effect.
	LogReduce *bool `json:"log_reduce,omitempty" xml:"log_reduce,omitempty"`
	// The fields in the blacklist that you want to use to cluster logs.
	LogReduceBlackList []*string `json:"log_reduce_black_list,omitempty" xml:"log_reduce_black_list,omitempty" type:"Repeated"`
	// The fields in the whitelist that you want to use to cluster logs.
	LogReduceWhiteList []*string `json:"log_reduce_white_list,omitempty" xml:"log_reduce_white_list,omitempty" type:"Repeated"`
	// The maximum length of a field value that can be retained. Default value: 2048. Unit: bytes. The default value is equal to 2 KB. You can change the value of max_text_len. Valid values: 64 to 16384.
	MaxTextLen *int32 `json:"max_text_len,omitempty" xml:"max_text_len,omitempty"`
	// The retention period of logs. Unit: days. Valid values: 7, 30, and 90.
	Ttl *int32 `json:"ttl,omitempty" xml:"ttl,omitempty"`
}

func (CreateIndexRequest) GoString

func (s CreateIndexRequest) GoString() string

func (*CreateIndexRequest) SetKeys

func (*CreateIndexRequest) SetLine

func (*CreateIndexRequest) SetLogReduce

func (s *CreateIndexRequest) SetLogReduce(v bool) *CreateIndexRequest

func (*CreateIndexRequest) SetLogReduceBlackList

func (s *CreateIndexRequest) SetLogReduceBlackList(v []*string) *CreateIndexRequest

func (*CreateIndexRequest) SetLogReduceWhiteList

func (s *CreateIndexRequest) SetLogReduceWhiteList(v []*string) *CreateIndexRequest

func (*CreateIndexRequest) SetMaxTextLen

func (s *CreateIndexRequest) SetMaxTextLen(v int32) *CreateIndexRequest

func (*CreateIndexRequest) SetTtl

func (CreateIndexRequest) String

func (s CreateIndexRequest) String() string

type CreateIndexRequestLine

type CreateIndexRequestLine struct {
	// Specifies whether to enable case sensitivity. Valid values:
	//
	// *   true
	// *   false (default)
	CaseSensitive *bool `json:"caseSensitive,omitempty" xml:"caseSensitive,omitempty"`
	// Specifies whether to include Chinese characters. Valid values:
	//
	// *   true
	// *   false (default)
	Chn *bool `json:"chn,omitempty" xml:"chn,omitempty"`
	// The excluded fields. You cannot specify both include_keys and exclude_keys.
	ExcludeKeys []*string `json:"exclude_keys,omitempty" xml:"exclude_keys,omitempty" type:"Repeated"`
	// The included fields. You cannot specify both include_keys and exclude_keys.
	IncludeKeys []*string `json:"include_keys,omitempty" xml:"include_keys,omitempty" type:"Repeated"`
	// The delimiters. You can specify a delimiter to delimit the content of a field value. For more information about delimiters, see Example.
	Token []*string `json:"token,omitempty" xml:"token,omitempty" type:"Repeated"`
}

func (CreateIndexRequestLine) GoString

func (s CreateIndexRequestLine) GoString() string

func (*CreateIndexRequestLine) SetCaseSensitive

func (s *CreateIndexRequestLine) SetCaseSensitive(v bool) *CreateIndexRequestLine

func (*CreateIndexRequestLine) SetChn

func (*CreateIndexRequestLine) SetExcludeKeys

func (s *CreateIndexRequestLine) SetExcludeKeys(v []*string) *CreateIndexRequestLine

func (*CreateIndexRequestLine) SetIncludeKeys

func (s *CreateIndexRequestLine) SetIncludeKeys(v []*string) *CreateIndexRequestLine

func (*CreateIndexRequestLine) SetToken

func (CreateIndexRequestLine) String

func (s CreateIndexRequestLine) String() string

type CreateIndexResponse

type CreateIndexResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (CreateIndexResponse) GoString

func (s CreateIndexResponse) GoString() string

func (*CreateIndexResponse) SetHeaders

func (s *CreateIndexResponse) SetHeaders(v map[string]*string) *CreateIndexResponse

func (*CreateIndexResponse) SetStatusCode

func (s *CreateIndexResponse) SetStatusCode(v int32) *CreateIndexResponse

func (CreateIndexResponse) String

func (s CreateIndexResponse) String() string

type CreateLogStoreRequest

type CreateLogStoreRequest struct {
	// Specifies whether to record public IP addresses. Default value: false. Valid values:
	//
	// *   true
	// *   false
	AppendMeta *bool `json:"appendMeta,omitempty" xml:"appendMeta,omitempty"`
	// Specifies whether to enable automatic sharding. Valid values:
	//
	// *   true
	// *   false
	AutoSplit *bool `json:"autoSplit,omitempty" xml:"autoSplit,omitempty"`
	// Specifies whether to enable the web tracking feature. Default value: false. Valid values:
	//
	// *   true
	// *   false
	EnableTracking *bool `json:"enable_tracking,omitempty" xml:"enable_tracking,omitempty"`
	// The data structure of the encryption configuration.
	EncryptConf *EncryptConf `json:"encrypt_conf,omitempty" xml:"encrypt_conf,omitempty"`
	// The retention period of data in the hot storage tier of the Logstore. Unit: days. You can specify a value that ranges from 30 to the value of ttl.
	//
	// Hot data that is stored for longer than the period specified by hot_ttl is converted to cold data. For more information, see [Enable hot and cold-tiered storage for a Logstore](~~308645~~).
	HotTtl              *int32 `json:"hot_ttl,omitempty" xml:"hot_ttl,omitempty"`
	InfrequentAccessTTL *int32 `json:"infrequentAccessTTL,omitempty" xml:"infrequentAccessTTL,omitempty"`
	// The name of the Logstore. The name must meet the following requirements:
	//
	// *   The name must be unique in a project.
	// *   The name can contain only lowercase letters, digits, hyphens (-), and underscores (\_).
	// *   The name must start and end with a lowercase letter or a digit.
	// *   The name must be 3 to 63 characters in length.
	LogstoreName *string `json:"logstoreName,omitempty" xml:"logstoreName,omitempty"`
	// The maximum number of shards into which existing shards can be automatically split. Valid values: 1 to 64.
	//
	// > If you set autoSplit to true, you must configure this parameter.
	MaxSplitShard *int32 `json:"maxSplitShard,omitempty" xml:"maxSplitShard,omitempty"`
	// The type of the Logstore. Log Service provides the following types of Logstores: Standard Logstores and Query Logstores. Valid values:
	//
	// *   **standard**: Standard Logstore. This type of Logstore supports the log analysis feature and is suitable for scenarios such as real-time monitoring and interactive analysis. You can also use this type of Logstore to build a comprehensive observability system.
	// *   **query**: Query Logstore. This type of Logstore supports high-performance queries. The index traffic fee of a Query Logstore is approximately half that of a Standard Logstore. Query Logstores do not support SQL analysis. Query Logstores are suitable for scenarios in which the amount of data is large, the log retention period is long, or log analysis is not required. Log retention periods of weeks or months are considered long.
	Mode *string `json:"mode,omitempty" xml:"mode,omitempty"`
	// The number of shards.
	//
	// > You cannot call the CreateLogStore operation to change the number of shards. You can call the SplitShard or MergeShards operation to change the number of shards.
	ShardCount *int32 `json:"shardCount,omitempty" xml:"shardCount,omitempty"`
	// The type of the observable data. Valid values:
	//
	// *   None: logs
	// *   Metrics: metrics
	TelemetryType *string `json:"telemetryType,omitempty" xml:"telemetryType,omitempty"`
	// The retention period of data. Unit: days. Valid values: 1 to 3000. If you set this parameter to 3650, data is permanently stored.
	Ttl *int32 `json:"ttl,omitempty" xml:"ttl,omitempty"`
}

func (CreateLogStoreRequest) GoString

func (s CreateLogStoreRequest) GoString() string

func (*CreateLogStoreRequest) SetAppendMeta

func (s *CreateLogStoreRequest) SetAppendMeta(v bool) *CreateLogStoreRequest

func (*CreateLogStoreRequest) SetAutoSplit

func (s *CreateLogStoreRequest) SetAutoSplit(v bool) *CreateLogStoreRequest

func (*CreateLogStoreRequest) SetEnableTracking

func (s *CreateLogStoreRequest) SetEnableTracking(v bool) *CreateLogStoreRequest

func (*CreateLogStoreRequest) SetEncryptConf

func (*CreateLogStoreRequest) SetHotTtl

func (*CreateLogStoreRequest) SetInfrequentAccessTTL added in v5.2.1

func (s *CreateLogStoreRequest) SetInfrequentAccessTTL(v int32) *CreateLogStoreRequest

func (*CreateLogStoreRequest) SetLogstoreName

func (s *CreateLogStoreRequest) SetLogstoreName(v string) *CreateLogStoreRequest

func (*CreateLogStoreRequest) SetMaxSplitShard

func (s *CreateLogStoreRequest) SetMaxSplitShard(v int32) *CreateLogStoreRequest

func (*CreateLogStoreRequest) SetMode

func (*CreateLogStoreRequest) SetShardCount

func (s *CreateLogStoreRequest) SetShardCount(v int32) *CreateLogStoreRequest

func (*CreateLogStoreRequest) SetTelemetryType

func (s *CreateLogStoreRequest) SetTelemetryType(v string) *CreateLogStoreRequest

func (*CreateLogStoreRequest) SetTtl

func (CreateLogStoreRequest) String

func (s CreateLogStoreRequest) String() string

type CreateLogStoreResponse

type CreateLogStoreResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (CreateLogStoreResponse) GoString

func (s CreateLogStoreResponse) GoString() string

func (*CreateLogStoreResponse) SetHeaders

func (*CreateLogStoreResponse) SetStatusCode

func (CreateLogStoreResponse) String

func (s CreateLogStoreResponse) String() string

type CreateLoggingRequest

type CreateLoggingRequest struct {
	// The configurations of service logs.
	LoggingDetails []*CreateLoggingRequestLoggingDetails `json:"loggingDetails,omitempty" xml:"loggingDetails,omitempty" type:"Repeated"`
	// The name of the project to which service logs are stored.
	LoggingProject *string `json:"loggingProject,omitempty" xml:"loggingProject,omitempty"`
}

func (CreateLoggingRequest) GoString

func (s CreateLoggingRequest) GoString() string

func (*CreateLoggingRequest) SetLoggingDetails

func (*CreateLoggingRequest) SetLoggingProject

func (s *CreateLoggingRequest) SetLoggingProject(v string) *CreateLoggingRequest

func (CreateLoggingRequest) String

func (s CreateLoggingRequest) String() string

type CreateLoggingRequestLoggingDetails

type CreateLoggingRequestLoggingDetails struct {
	// The name of the Logstore to which service logs of the type are stored.
	Logstore *string `json:"logstore,omitempty" xml:"logstore,omitempty"`
	// The type of service logs. Valid values:
	//
	// *   consumergroup_log: the consumption delay logs of consumer groups.
	// *   logtail_alarm: the alert logs of Logtail.
	// *   operation_log: the operation logs.
	// *   logtail_profile: the collection logs of Logtail.
	// *   metering: the metering logs.
	// *   logtail_status: the status logs of Logtail.
	// *   scheduledsqlalert: the run logs of Scheduled SQL jobs.
	// *   etl_alert: the run logs of data transformation jobs.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (CreateLoggingRequestLoggingDetails) GoString

func (*CreateLoggingRequestLoggingDetails) SetLogstore

func (*CreateLoggingRequestLoggingDetails) SetType

func (CreateLoggingRequestLoggingDetails) String

type CreateLoggingResponse

type CreateLoggingResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (CreateLoggingResponse) GoString

func (s CreateLoggingResponse) GoString() string

func (*CreateLoggingResponse) SetHeaders

func (*CreateLoggingResponse) SetStatusCode

func (s *CreateLoggingResponse) SetStatusCode(v int32) *CreateLoggingResponse

func (CreateLoggingResponse) String

func (s CreateLoggingResponse) String() string

type CreateLogtailPipelineConfigRequest

type CreateLogtailPipelineConfigRequest struct {
	// The aggregation plug-ins.
	Aggregators []map[string]interface{} `json:"aggregators,omitempty" xml:"aggregators,omitempty" type:"Repeated"`
	// The name of the configuration.
	ConfigName *string `json:"configName,omitempty" xml:"configName,omitempty"`
	// The data output plug-ins.
	Flushers []map[string]interface{} `json:"flushers,omitempty" xml:"flushers,omitempty" type:"Repeated"`
	// The global configuration.
	Global map[string]interface{} `json:"global,omitempty" xml:"global,omitempty"`
	// The data source plug-ins.
	Inputs []map[string]interface{} `json:"inputs,omitempty" xml:"inputs,omitempty" type:"Repeated"`
	// The sample log.
	LogSample *string `json:"logSample,omitempty" xml:"logSample,omitempty"`
	// The processing plug-ins.
	Processors []map[string]interface{} `json:"processors,omitempty" xml:"processors,omitempty" type:"Repeated"`
}

func (CreateLogtailPipelineConfigRequest) GoString

func (*CreateLogtailPipelineConfigRequest) SetAggregators

func (s *CreateLogtailPipelineConfigRequest) SetAggregators(v []map[string]interface{}) *CreateLogtailPipelineConfigRequest

func (*CreateLogtailPipelineConfigRequest) SetConfigName

func (*CreateLogtailPipelineConfigRequest) SetFlushers

func (*CreateLogtailPipelineConfigRequest) SetGlobal

func (*CreateLogtailPipelineConfigRequest) SetInputs

func (*CreateLogtailPipelineConfigRequest) SetLogSample

func (*CreateLogtailPipelineConfigRequest) SetProcessors

func (s *CreateLogtailPipelineConfigRequest) SetProcessors(v []map[string]interface{}) *CreateLogtailPipelineConfigRequest

func (CreateLogtailPipelineConfigRequest) String

type CreateLogtailPipelineConfigResponse

type CreateLogtailPipelineConfigResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (CreateLogtailPipelineConfigResponse) GoString

func (*CreateLogtailPipelineConfigResponse) SetHeaders

func (*CreateLogtailPipelineConfigResponse) SetStatusCode

func (CreateLogtailPipelineConfigResponse) String

type CreateMachineGroupRequest

type CreateMachineGroupRequest struct {
	// The attributes of the machine group.
	GroupAttribute *CreateMachineGroupRequestGroupAttribute `json:"groupAttribute,omitempty" xml:"groupAttribute,omitempty" type:"Struct"`
	// The name of the machine group. The name must meet the following requirements:
	//
	// *   The name of each machine group in a project must be unique.
	// *   It can contain only lowercase letters, digits, hyphens (-), and underscores (\_).
	// *   It must start and end with a lowercase letter or a digit.
	// *   It must be 3 to 128 characters in length.
	GroupName *string `json:"groupName,omitempty" xml:"groupName,omitempty"`
	// The type of the machine group. The parameter can be left empty.
	GroupType *string `json:"groupType,omitempty" xml:"groupType,omitempty"`
	// The type of the machine group identifier. Valid values:
	//
	// *   ip: The machine group uses IP addresses as identifiers.
	// *   userdefined: The machine group uses custom identifiers.
	MachineIdentifyType *string `json:"machineIdentifyType,omitempty" xml:"machineIdentifyType,omitempty"`
	// The identifiers of machine group.
	//
	// *   If you set machineIdentifyType to ip, enter the IP address of the machine.
	// *   If you set machineIdentifyType to userdefined, enter a custom identifier.
	MachineList []*string `json:"machineList,omitempty" xml:"machineList,omitempty" type:"Repeated"`
}

func (CreateMachineGroupRequest) GoString

func (s CreateMachineGroupRequest) GoString() string

func (*CreateMachineGroupRequest) SetGroupAttribute

func (*CreateMachineGroupRequest) SetGroupName

func (*CreateMachineGroupRequest) SetGroupType

func (*CreateMachineGroupRequest) SetMachineIdentifyType

func (s *CreateMachineGroupRequest) SetMachineIdentifyType(v string) *CreateMachineGroupRequest

func (*CreateMachineGroupRequest) SetMachineList

func (CreateMachineGroupRequest) String

func (s CreateMachineGroupRequest) String() string

type CreateMachineGroupRequestGroupAttribute

type CreateMachineGroupRequestGroupAttribute struct {
	// The identifier of the external management system on which the machine group depends.
	ExternalName *string `json:"externalName,omitempty" xml:"externalName,omitempty"`
	// The log topic of the machine group.
	GroupTopic *string `json:"groupTopic,omitempty" xml:"groupTopic,omitempty"`
}

func (CreateMachineGroupRequestGroupAttribute) GoString

func (*CreateMachineGroupRequestGroupAttribute) SetExternalName

func (*CreateMachineGroupRequestGroupAttribute) SetGroupTopic

func (CreateMachineGroupRequestGroupAttribute) String

type CreateMachineGroupResponse

type CreateMachineGroupResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (CreateMachineGroupResponse) GoString

func (s CreateMachineGroupResponse) GoString() string

func (*CreateMachineGroupResponse) SetHeaders

func (*CreateMachineGroupResponse) SetStatusCode

func (CreateMachineGroupResponse) String

type CreateOssExternalStoreRequest

type CreateOssExternalStoreRequest struct {
	// The name of the external store.
	ExternalStoreName *string `json:"externalStoreName,omitempty" xml:"externalStoreName,omitempty"`
	// The parameters that are configured for the external store.
	Parameter *CreateOssExternalStoreRequestParameter `json:"parameter,omitempty" xml:"parameter,omitempty" type:"Struct"`
	// The type of the external store. Set the value to oss.
	StoreType *string `json:"storeType,omitempty" xml:"storeType,omitempty"`
}

func (CreateOssExternalStoreRequest) GoString

func (*CreateOssExternalStoreRequest) SetExternalStoreName

func (*CreateOssExternalStoreRequest) SetStoreType

func (CreateOssExternalStoreRequest) String

type CreateOssExternalStoreRequestParameter

type CreateOssExternalStoreRequestParameter struct {
	// The AccessKey ID of your account.
	Accessid *string `json:"accessid,omitempty" xml:"accessid,omitempty"`
	// The AccessKey secret of your account.
	Accesskey *string `json:"accesskey,omitempty" xml:"accesskey,omitempty"`
	// The name of the OSS bucket.
	Bucket *string `json:"bucket,omitempty" xml:"bucket,omitempty"`
	// The fields that are associated to the external store.
	Columns []*CreateOssExternalStoreRequestParameterColumns `json:"columns,omitempty" xml:"columns,omitempty" type:"Repeated"`
	// The Object Storage Service (OSS) endpoint.
	Endpoint *string `json:"endpoint,omitempty" xml:"endpoint,omitempty"`
	// The names of the OSS objects that are associated to the external store.
	Objects []*string `json:"objects,omitempty" xml:"objects,omitempty" type:"Repeated"`
}

func (CreateOssExternalStoreRequestParameter) GoString

func (*CreateOssExternalStoreRequestParameter) SetAccessid

func (*CreateOssExternalStoreRequestParameter) SetAccesskey

func (*CreateOssExternalStoreRequestParameter) SetBucket

func (*CreateOssExternalStoreRequestParameter) SetEndpoint

func (*CreateOssExternalStoreRequestParameter) SetObjects

func (CreateOssExternalStoreRequestParameter) String

type CreateOssExternalStoreRequestParameterColumns

type CreateOssExternalStoreRequestParameterColumns struct {
	// The name of the field.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The type of the field.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (CreateOssExternalStoreRequestParameterColumns) GoString

func (*CreateOssExternalStoreRequestParameterColumns) SetName

func (*CreateOssExternalStoreRequestParameterColumns) SetType

func (CreateOssExternalStoreRequestParameterColumns) String

type CreateOssExternalStoreResponse

type CreateOssExternalStoreResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (CreateOssExternalStoreResponse) GoString

func (*CreateOssExternalStoreResponse) SetHeaders

func (*CreateOssExternalStoreResponse) SetStatusCode

func (CreateOssExternalStoreResponse) String

type CreateProjectRequest

type CreateProjectRequest struct {
	// Data redundancy type
	DataRedundancyType *string `json:"dataRedundancyType,omitempty" xml:"dataRedundancyType,omitempty"`
	// The description of the project.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The name of the project. The name must be unique in a region. You cannot change the name after you create the project. The name must meet the following requirements:
	//
	// *   The name must be unique.
	// *   It can contain only lowercase letters, digits, and hyphens (-).
	// *   It must start and end with a lowercase letter or a digit.
	// *   It must be 3 to 63 characters in length.
	ProjectName *string `json:"projectName,omitempty" xml:"projectName,omitempty"`
	// The ID of the resource group.
	ResourceGroupId *string `json:"resourceGroupId,omitempty" xml:"resourceGroupId,omitempty"`
}

func (CreateProjectRequest) GoString

func (s CreateProjectRequest) GoString() string

func (*CreateProjectRequest) SetDataRedundancyType

func (s *CreateProjectRequest) SetDataRedundancyType(v string) *CreateProjectRequest

func (*CreateProjectRequest) SetDescription

func (s *CreateProjectRequest) SetDescription(v string) *CreateProjectRequest

func (*CreateProjectRequest) SetProjectName

func (s *CreateProjectRequest) SetProjectName(v string) *CreateProjectRequest

func (*CreateProjectRequest) SetResourceGroupId

func (s *CreateProjectRequest) SetResourceGroupId(v string) *CreateProjectRequest

func (CreateProjectRequest) String

func (s CreateProjectRequest) String() string

type CreateProjectResponse

type CreateProjectResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (CreateProjectResponse) GoString

func (s CreateProjectResponse) GoString() string

func (*CreateProjectResponse) SetHeaders

func (*CreateProjectResponse) SetStatusCode

func (s *CreateProjectResponse) SetStatusCode(v int32) *CreateProjectResponse

func (CreateProjectResponse) String

func (s CreateProjectResponse) String() string

type CreateRdsExternalStoreRequest

type CreateRdsExternalStoreRequest struct {
	// The name of the external store. The name must be unique in a project and must be different from Logstore names.
	ExternalStoreName *string `json:"externalStoreName,omitempty" xml:"externalStoreName,omitempty"`
	// The parameter struct.
	Parameter *CreateRdsExternalStoreRequestParameter `json:"parameter,omitempty" xml:"parameter,omitempty" type:"Struct"`
	// The storage type. Set the value to rds-vpc, which indicates an ApsaraDB RDS for MySQL database in a virtual private cloud (VPC).
	StoreType *string `json:"storeType,omitempty" xml:"storeType,omitempty"`
}

func (CreateRdsExternalStoreRequest) GoString

func (*CreateRdsExternalStoreRequest) SetExternalStoreName

func (*CreateRdsExternalStoreRequest) SetStoreType

func (CreateRdsExternalStoreRequest) String

type CreateRdsExternalStoreRequestParameter

type CreateRdsExternalStoreRequestParameter struct {
	// The name of the database in the ApsaraDB RDS for MySQL instance.
	Db *string `json:"db,omitempty" xml:"db,omitempty"`
	// The internal or public endpoint of the ApsaraDB RDS for MySQL instance.
	Host *string `json:"host,omitempty" xml:"host,omitempty"`
	// The ID of the ApsaraDB RDS for MySQL instance.
	InstanceId *string `json:"instance-id,omitempty" xml:"instance-id,omitempty"`
	// The password that is used to log on to the ApsaraDB RDS for MySQL instance.
	Password *string `json:"password,omitempty" xml:"password,omitempty"`
	// The internal or public port of the ApsaraDB RDS for MySQL instance.
	Port *string `json:"port,omitempty" xml:"port,omitempty"`
	// The region where the ApsaraDB RDS for MySQL instance resides. Valid values: cn-qingdao, cn-beijing, and cn-hangzhou.
	Region *string `json:"region,omitempty" xml:"region,omitempty"`
	// The name of the database table in the ApsaraDB RDS for MySQL instance.
	Table *string `json:"table,omitempty" xml:"table,omitempty"`
	// The username that is used to log on to the ApsaraDB RDS for MySQL instance.
	Username *string `json:"username,omitempty" xml:"username,omitempty"`
	// The ID of the VPC to which the ApsaraDB RDS for MySQL instance belongs.
	VpcId *string `json:"vpc-id,omitempty" xml:"vpc-id,omitempty"`
}

func (CreateRdsExternalStoreRequestParameter) GoString

func (*CreateRdsExternalStoreRequestParameter) SetDb

func (*CreateRdsExternalStoreRequestParameter) SetHost

func (*CreateRdsExternalStoreRequestParameter) SetInstanceId

func (*CreateRdsExternalStoreRequestParameter) SetPassword

func (*CreateRdsExternalStoreRequestParameter) SetPort

func (*CreateRdsExternalStoreRequestParameter) SetRegion

func (*CreateRdsExternalStoreRequestParameter) SetTable

func (*CreateRdsExternalStoreRequestParameter) SetUsername

func (*CreateRdsExternalStoreRequestParameter) SetVpcId

func (CreateRdsExternalStoreRequestParameter) String

type CreateRdsExternalStoreResponse

type CreateRdsExternalStoreResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (CreateRdsExternalStoreResponse) GoString

func (*CreateRdsExternalStoreResponse) SetHeaders

func (*CreateRdsExternalStoreResponse) SetStatusCode

func (CreateRdsExternalStoreResponse) String

type CreateSavedSearchRequest

type CreateSavedSearchRequest struct {
	// The display name.
	DisplayName *string `json:"displayName,omitempty" xml:"displayName,omitempty"`
	// The name of the Logstore to which the saved search belongs.
	Logstore *string `json:"logstore,omitempty" xml:"logstore,omitempty"`
	// The name of the saved search. The name must be 3 to 63 characters in length.
	SavedsearchName *string `json:"savedsearchName,omitempty" xml:"savedsearchName,omitempty"`
	// The query statement of the saved search. A query statement consists of a search statement and an analytic statement in the `Search statement|Analytic statement` format. For more information about search statements and analytic statements, see [Log search overview](~~43772~~) and [Log analysis overview](~~53608~~).
	SearchQuery *string `json:"searchQuery,omitempty" xml:"searchQuery,omitempty"`
	// The topic of the log.
	Topic *string `json:"topic,omitempty" xml:"topic,omitempty"`
}

func (CreateSavedSearchRequest) GoString

func (s CreateSavedSearchRequest) GoString() string

func (*CreateSavedSearchRequest) SetDisplayName

func (*CreateSavedSearchRequest) SetLogstore

func (*CreateSavedSearchRequest) SetSavedsearchName

func (s *CreateSavedSearchRequest) SetSavedsearchName(v string) *CreateSavedSearchRequest

func (*CreateSavedSearchRequest) SetSearchQuery

func (*CreateSavedSearchRequest) SetTopic

func (CreateSavedSearchRequest) String

func (s CreateSavedSearchRequest) String() string

type CreateSavedSearchResponse

type CreateSavedSearchResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (CreateSavedSearchResponse) GoString

func (s CreateSavedSearchResponse) GoString() string

func (*CreateSavedSearchResponse) SetHeaders

func (*CreateSavedSearchResponse) SetStatusCode

func (CreateSavedSearchResponse) String

func (s CreateSavedSearchResponse) String() string

type CreateTicketResponse

type CreateTicketResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *CreateTicketResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateTicketResponse) GoString

func (s CreateTicketResponse) GoString() string

func (*CreateTicketResponse) SetBody

func (*CreateTicketResponse) SetHeaders

func (s *CreateTicketResponse) SetHeaders(v map[string]*string) *CreateTicketResponse

func (*CreateTicketResponse) SetStatusCode

func (s *CreateTicketResponse) SetStatusCode(v int32) *CreateTicketResponse

func (CreateTicketResponse) String

func (s CreateTicketResponse) String() string

type CreateTicketResponseBody

type CreateTicketResponseBody struct {
	Ticket *string `json:"ticket,omitempty" xml:"ticket,omitempty"`
}

func (CreateTicketResponseBody) GoString

func (s CreateTicketResponseBody) GoString() string

func (*CreateTicketResponseBody) SetTicket

func (CreateTicketResponseBody) String

func (s CreateTicketResponseBody) String() string

type Dashboard

type Dashboard struct {
	Attribute     map[string]*string `json:"attribute,omitempty" xml:"attribute,omitempty"`
	Charts        []*Chart           `json:"charts,omitempty" xml:"charts,omitempty" type:"Repeated"`
	DashboardName *string            `json:"dashboardName,omitempty" xml:"dashboardName,omitempty"`
	Description   *string            `json:"description,omitempty" xml:"description,omitempty"`
	DisplayName   *string            `json:"displayName,omitempty" xml:"displayName,omitempty"`
}

func (Dashboard) GoString

func (s Dashboard) GoString() string

func (*Dashboard) SetAttribute

func (s *Dashboard) SetAttribute(v map[string]*string) *Dashboard

func (*Dashboard) SetCharts

func (s *Dashboard) SetCharts(v []*Chart) *Dashboard

func (*Dashboard) SetDashboardName

func (s *Dashboard) SetDashboardName(v string) *Dashboard

func (*Dashboard) SetDescription

func (s *Dashboard) SetDescription(v string) *Dashboard

func (*Dashboard) SetDisplayName

func (s *Dashboard) SetDisplayName(v string) *Dashboard

func (Dashboard) String

func (s Dashboard) String() string

type DeleteAlertResponse added in v5.4.0

type DeleteAlertResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       interface{}        `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteAlertResponse) GoString added in v5.4.0

func (s DeleteAlertResponse) GoString() string

func (*DeleteAlertResponse) SetBody added in v5.4.0

func (s *DeleteAlertResponse) SetBody(v interface{}) *DeleteAlertResponse

func (*DeleteAlertResponse) SetHeaders added in v5.4.0

func (s *DeleteAlertResponse) SetHeaders(v map[string]*string) *DeleteAlertResponse

func (*DeleteAlertResponse) SetStatusCode added in v5.4.0

func (s *DeleteAlertResponse) SetStatusCode(v int32) *DeleteAlertResponse

func (DeleteAlertResponse) String added in v5.4.0

func (s DeleteAlertResponse) String() string

type DeleteAnnotationDataResponse

type DeleteAnnotationDataResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteAnnotationDataResponse) GoString

func (s DeleteAnnotationDataResponse) GoString() string

func (*DeleteAnnotationDataResponse) SetHeaders

func (*DeleteAnnotationDataResponse) SetStatusCode

func (DeleteAnnotationDataResponse) String

type DeleteAnnotationDataSetResponse

type DeleteAnnotationDataSetResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteAnnotationDataSetResponse) GoString

func (*DeleteAnnotationDataSetResponse) SetHeaders

func (*DeleteAnnotationDataSetResponse) SetStatusCode

func (DeleteAnnotationDataSetResponse) String

type DeleteAnnotationLabelResponse

type DeleteAnnotationLabelResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteAnnotationLabelResponse) GoString

func (*DeleteAnnotationLabelResponse) SetHeaders

func (*DeleteAnnotationLabelResponse) SetStatusCode

func (DeleteAnnotationLabelResponse) String

type DeleteCollectionPolicyRequest

type DeleteCollectionPolicyRequest struct {
	DataCode    *string `json:"dataCode,omitempty" xml:"dataCode,omitempty"`
	ProductCode *string `json:"productCode,omitempty" xml:"productCode,omitempty"`
}

func (DeleteCollectionPolicyRequest) GoString

func (*DeleteCollectionPolicyRequest) SetDataCode

func (*DeleteCollectionPolicyRequest) SetProductCode

func (DeleteCollectionPolicyRequest) String

type DeleteCollectionPolicyResponse

type DeleteCollectionPolicyResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *DeleteCollectionPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DeleteCollectionPolicyResponse) GoString

func (*DeleteCollectionPolicyResponse) SetHeaders

func (*DeleteCollectionPolicyResponse) SetStatusCode

func (DeleteCollectionPolicyResponse) String

type DeleteCollectionPolicyResponseBody

type DeleteCollectionPolicyResponseBody struct {
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
}

func (DeleteCollectionPolicyResponseBody) GoString

func (*DeleteCollectionPolicyResponseBody) SetMessage

func (DeleteCollectionPolicyResponseBody) String

type DeleteConfigResponse

type DeleteConfigResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteConfigResponse) GoString

func (s DeleteConfigResponse) GoString() string

func (*DeleteConfigResponse) SetHeaders

func (s *DeleteConfigResponse) SetHeaders(v map[string]*string) *DeleteConfigResponse

func (*DeleteConfigResponse) SetStatusCode

func (s *DeleteConfigResponse) SetStatusCode(v int32) *DeleteConfigResponse

func (DeleteConfigResponse) String

func (s DeleteConfigResponse) String() string

type DeleteConsumerGroupResponse

type DeleteConsumerGroupResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteConsumerGroupResponse) GoString

func (s DeleteConsumerGroupResponse) GoString() string

func (*DeleteConsumerGroupResponse) SetHeaders

func (*DeleteConsumerGroupResponse) SetStatusCode

func (DeleteConsumerGroupResponse) String

type DeleteDashboardResponse

type DeleteDashboardResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteDashboardResponse) GoString

func (s DeleteDashboardResponse) GoString() string

func (*DeleteDashboardResponse) SetHeaders

func (*DeleteDashboardResponse) SetStatusCode

func (DeleteDashboardResponse) String

func (s DeleteDashboardResponse) String() string

type DeleteDomainResponse

type DeleteDomainResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteDomainResponse) GoString

func (s DeleteDomainResponse) GoString() string

func (*DeleteDomainResponse) SetHeaders

func (s *DeleteDomainResponse) SetHeaders(v map[string]*string) *DeleteDomainResponse

func (*DeleteDomainResponse) SetStatusCode

func (s *DeleteDomainResponse) SetStatusCode(v int32) *DeleteDomainResponse

func (DeleteDomainResponse) String

func (s DeleteDomainResponse) String() string

type DeleteExternalStoreResponse

type DeleteExternalStoreResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteExternalStoreResponse) GoString

func (s DeleteExternalStoreResponse) GoString() string

func (*DeleteExternalStoreResponse) SetHeaders

func (*DeleteExternalStoreResponse) SetStatusCode

func (DeleteExternalStoreResponse) String

type DeleteIndexResponse

type DeleteIndexResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteIndexResponse) GoString

func (s DeleteIndexResponse) GoString() string

func (*DeleteIndexResponse) SetHeaders

func (s *DeleteIndexResponse) SetHeaders(v map[string]*string) *DeleteIndexResponse

func (*DeleteIndexResponse) SetStatusCode

func (s *DeleteIndexResponse) SetStatusCode(v int32) *DeleteIndexResponse

func (DeleteIndexResponse) String

func (s DeleteIndexResponse) String() string

type DeleteLogStoreResponse

type DeleteLogStoreResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteLogStoreResponse) GoString

func (s DeleteLogStoreResponse) GoString() string

func (*DeleteLogStoreResponse) SetHeaders

func (*DeleteLogStoreResponse) SetStatusCode

func (DeleteLogStoreResponse) String

func (s DeleteLogStoreResponse) String() string

type DeleteLoggingResponse

type DeleteLoggingResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteLoggingResponse) GoString

func (s DeleteLoggingResponse) GoString() string

func (*DeleteLoggingResponse) SetHeaders

func (*DeleteLoggingResponse) SetStatusCode

func (s *DeleteLoggingResponse) SetStatusCode(v int32) *DeleteLoggingResponse

func (DeleteLoggingResponse) String

func (s DeleteLoggingResponse) String() string

type DeleteLogtailPipelineConfigResponse

type DeleteLogtailPipelineConfigResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteLogtailPipelineConfigResponse) GoString

func (*DeleteLogtailPipelineConfigResponse) SetHeaders

func (*DeleteLogtailPipelineConfigResponse) SetStatusCode

func (DeleteLogtailPipelineConfigResponse) String

type DeleteMachineGroupResponse

type DeleteMachineGroupResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteMachineGroupResponse) GoString

func (s DeleteMachineGroupResponse) GoString() string

func (*DeleteMachineGroupResponse) SetHeaders

func (*DeleteMachineGroupResponse) SetStatusCode

func (DeleteMachineGroupResponse) String

type DeleteProjectPolicyResponse

type DeleteProjectPolicyResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteProjectPolicyResponse) GoString

func (s DeleteProjectPolicyResponse) GoString() string

func (*DeleteProjectPolicyResponse) SetHeaders

func (*DeleteProjectPolicyResponse) SetStatusCode

func (DeleteProjectPolicyResponse) String

type DeleteProjectResponse

type DeleteProjectResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteProjectResponse) GoString

func (s DeleteProjectResponse) GoString() string

func (*DeleteProjectResponse) SetHeaders

func (*DeleteProjectResponse) SetStatusCode

func (s *DeleteProjectResponse) SetStatusCode(v int32) *DeleteProjectResponse

func (DeleteProjectResponse) String

func (s DeleteProjectResponse) String() string

type DeleteSavedSearchResponse

type DeleteSavedSearchResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteSavedSearchResponse) GoString

func (s DeleteSavedSearchResponse) GoString() string

func (*DeleteSavedSearchResponse) SetHeaders

func (*DeleteSavedSearchResponse) SetStatusCode

func (DeleteSavedSearchResponse) String

func (s DeleteSavedSearchResponse) String() string

type DeleteShipperResponse

type DeleteShipperResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (DeleteShipperResponse) GoString

func (s DeleteShipperResponse) GoString() string

func (*DeleteShipperResponse) SetHeaders

func (*DeleteShipperResponse) SetStatusCode

func (s *DeleteShipperResponse) SetStatusCode(v int32) *DeleteShipperResponse

func (DeleteShipperResponse) String

func (s DeleteShipperResponse) String() string

type DisableAlertResponse added in v5.4.0

type DisableAlertResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       interface{}        `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (DisableAlertResponse) GoString added in v5.4.0

func (s DisableAlertResponse) GoString() string

func (*DisableAlertResponse) SetBody added in v5.4.0

func (s *DisableAlertResponse) SetBody(v interface{}) *DisableAlertResponse

func (*DisableAlertResponse) SetHeaders added in v5.4.0

func (s *DisableAlertResponse) SetHeaders(v map[string]*string) *DisableAlertResponse

func (*DisableAlertResponse) SetStatusCode added in v5.4.0

func (s *DisableAlertResponse) SetStatusCode(v int32) *DisableAlertResponse

func (DisableAlertResponse) String added in v5.4.0

func (s DisableAlertResponse) String() string

type EnableAlertResponse added in v5.4.0

type EnableAlertResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       interface{}        `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (EnableAlertResponse) GoString added in v5.4.0

func (s EnableAlertResponse) GoString() string

func (*EnableAlertResponse) SetBody added in v5.4.0

func (s *EnableAlertResponse) SetBody(v interface{}) *EnableAlertResponse

func (*EnableAlertResponse) SetHeaders added in v5.4.0

func (s *EnableAlertResponse) SetHeaders(v map[string]*string) *EnableAlertResponse

func (*EnableAlertResponse) SetStatusCode added in v5.4.0

func (s *EnableAlertResponse) SetStatusCode(v int32) *EnableAlertResponse

func (EnableAlertResponse) String added in v5.4.0

func (s EnableAlertResponse) String() string

type EncryptConf

type EncryptConf struct {
	Enable      *bool               `json:"enable,omitempty" xml:"enable,omitempty"`
	EncryptType *string             `json:"encrypt_type,omitempty" xml:"encrypt_type,omitempty"`
	UserCmkInfo *EncryptUserCmkConf `json:"user_cmk_info,omitempty" xml:"user_cmk_info,omitempty"`
}

func (EncryptConf) GoString

func (s EncryptConf) GoString() string

func (*EncryptConf) SetEnable

func (s *EncryptConf) SetEnable(v bool) *EncryptConf

func (*EncryptConf) SetEncryptType

func (s *EncryptConf) SetEncryptType(v string) *EncryptConf

func (*EncryptConf) SetUserCmkInfo

func (s *EncryptConf) SetUserCmkInfo(v *EncryptUserCmkConf) *EncryptConf

func (EncryptConf) String

func (s EncryptConf) String() string

type EncryptUserCmkConf

type EncryptUserCmkConf struct {
	Arn      *string `json:"arn,omitempty" xml:"arn,omitempty"`
	CmkKeyId *string `json:"cmk_key_id,omitempty" xml:"cmk_key_id,omitempty"`
	RegionId *string `json:"region_id,omitempty" xml:"region_id,omitempty"`
}

func (EncryptUserCmkConf) GoString

func (s EncryptUserCmkConf) GoString() string

func (*EncryptUserCmkConf) SetArn

func (*EncryptUserCmkConf) SetCmkKeyId

func (s *EncryptUserCmkConf) SetCmkKeyId(v string) *EncryptUserCmkConf

func (*EncryptUserCmkConf) SetRegionId

func (s *EncryptUserCmkConf) SetRegionId(v string) *EncryptUserCmkConf

func (EncryptUserCmkConf) String

func (s EncryptUserCmkConf) String() string

type EtlJob

type EtlJob struct {
	Enable            *bool                  `json:"enable,omitempty" xml:"enable,omitempty"`
	EtlJobName        *string                `json:"etlJobName,omitempty" xml:"etlJobName,omitempty"`
	FunctionConfig    *EtlJobFunctionConfig  `json:"functionConfig,omitempty" xml:"functionConfig,omitempty" type:"Struct"`
	FunctionParameter map[string]interface{} `json:"functionParameter,omitempty" xml:"functionParameter,omitempty"`
	LogConfig         *EtlJobLogConfig       `json:"logConfig,omitempty" xml:"logConfig,omitempty" type:"Struct"`
	SourceConfig      *EtlJobSourceConfig    `json:"sourceConfig,omitempty" xml:"sourceConfig,omitempty" type:"Struct"`
	TriggerConfig     *EtlJobTriggerConfig   `json:"triggerConfig,omitempty" xml:"triggerConfig,omitempty" type:"Struct"`
}

func (EtlJob) GoString

func (s EtlJob) GoString() string

func (*EtlJob) SetEnable

func (s *EtlJob) SetEnable(v bool) *EtlJob

func (*EtlJob) SetEtlJobName

func (s *EtlJob) SetEtlJobName(v string) *EtlJob

func (*EtlJob) SetFunctionConfig

func (s *EtlJob) SetFunctionConfig(v *EtlJobFunctionConfig) *EtlJob

func (*EtlJob) SetFunctionParameter

func (s *EtlJob) SetFunctionParameter(v map[string]interface{}) *EtlJob

func (*EtlJob) SetLogConfig

func (s *EtlJob) SetLogConfig(v *EtlJobLogConfig) *EtlJob

func (*EtlJob) SetSourceConfig

func (s *EtlJob) SetSourceConfig(v *EtlJobSourceConfig) *EtlJob

func (*EtlJob) SetTriggerConfig

func (s *EtlJob) SetTriggerConfig(v *EtlJobTriggerConfig) *EtlJob

func (EtlJob) String

func (s EtlJob) String() string

type EtlJobFunctionConfig

type EtlJobFunctionConfig struct {
	AccountId        *string `json:"accountId,omitempty" xml:"accountId,omitempty"`
	Endpoint         *string `json:"endpoint,omitempty" xml:"endpoint,omitempty"`
	FunctionName     *string `json:"functionName,omitempty" xml:"functionName,omitempty"`
	FunctionProvider *string `json:"functionProvider,omitempty" xml:"functionProvider,omitempty"`
	RegionName       *string `json:"regionName,omitempty" xml:"regionName,omitempty"`
	RoleArn          *string `json:"roleArn,omitempty" xml:"roleArn,omitempty"`
	ServiceName      *string `json:"serviceName,omitempty" xml:"serviceName,omitempty"`
}

func (EtlJobFunctionConfig) GoString

func (s EtlJobFunctionConfig) GoString() string

func (*EtlJobFunctionConfig) SetAccountId

func (s *EtlJobFunctionConfig) SetAccountId(v string) *EtlJobFunctionConfig

func (*EtlJobFunctionConfig) SetEndpoint

func (*EtlJobFunctionConfig) SetFunctionName

func (s *EtlJobFunctionConfig) SetFunctionName(v string) *EtlJobFunctionConfig

func (*EtlJobFunctionConfig) SetFunctionProvider

func (s *EtlJobFunctionConfig) SetFunctionProvider(v string) *EtlJobFunctionConfig

func (*EtlJobFunctionConfig) SetRegionName

func (s *EtlJobFunctionConfig) SetRegionName(v string) *EtlJobFunctionConfig

func (*EtlJobFunctionConfig) SetRoleArn

func (*EtlJobFunctionConfig) SetServiceName

func (s *EtlJobFunctionConfig) SetServiceName(v string) *EtlJobFunctionConfig

func (EtlJobFunctionConfig) String

func (s EtlJobFunctionConfig) String() string

type EtlJobLogConfig

type EtlJobLogConfig struct {
	Endpoint     *string `json:"endpoint,omitempty" xml:"endpoint,omitempty"`
	LogstoreName *string `json:"logstoreName,omitempty" xml:"logstoreName,omitempty"`
	ProjectName  *string `json:"projectName,omitempty" xml:"projectName,omitempty"`
}

func (EtlJobLogConfig) GoString

func (s EtlJobLogConfig) GoString() string

func (*EtlJobLogConfig) SetEndpoint

func (s *EtlJobLogConfig) SetEndpoint(v string) *EtlJobLogConfig

func (*EtlJobLogConfig) SetLogstoreName

func (s *EtlJobLogConfig) SetLogstoreName(v string) *EtlJobLogConfig

func (*EtlJobLogConfig) SetProjectName

func (s *EtlJobLogConfig) SetProjectName(v string) *EtlJobLogConfig

func (EtlJobLogConfig) String

func (s EtlJobLogConfig) String() string

type EtlJobSourceConfig

type EtlJobSourceConfig struct {
	LogstoreName *string `json:"logstoreName,omitempty" xml:"logstoreName,omitempty"`
}

func (EtlJobSourceConfig) GoString

func (s EtlJobSourceConfig) GoString() string

func (*EtlJobSourceConfig) SetLogstoreName

func (s *EtlJobSourceConfig) SetLogstoreName(v string) *EtlJobSourceConfig

func (EtlJobSourceConfig) String

func (s EtlJobSourceConfig) String() string

type EtlJobTriggerConfig

type EtlJobTriggerConfig struct {
	MaxRetryTime     *int32  `json:"maxRetryTime,omitempty" xml:"maxRetryTime,omitempty"`
	RoleArn          *string `json:"roleArn,omitempty" xml:"roleArn,omitempty"`
	StartingPosition *string `json:"startingPosition,omitempty" xml:"startingPosition,omitempty"`
	StartingUnixtime *int64  `json:"startingUnixtime,omitempty" xml:"startingUnixtime,omitempty"`
	TriggerInterval  *int32  `json:"triggerInterval,omitempty" xml:"triggerInterval,omitempty"`
}

func (EtlJobTriggerConfig) GoString

func (s EtlJobTriggerConfig) GoString() string

func (*EtlJobTriggerConfig) SetMaxRetryTime

func (s *EtlJobTriggerConfig) SetMaxRetryTime(v int32) *EtlJobTriggerConfig

func (*EtlJobTriggerConfig) SetRoleArn

func (*EtlJobTriggerConfig) SetStartingPosition

func (s *EtlJobTriggerConfig) SetStartingPosition(v string) *EtlJobTriggerConfig

func (*EtlJobTriggerConfig) SetStartingUnixtime

func (s *EtlJobTriggerConfig) SetStartingUnixtime(v int64) *EtlJobTriggerConfig

func (*EtlJobTriggerConfig) SetTriggerInterval

func (s *EtlJobTriggerConfig) SetTriggerInterval(v int32) *EtlJobTriggerConfig

func (EtlJobTriggerConfig) String

func (s EtlJobTriggerConfig) String() string

type EtlMeta

type EtlMeta struct {
	Enable       *bool   `json:"enable,omitempty" xml:"enable,omitempty"`
	EtlMetaKey   *string `json:"etlMetaKey,omitempty" xml:"etlMetaKey,omitempty"`
	EtlMetaName  *string `json:"etlMetaName,omitempty" xml:"etlMetaName,omitempty"`
	EtlMetaTag   *string `json:"etlMetaTag,omitempty" xml:"etlMetaTag,omitempty"`
	EtlMetaValue *string `json:"etlMetaValue,omitempty" xml:"etlMetaValue,omitempty"`
}

func (EtlMeta) GoString

func (s EtlMeta) GoString() string

func (*EtlMeta) SetEnable

func (s *EtlMeta) SetEnable(v bool) *EtlMeta

func (*EtlMeta) SetEtlMetaKey

func (s *EtlMeta) SetEtlMetaKey(v string) *EtlMeta

func (*EtlMeta) SetEtlMetaName

func (s *EtlMeta) SetEtlMetaName(v string) *EtlMeta

func (*EtlMeta) SetEtlMetaTag

func (s *EtlMeta) SetEtlMetaTag(v string) *EtlMeta

func (*EtlMeta) SetEtlMetaValue

func (s *EtlMeta) SetEtlMetaValue(v string) *EtlMeta

func (EtlMeta) String

func (s EtlMeta) String() string

type ExternalStore

type ExternalStore struct {
	ExternalStoreName *string                `json:"externalStoreName,omitempty" xml:"externalStoreName,omitempty"`
	Parameter         map[string]interface{} `json:"parameter,omitempty" xml:"parameter,omitempty"`
	StoreType         *string                `json:"storeType,omitempty" xml:"storeType,omitempty"`
}

func (ExternalStore) GoString

func (s ExternalStore) GoString() string

func (*ExternalStore) SetExternalStoreName

func (s *ExternalStore) SetExternalStoreName(v string) *ExternalStore

func (*ExternalStore) SetParameter

func (s *ExternalStore) SetParameter(v map[string]interface{}) *ExternalStore

func (*ExternalStore) SetStoreType

func (s *ExternalStore) SetStoreType(v string) *ExternalStore

func (ExternalStore) String

func (s ExternalStore) String() string

type GetAlertResponse added in v5.4.0

type GetAlertResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *AlertResp         `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetAlertResponse) GoString added in v5.4.0

func (s GetAlertResponse) GoString() string

func (*GetAlertResponse) SetBody added in v5.4.0

func (*GetAlertResponse) SetHeaders added in v5.4.0

func (s *GetAlertResponse) SetHeaders(v map[string]*string) *GetAlertResponse

func (*GetAlertResponse) SetStatusCode added in v5.4.0

func (s *GetAlertResponse) SetStatusCode(v int32) *GetAlertResponse

func (GetAlertResponse) String added in v5.4.0

func (s GetAlertResponse) String() string

type GetAnnotationDataResponse

type GetAnnotationDataResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *MLDataParam       `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetAnnotationDataResponse) GoString

func (s GetAnnotationDataResponse) GoString() string

func (*GetAnnotationDataResponse) SetBody

func (*GetAnnotationDataResponse) SetHeaders

func (*GetAnnotationDataResponse) SetStatusCode

func (GetAnnotationDataResponse) String

func (s GetAnnotationDataResponse) String() string

type GetAnnotationDataSetResponse

type GetAnnotationDataSetResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *MLDataSetParam    `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetAnnotationDataSetResponse) GoString

func (s GetAnnotationDataSetResponse) GoString() string

func (*GetAnnotationDataSetResponse) SetBody

func (*GetAnnotationDataSetResponse) SetHeaders

func (*GetAnnotationDataSetResponse) SetStatusCode

func (GetAnnotationDataSetResponse) String

type GetAnnotationLabelResponse

type GetAnnotationLabelResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *MLLabelParam      `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetAnnotationLabelResponse) GoString

func (s GetAnnotationLabelResponse) GoString() string

func (*GetAnnotationLabelResponse) SetBody

func (*GetAnnotationLabelResponse) SetHeaders

func (*GetAnnotationLabelResponse) SetStatusCode

func (GetAnnotationLabelResponse) String

type GetAppliedConfigsResponse

type GetAppliedConfigsResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetAppliedConfigsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetAppliedConfigsResponse) GoString

func (s GetAppliedConfigsResponse) GoString() string

func (*GetAppliedConfigsResponse) SetBody

func (*GetAppliedConfigsResponse) SetHeaders

func (*GetAppliedConfigsResponse) SetStatusCode

func (GetAppliedConfigsResponse) String

func (s GetAppliedConfigsResponse) String() string

type GetAppliedConfigsResponseBody

type GetAppliedConfigsResponseBody struct {
	// The names of the Logtail configurations.
	Configs []*string `json:"configs,omitempty" xml:"configs,omitempty" type:"Repeated"`
	// The number of Logtail configurations.
	Count *int32 `json:"count,omitempty" xml:"count,omitempty"`
}

func (GetAppliedConfigsResponseBody) GoString

func (*GetAppliedConfigsResponseBody) SetConfigs

func (*GetAppliedConfigsResponseBody) SetCount

func (GetAppliedConfigsResponseBody) String

type GetAppliedMachineGroupsResponse

type GetAppliedMachineGroupsResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetAppliedMachineGroupsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetAppliedMachineGroupsResponse) GoString

func (*GetAppliedMachineGroupsResponse) SetHeaders

func (*GetAppliedMachineGroupsResponse) SetStatusCode

func (GetAppliedMachineGroupsResponse) String

type GetAppliedMachineGroupsResponseBody

type GetAppliedMachineGroupsResponseBody struct {
	// The number of returned machine groups.
	Count *int32 `json:"count,omitempty" xml:"count,omitempty"`
	// The names of the returned machine groups.
	Machinegroups []*string `json:"machinegroups,omitempty" xml:"machinegroups,omitempty" type:"Repeated"`
}

func (GetAppliedMachineGroupsResponseBody) GoString

func (*GetAppliedMachineGroupsResponseBody) SetCount

func (*GetAppliedMachineGroupsResponseBody) SetMachinegroups

func (GetAppliedMachineGroupsResponseBody) String

type GetCheckPointRequest

type GetCheckPointRequest struct {
	// The shard ID.
	//
	// *   If the specified shard does not exist, an empty list is returned.
	// *   If no shard ID is specified, the checkpoints of all shards are returned.
	Shard *int32 `json:"shard,omitempty" xml:"shard,omitempty"`
}

func (GetCheckPointRequest) GoString

func (s GetCheckPointRequest) GoString() string

func (*GetCheckPointRequest) SetShard

func (GetCheckPointRequest) String

func (s GetCheckPointRequest) String() string

type GetCheckPointResponse

type GetCheckPointResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       []*GetCheckPointResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true" type:"Repeated"`
}

func (GetCheckPointResponse) GoString

func (s GetCheckPointResponse) GoString() string

func (*GetCheckPointResponse) SetBody

func (*GetCheckPointResponse) SetHeaders

func (*GetCheckPointResponse) SetStatusCode

func (s *GetCheckPointResponse) SetStatusCode(v int32) *GetCheckPointResponse

func (GetCheckPointResponse) String

func (s GetCheckPointResponse) String() string

type GetCheckPointResponseBody

type GetCheckPointResponseBody struct {
	// The shard ID.
	Shard *int32 `json:"shard,omitempty" xml:"shard,omitempty"`
	// The value of the checkpoint.
	Checkpoint *string `json:"checkpoint,omitempty" xml:"checkpoint,omitempty"`
	// The time when the checkpoint was last updated. The value is a UNIX timestamp representing the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
	UpdateTime *int64 `json:"updateTime,omitempty" xml:"updateTime,omitempty"`
	// The consumer at the checkpoint.
	Consumer *string `json:"consumer,omitempty" xml:"consumer,omitempty"`
}

func (GetCheckPointResponseBody) GoString

func (s GetCheckPointResponseBody) GoString() string

func (*GetCheckPointResponseBody) SetCheckpoint

func (*GetCheckPointResponseBody) SetConsumer

func (*GetCheckPointResponseBody) SetShard

func (*GetCheckPointResponseBody) SetUpdateTime

func (GetCheckPointResponseBody) String

func (s GetCheckPointResponseBody) String() string

type GetCollectionPolicyRequest

type GetCollectionPolicyRequest struct {
	DataCode    *string `json:"dataCode,omitempty" xml:"dataCode,omitempty"`
	ProductCode *string `json:"productCode,omitempty" xml:"productCode,omitempty"`
}

func (GetCollectionPolicyRequest) GoString

func (s GetCollectionPolicyRequest) GoString() string

func (*GetCollectionPolicyRequest) SetDataCode

func (*GetCollectionPolicyRequest) SetProductCode

func (GetCollectionPolicyRequest) String

type GetCollectionPolicyResponse

type GetCollectionPolicyResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetCollectionPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetCollectionPolicyResponse) GoString

func (s GetCollectionPolicyResponse) GoString() string

func (*GetCollectionPolicyResponse) SetBody

func (*GetCollectionPolicyResponse) SetHeaders

func (*GetCollectionPolicyResponse) SetStatusCode

func (GetCollectionPolicyResponse) String

type GetCollectionPolicyResponseBody

type GetCollectionPolicyResponseBody struct {
	CollectionPolicy *GetCollectionPolicyResponseBodyCollectionPolicy `json:"collectionPolicy,omitempty" xml:"collectionPolicy,omitempty" type:"Struct"`
}

func (GetCollectionPolicyResponseBody) GoString

func (GetCollectionPolicyResponseBody) String

type GetCollectionPolicyResponseBodyCollectionPolicy

type GetCollectionPolicyResponseBodyCollectionPolicy struct {
	Attribute         *GetCollectionPolicyResponseBodyCollectionPolicyAttribute        `json:"attribute,omitempty" xml:"attribute,omitempty" type:"Struct"`
	CentralizeConfig  *GetCollectionPolicyResponseBodyCollectionPolicyCentralizeConfig `json:"centralizeConfig,omitempty" xml:"centralizeConfig,omitempty" type:"Struct"`
	CentralizeEnabled *bool                                                            `json:"centralizeEnabled,omitempty" xml:"centralizeEnabled,omitempty"`
	DataCode          *string                                                          `json:"dataCode,omitempty" xml:"dataCode,omitempty"`
	Enabled           *string                                                          `json:"enabled,omitempty" xml:"enabled,omitempty"`
	PolicyConfig      *GetCollectionPolicyResponseBodyCollectionPolicyPolicyConfig     `json:"policyConfig,omitempty" xml:"policyConfig,omitempty" type:"Struct"`
	PolicyName        *string                                                          `json:"policyName,omitempty" xml:"policyName,omitempty"`
	ProductCode       *string                                                          `json:"productCode,omitempty" xml:"productCode,omitempty"`
}

func (GetCollectionPolicyResponseBodyCollectionPolicy) GoString

func (*GetCollectionPolicyResponseBodyCollectionPolicy) SetCentralizeEnabled

func (*GetCollectionPolicyResponseBodyCollectionPolicy) SetDataCode

func (*GetCollectionPolicyResponseBodyCollectionPolicy) SetEnabled

func (*GetCollectionPolicyResponseBodyCollectionPolicy) SetPolicyName

func (*GetCollectionPolicyResponseBodyCollectionPolicy) SetProductCode

func (GetCollectionPolicyResponseBodyCollectionPolicy) String

type GetCollectionPolicyResponseBodyCollectionPolicyAttribute

type GetCollectionPolicyResponseBodyCollectionPolicyAttribute struct {
	App         *string `json:"app,omitempty" xml:"app,omitempty"`
	PolicyGroup *string `json:"policyGroup,omitempty" xml:"policyGroup,omitempty"`
}

func (GetCollectionPolicyResponseBodyCollectionPolicyAttribute) GoString

func (*GetCollectionPolicyResponseBodyCollectionPolicyAttribute) SetApp

func (*GetCollectionPolicyResponseBodyCollectionPolicyAttribute) SetPolicyGroup

func (GetCollectionPolicyResponseBodyCollectionPolicyAttribute) String

type GetCollectionPolicyResponseBodyCollectionPolicyCentralizeConfig

type GetCollectionPolicyResponseBodyCollectionPolicyCentralizeConfig struct {
	DestLogstore *string `json:"destLogstore,omitempty" xml:"destLogstore,omitempty"`
	DestProject  *string `json:"destProject,omitempty" xml:"destProject,omitempty"`
	DestRegion   *string `json:"destRegion,omitempty" xml:"destRegion,omitempty"`
	DestTTL      *int32  `json:"destTTL,omitempty" xml:"destTTL,omitempty"`
}

func (GetCollectionPolicyResponseBodyCollectionPolicyCentralizeConfig) GoString

func (*GetCollectionPolicyResponseBodyCollectionPolicyCentralizeConfig) SetDestLogstore

func (*GetCollectionPolicyResponseBodyCollectionPolicyCentralizeConfig) SetDestProject

func (*GetCollectionPolicyResponseBodyCollectionPolicyCentralizeConfig) SetDestRegion

func (*GetCollectionPolicyResponseBodyCollectionPolicyCentralizeConfig) SetDestTTL

func (GetCollectionPolicyResponseBodyCollectionPolicyCentralizeConfig) String

type GetCollectionPolicyResponseBodyCollectionPolicyPolicyConfig

type GetCollectionPolicyResponseBodyCollectionPolicyPolicyConfig struct {
	InstanceIds  []*string              `json:"instanceIds,omitempty" xml:"instanceIds,omitempty" type:"Repeated"`
	Regions      []*string              `json:"regions,omitempty" xml:"regions,omitempty" type:"Repeated"`
	ResourceMode *string                `json:"resourceMode,omitempty" xml:"resourceMode,omitempty"`
	ResourceTags map[string]interface{} `json:"resourceTags,omitempty" xml:"resourceTags,omitempty"`
}

func (GetCollectionPolicyResponseBodyCollectionPolicyPolicyConfig) GoString

func (*GetCollectionPolicyResponseBodyCollectionPolicyPolicyConfig) SetInstanceIds

func (*GetCollectionPolicyResponseBodyCollectionPolicyPolicyConfig) SetRegions

func (*GetCollectionPolicyResponseBodyCollectionPolicyPolicyConfig) SetResourceMode

func (*GetCollectionPolicyResponseBodyCollectionPolicyPolicyConfig) SetResourceTags

func (GetCollectionPolicyResponseBodyCollectionPolicyPolicyConfig) String

type GetConfigResponse

type GetConfigResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *LogtailConfig     `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetConfigResponse) GoString

func (s GetConfigResponse) GoString() string

func (*GetConfigResponse) SetBody

func (*GetConfigResponse) SetHeaders

func (s *GetConfigResponse) SetHeaders(v map[string]*string) *GetConfigResponse

func (*GetConfigResponse) SetStatusCode

func (s *GetConfigResponse) SetStatusCode(v int32) *GetConfigResponse

func (GetConfigResponse) String

func (s GetConfigResponse) String() string

type GetContextLogsRequest

type GetContextLogsRequest struct {
	// The number of logs that you want to obtain and are generated before the generation time of the start log. Valid values: (0,100].
	BackLines *int64 `json:"back_lines,omitempty" xml:"back_lines,omitempty"`
	// The number of logs that you want to obtain and are generated after the generation time of the start log. Valid values: (0,100].
	ForwardLines *int64 `json:"forward_lines,omitempty" xml:"forward_lines,omitempty"`
	// The unique identifier of the log group to which the start log belongs.
	PackId *string `json:"pack_id,omitempty" xml:"pack_id,omitempty"`
	// The unique context identifier of the start log in the log group.
	PackMeta *string `json:"pack_meta,omitempty" xml:"pack_meta,omitempty"`
	// The type of the data in the Logstore. Set the value to context_log.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (GetContextLogsRequest) GoString

func (s GetContextLogsRequest) GoString() string

func (*GetContextLogsRequest) SetBackLines

func (*GetContextLogsRequest) SetForwardLines

func (s *GetContextLogsRequest) SetForwardLines(v int64) *GetContextLogsRequest

func (*GetContextLogsRequest) SetPackId

func (*GetContextLogsRequest) SetPackMeta

func (*GetContextLogsRequest) SetType

func (GetContextLogsRequest) String

func (s GetContextLogsRequest) String() string

type GetContextLogsResponse

type GetContextLogsResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetContextLogsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetContextLogsResponse) GoString

func (s GetContextLogsResponse) GoString() string

func (*GetContextLogsResponse) SetBody

func (*GetContextLogsResponse) SetHeaders

func (*GetContextLogsResponse) SetStatusCode

func (GetContextLogsResponse) String

func (s GetContextLogsResponse) String() string

type GetContextLogsResponseBody

type GetContextLogsResponseBody struct {
	// The number of logs that are generated before the generation time of the start log.
	BackLines *int64 `json:"back_lines,omitempty" xml:"back_lines,omitempty"`
	// The number of logs that are generated after the generation time of the start log.
	ForwardLines *int64 `json:"forward_lines,omitempty" xml:"forward_lines,omitempty"`
	// The logs that are returned.
	Logs []map[string]interface{} `json:"logs,omitempty" xml:"logs,omitempty" type:"Repeated"`
	// Indicates whether the query and analysis results are complete. Valid values:
	//
	// *   Complete: The query is successful, and the complete query and analysis results are returned.
	// *   Incomplete: The query is successful, but the query and analysis results are incomplete. To obtain the complete results, you must repeat the request.
	Progress *string `json:"progress,omitempty" xml:"progress,omitempty"`
	// The total number of logs that are returned. The logs include the start log that is specified in the request.
	TotalLines *int64 `json:"total_lines,omitempty" xml:"total_lines,omitempty"`
}

func (GetContextLogsResponseBody) GoString

func (s GetContextLogsResponseBody) GoString() string

func (*GetContextLogsResponseBody) SetBackLines

func (*GetContextLogsResponseBody) SetForwardLines

func (*GetContextLogsResponseBody) SetLogs

func (s *GetContextLogsResponseBody) SetLogs(v []map[string]interface{}) *GetContextLogsResponseBody

func (*GetContextLogsResponseBody) SetProgress

func (*GetContextLogsResponseBody) SetTotalLines

func (GetContextLogsResponseBody) String

type GetCursorRequest

type GetCursorRequest struct {
	// The point in time that you want to use to query a cursor. Set the value to a UNIX timestamp or a string such as `begin` and `end`.
	From *string `json:"from,omitempty" xml:"from,omitempty"`
}

func (GetCursorRequest) GoString

func (s GetCursorRequest) GoString() string

func (*GetCursorRequest) SetFrom

func (s *GetCursorRequest) SetFrom(v string) *GetCursorRequest

func (GetCursorRequest) String

func (s GetCursorRequest) String() string

type GetCursorResponse

type GetCursorResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetCursorResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetCursorResponse) GoString

func (s GetCursorResponse) GoString() string

func (*GetCursorResponse) SetBody

func (*GetCursorResponse) SetHeaders

func (s *GetCursorResponse) SetHeaders(v map[string]*string) *GetCursorResponse

func (*GetCursorResponse) SetStatusCode

func (s *GetCursorResponse) SetStatusCode(v int32) *GetCursorResponse

func (GetCursorResponse) String

func (s GetCursorResponse) String() string

type GetCursorResponseBody

type GetCursorResponseBody struct {
	// The value of the cursor.
	Cursor *string `json:"cursor,omitempty" xml:"cursor,omitempty"`
}

func (GetCursorResponseBody) GoString

func (s GetCursorResponseBody) GoString() string

func (*GetCursorResponseBody) SetCursor

func (GetCursorResponseBody) String

func (s GetCursorResponseBody) String() string

type GetCursorTimeRequest

type GetCursorTimeRequest struct {
	// The cursor.
	Cursor *string `json:"cursor,omitempty" xml:"cursor,omitempty"`
}

func (GetCursorTimeRequest) GoString

func (s GetCursorTimeRequest) GoString() string

func (*GetCursorTimeRequest) SetCursor

func (GetCursorTimeRequest) String

func (s GetCursorTimeRequest) String() string

type GetCursorTimeResponse

type GetCursorTimeResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetCursorTimeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetCursorTimeResponse) GoString

func (s GetCursorTimeResponse) GoString() string

func (*GetCursorTimeResponse) SetBody

func (*GetCursorTimeResponse) SetHeaders

func (*GetCursorTimeResponse) SetStatusCode

func (s *GetCursorTimeResponse) SetStatusCode(v int32) *GetCursorTimeResponse

func (GetCursorTimeResponse) String

func (s GetCursorTimeResponse) String() string

type GetCursorTimeResponseBody

type GetCursorTimeResponseBody struct {
	// The server time that is queried based on the cursor. The value is a UNIX timestamp representing the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.
	CursorTime *string `json:"cursor_time,omitempty" xml:"cursor_time,omitempty"`
}

func (GetCursorTimeResponseBody) GoString

func (s GetCursorTimeResponseBody) GoString() string

func (*GetCursorTimeResponseBody) SetCursorTime

func (GetCursorTimeResponseBody) String

func (s GetCursorTimeResponseBody) String() string

type GetDashboardResponse

type GetDashboardResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *Dashboard         `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetDashboardResponse) GoString

func (s GetDashboardResponse) GoString() string

func (*GetDashboardResponse) SetBody

func (*GetDashboardResponse) SetHeaders

func (s *GetDashboardResponse) SetHeaders(v map[string]*string) *GetDashboardResponse

func (*GetDashboardResponse) SetStatusCode

func (s *GetDashboardResponse) SetStatusCode(v int32) *GetDashboardResponse

func (GetDashboardResponse) String

func (s GetDashboardResponse) String() string

type GetExternalStoreResponse

type GetExternalStoreResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ExternalStore     `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetExternalStoreResponse) GoString

func (s GetExternalStoreResponse) GoString() string

func (*GetExternalStoreResponse) SetBody

func (*GetExternalStoreResponse) SetHeaders

func (*GetExternalStoreResponse) SetStatusCode

func (GetExternalStoreResponse) String

func (s GetExternalStoreResponse) String() string

type GetHistogramsRequest

type GetHistogramsRequest struct {
	// The start time of the subinterval. The value is a UNIX timestamp representing the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
	From *int64 `json:"from,omitempty" xml:"from,omitempty"`
	// The search statement. Only search statements are supported. Analytic statements are not supported. For more information about the syntax of search statements, see [Log search overview](~~43772~~).
	Query *string `json:"query,omitempty" xml:"query,omitempty"`
	// The end time of the subinterval. The value is a UNIX timestamp representing the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
	To *int64 `json:"to,omitempty" xml:"to,omitempty"`
	// The topic of the logs.
	Topic *string `json:"topic,omitempty" xml:"topic,omitempty"`
}

func (GetHistogramsRequest) GoString

func (s GetHistogramsRequest) GoString() string

func (*GetHistogramsRequest) SetFrom

func (*GetHistogramsRequest) SetQuery

func (*GetHistogramsRequest) SetTo

func (*GetHistogramsRequest) SetTopic

func (GetHistogramsRequest) String

func (s GetHistogramsRequest) String() string

type GetHistogramsResponse

type GetHistogramsResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       []*GetHistogramsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true" type:"Repeated"`
}

func (GetHistogramsResponse) GoString

func (s GetHistogramsResponse) GoString() string

func (*GetHistogramsResponse) SetBody

func (*GetHistogramsResponse) SetHeaders

func (*GetHistogramsResponse) SetStatusCode

func (s *GetHistogramsResponse) SetStatusCode(v int32) *GetHistogramsResponse

func (GetHistogramsResponse) String

func (s GetHistogramsResponse) String() string

type GetHistogramsResponseBody

type GetHistogramsResponseBody struct {
	// The start time of the subinterval. The value is a UNIX timestamp representing the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
	//
	// The time range that is specified in this operation is a left-closed, right-open interval. The interval includes the start time specified by the from parameter, but does not include the end time specified by the to parameter. If you specify the same value for the from and to parameters, the interval is invalid, and an error message is returned.
	From *int64 `json:"from,omitempty" xml:"from,omitempty"`
	// The end time of the subinterval. The value is a UNIX timestamp representing the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
	//
	// The time range that is specified in this operation is a left-closed, right-open interval. The interval includes the start time specified by the from parameter, but does not include the end time specified by the to parameter. If you specify the same value for the from and to parameters, the interval is invalid, and an error message is returned.
	To *int64 `json:"to,omitempty" xml:"to,omitempty"`
	// The number of logs that are generated within the subinterval.
	Count *int64 `json:"count,omitempty" xml:"count,omitempty"`
	// Indicates whether the query and analysis results in the subinterval is complete. Valid values:
	//
	// Complete: The query is successful, and the complete query and analysis results are returned.
	//
	// Incomplete: The query is successful, but the query and analysis results are incomplete. To obtain the complete results, you must repeat the request.
	Progress *string `json:"progress,omitempty" xml:"progress,omitempty"`
}

func (GetHistogramsResponseBody) GoString

func (s GetHistogramsResponseBody) GoString() string

func (*GetHistogramsResponseBody) SetCount

func (*GetHistogramsResponseBody) SetFrom

func (*GetHistogramsResponseBody) SetProgress

func (*GetHistogramsResponseBody) SetTo

func (GetHistogramsResponseBody) String

func (s GetHistogramsResponseBody) String() string

type GetIndexResponse

type GetIndexResponse struct {
	Headers    map[string]*string    `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetIndexResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetIndexResponse) GoString

func (s GetIndexResponse) GoString() string

func (*GetIndexResponse) SetBody

func (*GetIndexResponse) SetHeaders

func (s *GetIndexResponse) SetHeaders(v map[string]*string) *GetIndexResponse

func (*GetIndexResponse) SetStatusCode

func (s *GetIndexResponse) SetStatusCode(v int32) *GetIndexResponse

func (GetIndexResponse) String

func (s GetIndexResponse) String() string

type GetIndexResponseBody

type GetIndexResponseBody struct {
	// The type of the index.
	IndexMode *string `json:"index_mode,omitempty" xml:"index_mode,omitempty"`
	// The configurations of field indexes. A field index is in the key-value format in which the key specifies the name of the field and the value specifies the index configuration of the field.
	Keys map[string]*KeysValue `json:"keys,omitempty" xml:"keys,omitempty"`
	// The time when the index configurations were last updated. The value is a UNIX timestamp representing the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.
	LastModifyTime *int64 `json:"lastModifyTime,omitempty" xml:"lastModifyTime,omitempty"`
	// The configurations of full-text indexes.
	Line *GetIndexResponseBodyLine `json:"line,omitempty" xml:"line,omitempty" type:"Struct"`
	// Indicates whether the log clustering feature is enabled.
	LogReduce *bool `json:"log_reduce,omitempty" xml:"log_reduce,omitempty"`
	// The fields in the blacklist that are used to cluster logs. This parameter is valid only if the log clustering feature is enabled.
	LogReduceBlackList []*string `json:"log_reduce_black_list,omitempty" xml:"log_reduce_black_list,omitempty" type:"Repeated"`
	// The fields in the whitelist that are used to cluster logs. This parameter is valid only if the log clustering feature is enabled.
	LogReduceWhiteList []*string `json:"log_reduce_white_list,omitempty" xml:"log_reduce_white_list,omitempty" type:"Repeated"`
	// The maximum length of a field value that can be retained. Default value: 2048. Unit: bytes. The default value is equal to 2 KB. You can change the value of the max_text_len parameter. Valid values: 64 to 16384. Unit: bytes.
	MaxTextLen *int32 `json:"max_text_len,omitempty" xml:"max_text_len,omitempty"`
	// The storage type. The value is fixed as pg.
	Storage *string `json:"storage,omitempty" xml:"storage,omitempty"`
	// The lifecycle of the index file. Valid values: 7, 30, and 90. Unit: day.
	Ttl *int32 `json:"ttl,omitempty" xml:"ttl,omitempty"`
}

func (GetIndexResponseBody) GoString

func (s GetIndexResponseBody) GoString() string

func (*GetIndexResponseBody) SetIndexMode

func (s *GetIndexResponseBody) SetIndexMode(v string) *GetIndexResponseBody

func (*GetIndexResponseBody) SetKeys

func (*GetIndexResponseBody) SetLastModifyTime

func (s *GetIndexResponseBody) SetLastModifyTime(v int64) *GetIndexResponseBody

func (*GetIndexResponseBody) SetLine

func (*GetIndexResponseBody) SetLogReduce

func (s *GetIndexResponseBody) SetLogReduce(v bool) *GetIndexResponseBody

func (*GetIndexResponseBody) SetLogReduceBlackList

func (s *GetIndexResponseBody) SetLogReduceBlackList(v []*string) *GetIndexResponseBody

func (*GetIndexResponseBody) SetLogReduceWhiteList

func (s *GetIndexResponseBody) SetLogReduceWhiteList(v []*string) *GetIndexResponseBody

func (*GetIndexResponseBody) SetMaxTextLen

func (s *GetIndexResponseBody) SetMaxTextLen(v int32) *GetIndexResponseBody

func (*GetIndexResponseBody) SetStorage

func (*GetIndexResponseBody) SetTtl

func (GetIndexResponseBody) String

func (s GetIndexResponseBody) String() string

type GetIndexResponseBodyLine

type GetIndexResponseBodyLine struct {
	// Indicates whether case sensitivity is enabled. Valid values:
	//
	// *   true
	// *   false
	CaseSensitive *bool `json:"caseSensitive,omitempty" xml:"caseSensitive,omitempty"`
	// Indicates whether Chinese characters are included. Valid values:
	//
	// *   true
	// *   false
	Chn *bool `json:"chn,omitempty" xml:"chn,omitempty"`
	// The excluded fields.
	ExcludeKeys []*string `json:"exclude_keys,omitempty" xml:"exclude_keys,omitempty" type:"Repeated"`
	// The included fields.
	IncludeKeys []*string `json:"include_keys,omitempty" xml:"include_keys,omitempty" type:"Repeated"`
	// The delimiters.
	Token []*string `json:"token,omitempty" xml:"token,omitempty" type:"Repeated"`
}

func (GetIndexResponseBodyLine) GoString

func (s GetIndexResponseBodyLine) GoString() string

func (*GetIndexResponseBodyLine) SetCaseSensitive

func (s *GetIndexResponseBodyLine) SetCaseSensitive(v bool) *GetIndexResponseBodyLine

func (*GetIndexResponseBodyLine) SetChn

func (*GetIndexResponseBodyLine) SetExcludeKeys

func (s *GetIndexResponseBodyLine) SetExcludeKeys(v []*string) *GetIndexResponseBodyLine

func (*GetIndexResponseBodyLine) SetIncludeKeys

func (s *GetIndexResponseBodyLine) SetIncludeKeys(v []*string) *GetIndexResponseBodyLine

func (*GetIndexResponseBodyLine) SetToken

func (GetIndexResponseBodyLine) String

func (s GetIndexResponseBodyLine) String() string

type GetLogStoreMeteringModeResponse

type GetLogStoreMeteringModeResponse struct {
	Headers    map[string]*string                   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetLogStoreMeteringModeResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetLogStoreMeteringModeResponse) GoString

func (*GetLogStoreMeteringModeResponse) SetHeaders

func (*GetLogStoreMeteringModeResponse) SetStatusCode

func (GetLogStoreMeteringModeResponse) String

type GetLogStoreMeteringModeResponseBody

type GetLogStoreMeteringModeResponseBody struct {
	MeteringMode *string `json:"meteringMode,omitempty" xml:"meteringMode,omitempty"`
}

func (GetLogStoreMeteringModeResponseBody) GoString

func (*GetLogStoreMeteringModeResponseBody) SetMeteringMode

func (GetLogStoreMeteringModeResponseBody) String

type GetLogStoreResponse

type GetLogStoreResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *Logstore          `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetLogStoreResponse) GoString

func (s GetLogStoreResponse) GoString() string

func (*GetLogStoreResponse) SetBody

func (*GetLogStoreResponse) SetHeaders

func (s *GetLogStoreResponse) SetHeaders(v map[string]*string) *GetLogStoreResponse

func (*GetLogStoreResponse) SetStatusCode

func (s *GetLogStoreResponse) SetStatusCode(v int32) *GetLogStoreResponse

func (GetLogStoreResponse) String

func (s GetLogStoreResponse) String() string

type GetLoggingResponse

type GetLoggingResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *Logging           `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetLoggingResponse) GoString

func (s GetLoggingResponse) GoString() string

func (*GetLoggingResponse) SetBody

func (*GetLoggingResponse) SetHeaders

func (s *GetLoggingResponse) SetHeaders(v map[string]*string) *GetLoggingResponse

func (*GetLoggingResponse) SetStatusCode

func (s *GetLoggingResponse) SetStatusCode(v int32) *GetLoggingResponse

func (GetLoggingResponse) String

func (s GetLoggingResponse) String() string

type GetLogsRequest

type GetLogsRequest struct {
	// The beginning of the time range to query. The value is the log time that is specified when log data is written.
	//
	// *   The time range that is specified in this operation is a left-closed, right-open interval. The interval includes the start time specified by the **from** parameter, but does not include the end time specified by the **to** parameter. If you specify the same value for the **from** and **to** parameters, the interval is invalid, and an error message is returned.
	// *   The value is a UNIX timestamp representing the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.
	//
	// > To ensure that full data can be queried, specify a query time range that is accurate to the minute. If you also specify a time range in an analytic statement, Simple Log Service uses the time range specified in the analytic statement for query and analysis.
	//
	// If you want to specify a time range that is accurate to the second in your analytic statement, you must use the from_unixtime or to_unixtime function to convert the time format. For more information about the functions, see [from_unixtime function](~~63451~~) and [to_unixtime function](~~63451~~). Examples:
	//
	// *   `* | SELECT * FROM log WHERE from_unixtime(__time__) > from_unixtime(1664186624) AND from_unixtime(__time__) < now()`
	// *   `* | SELECT * FROM log WHERE __time__ > to_unixtime(date_parse(\"2022-10-19 15:46:05\", \"%Y-%m-%d %H:%i:%s\")) AND __time__ < to_unixtime(now())`
	From *int32 `json:"from,omitempty" xml:"from,omitempty"`
	// The maximum number of logs to return for the request. This parameter takes effect only when the query parameter is set to a search statement. Minimum value: 0. Maximum value: 100. Default value: 100.
	Line *int64 `json:"line,omitempty" xml:"line,omitempty"`
	// The line from which the query starts. This parameter takes effect only when the query parameter is set to a search statement. Default value: 0.
	Offset *int64 `json:"offset,omitempty" xml:"offset,omitempty"`
	// Specifies whether to enable the Dedicated SQL feature. For more information, see [Enable Dedicated SQL](~~223777~~). Valid values:
	//
	// *   true: enables the Dedicated SQL feature.
	// *   false (default): enables the Standard SQL feature.
	//
	// You can use the powerSql or **query** parameter to configure Dedicated SQL.
	PowerSql *bool `json:"powerSql,omitempty" xml:"powerSql,omitempty"`
	// The search statement or the query statement. For more information, see [Log search overview](~~43772~~) and [Log analysis overview](~~53608~~). If you add `set session parallel_sql=true;` to the analytic statement in the query parameter, Dedicated SQL is used. For example, you can set the query parameter to `* | set session parallel_sql=true; select count(*) as pv`. For more information about common errors that may occur during log query and analysis, see [How do I resolve common errors that occur when I query and analyze logs?](~~61628~~)
	//
	// > If you specify an analytic statement in the value of the query parameter, the line and offset parameters do not take effect. In this case, we recommend that you set the line and offset parameters to 0 and use the LIMIT clause to limit the number of logs to return on each page. For more information, see [Paged query](~~89994~~).
	Query *string `json:"query,omitempty" xml:"query,omitempty"`
	// Specifies whether to return logs in reverse chronological order of log timestamps. The log timestamps are accurate to the minute. Valid values:
	//
	// *   true: returns logs in reverse chronological order of log timestamps.
	// *   false (default): returns logs in chronological order of log timestamps.
	//
	// >
	//
	// *   The reverse parameter takes effect only when the query parameter is set to a search statement. The reverse parameter specifies the method used to sort returned logs.
	// *   If the query parameter is set to a query statement, the reverse parameter does not take effect. The method used to sort returned logs is specified by the ORDER BY clause in the analytic statement. If you use the keyword asc in the ORDER BY clause, the logs are sorted in chronological order. If you use the keyword desc in the ORDER BY clause, the logs are sorted in reverse chronological order. By default, asc is used in the ORDER BY clause.
	Reverse *bool `json:"reverse,omitempty" xml:"reverse,omitempty"`
	// The end of the time range to query. The value is the log time that is specified when log data is written.
	//
	// *   The time range that is specified in this operation is a left-closed, right-open interval. The interval includes the start time specified by the **from** parameter, but does not include the end time specified by the **to** parameter. If you specify the same value for the **from** and **to** parameters, the interval is invalid, and an error message is returned.
	// *   The value is a UNIX timestamp representing the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.
	//
	// > To ensure that full data can be queried, specify a query time range that is accurate to the minute. If you also specify a time range in an analytic statement, Simple Log Service uses the time range specified in the analytic statement for query and analysis.
	//
	// If you want to specify a time range that is accurate to the second in your analytic statement, you must use the from_unixtime or to_unixtime function to convert the time format. For more information about the functions, see [from_unixtime function](~~63451~~) and [to_unixtime function](~~63451~~). Examples:
	//
	// *   `* | SELECT * FROM log WHERE from_unixtime(__time__) > from_unixtime(1664186624) AND from_unixtime(__time__) < now()`
	// *   `* | SELECT * FROM log WHERE __time__ > to_unixtime(date_parse(\"2022-10-19 15:46:05\", \"%Y-%m-%d %H:%i:%s\")) AND __time__ < to_unixtime(now())`
	To *int32 `json:"to,omitempty" xml:"to,omitempty"`
	// The topic of the logs. The default value is double quotation marks (""). For more information, see [Topic](~~48881~~).
	Topic *string `json:"topic,omitempty" xml:"topic,omitempty"`
}

func (GetLogsRequest) GoString

func (s GetLogsRequest) GoString() string

func (*GetLogsRequest) SetFrom

func (s *GetLogsRequest) SetFrom(v int32) *GetLogsRequest

func (*GetLogsRequest) SetLine

func (s *GetLogsRequest) SetLine(v int64) *GetLogsRequest

func (*GetLogsRequest) SetOffset

func (s *GetLogsRequest) SetOffset(v int64) *GetLogsRequest

func (*GetLogsRequest) SetPowerSql

func (s *GetLogsRequest) SetPowerSql(v bool) *GetLogsRequest

func (*GetLogsRequest) SetQuery

func (s *GetLogsRequest) SetQuery(v string) *GetLogsRequest

func (*GetLogsRequest) SetReverse

func (s *GetLogsRequest) SetReverse(v bool) *GetLogsRequest

func (*GetLogsRequest) SetTo

func (s *GetLogsRequest) SetTo(v int32) *GetLogsRequest

func (*GetLogsRequest) SetTopic

func (s *GetLogsRequest) SetTopic(v string) *GetLogsRequest

func (GetLogsRequest) String

func (s GetLogsRequest) String() string

type GetLogsResponse

type GetLogsResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       []map[string]interface{} `json:"body,omitempty" xml:"body,omitempty" require:"true" type:"Repeated"`
}

func (GetLogsResponse) GoString

func (s GetLogsResponse) GoString() string

func (*GetLogsResponse) SetBody

func (s *GetLogsResponse) SetBody(v []map[string]interface{}) *GetLogsResponse

func (*GetLogsResponse) SetHeaders

func (s *GetLogsResponse) SetHeaders(v map[string]*string) *GetLogsResponse

func (*GetLogsResponse) SetStatusCode

func (s *GetLogsResponse) SetStatusCode(v int32) *GetLogsResponse

func (GetLogsResponse) String

func (s GetLogsResponse) String() string

type GetLogsV2Headers

type GetLogsV2Headers struct {
	CommonHeaders map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	// The compression method.
	AcceptEncoding *string `json:"Accept-Encoding,omitempty" xml:"Accept-Encoding,omitempty"`
}

func (GetLogsV2Headers) GoString

func (s GetLogsV2Headers) GoString() string

func (*GetLogsV2Headers) SetAcceptEncoding

func (s *GetLogsV2Headers) SetAcceptEncoding(v string) *GetLogsV2Headers

func (*GetLogsV2Headers) SetCommonHeaders

func (s *GetLogsV2Headers) SetCommonHeaders(v map[string]*string) *GetLogsV2Headers

func (GetLogsV2Headers) String

func (s GetLogsV2Headers) String() string

type GetLogsV2Request

type GetLogsV2Request struct {
	// Specifies whether to page forward or backward for the scan-based query or the phrase search.
	Forward *bool `json:"forward,omitempty" xml:"forward,omitempty"`
	// The beginning of the time range to query. The value is the log time that is specified when log data is written.
	//
	// The time range that is specified in this operation is a left-closed, right-open interval. The interval includes the start time specified by the from parameter, but does not include the end time specified by the to parameter. If you specify the same value for the from and to parameters, the interval is invalid, and an error message is returned. The value is a UNIX timestamp representing the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.
	From      *int32 `json:"from,omitempty" xml:"from,omitempty"`
	Highlight *bool  `json:"highlight,omitempty" xml:"highlight,omitempty"`
	// The maximum number of logs to return for the request. This parameter takes effect only when the query parameter is set to a search statement. Minimum value: 0. Maximum value: 100. Default value: 100.
	Line *int64 `json:"line,omitempty" xml:"line,omitempty"`
	// The line from which the query starts. This parameter takes effect only when the query parameter is set to a search statement. Default value: 0.
	Offset *int64 `json:"offset,omitempty" xml:"offset,omitempty"`
	// Specifies whether to enable the SQL enhancement feature. By default, the feature is disabled.
	PowerSql *bool `json:"powerSql,omitempty" xml:"powerSql,omitempty"`
	// The search statement or the query statement. For more information, see the "Log search overview" and "Log analysis overview" topics.
	//
	// If you add set session parallel_sql=true; to the analytic statement in the query parameter, Dedicated SQL is used. For example, you can set the query parameter to \* | set session parallel_sql=true; select count(\*) as pv.
	//
	// Note: If you specify an analytic statement in the query parameter, the line and offset parameters do not take effect in this operation. In this case, we recommend that you set the line and offset parameters to 0 and use the LIMIT clause to limit the number of logs to return on each page. For more information, see the "Perform paged queries" topic.
	Query *string `json:"query,omitempty" xml:"query,omitempty"`
	// Specifies whether to return logs in reverse chronological order of log timestamps. The log timestamps are accurate to the minute. Valid values:
	//
	// true: Logs are returned in reverse chronological order of log timestamps. false (default): Logs are returned in chronological order of log timestamps. Note: The reverse parameter takes effect only when the query parameter is set to a search statement. The reverse parameter specifies the method used to sort returned logs. If the query parameter is set to a query statement, the reverse parameter does not take effect. The method used to sort returned logs is specified by the ORDER BY clause in the analytic statement. If you use the keyword asc in the ORDER BY clause, the logs are sorted in chronological order. If you use the keyword desc in the ORDER BY clause, the logs are sorted in reverse chronological order. By default, asc is used in the ORDER BY clause.
	Reverse *bool `json:"reverse,omitempty" xml:"reverse,omitempty"`
	// The parameter that is used to query data.
	Session *string `json:"session,omitempty" xml:"session,omitempty"`
	// The ID of the shard.
	Shard *int32 `json:"shard,omitempty" xml:"shard,omitempty"`
	// The end of the time range to query. The value is the log time that is specified when log data is written.
	//
	// The time range that is specified in this operation is a left-closed, right-open interval. The interval includes the start time specified by the from parameter, but does not include the end time specified by the to parameter. If you specify the same value for the from and to parameters, the interval is invalid, and an error message is returned. The value is a UNIX timestamp representing the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.
	To *int32 `json:"to,omitempty" xml:"to,omitempty"`
	// The topic of the logs. Default value: double quotation marks ("").
	Topic *string `json:"topic,omitempty" xml:"topic,omitempty"`
}

func (GetLogsV2Request) GoString

func (s GetLogsV2Request) GoString() string

func (*GetLogsV2Request) SetForward

func (s *GetLogsV2Request) SetForward(v bool) *GetLogsV2Request

func (*GetLogsV2Request) SetFrom

func (s *GetLogsV2Request) SetFrom(v int32) *GetLogsV2Request

func (*GetLogsV2Request) SetHighlight added in v5.4.1

func (s *GetLogsV2Request) SetHighlight(v bool) *GetLogsV2Request

func (*GetLogsV2Request) SetLine

func (s *GetLogsV2Request) SetLine(v int64) *GetLogsV2Request

func (*GetLogsV2Request) SetOffset

func (s *GetLogsV2Request) SetOffset(v int64) *GetLogsV2Request

func (*GetLogsV2Request) SetPowerSql

func (s *GetLogsV2Request) SetPowerSql(v bool) *GetLogsV2Request

func (*GetLogsV2Request) SetQuery

func (s *GetLogsV2Request) SetQuery(v string) *GetLogsV2Request

func (*GetLogsV2Request) SetReverse

func (s *GetLogsV2Request) SetReverse(v bool) *GetLogsV2Request

func (*GetLogsV2Request) SetSession

func (s *GetLogsV2Request) SetSession(v string) *GetLogsV2Request

func (*GetLogsV2Request) SetShard

func (s *GetLogsV2Request) SetShard(v int32) *GetLogsV2Request

func (*GetLogsV2Request) SetTo

func (*GetLogsV2Request) SetTopic

func (s *GetLogsV2Request) SetTopic(v string) *GetLogsV2Request

func (GetLogsV2Request) String

func (s GetLogsV2Request) String() string

type GetLogsV2Response

type GetLogsV2Response struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetLogsV2ResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetLogsV2Response) GoString

func (s GetLogsV2Response) GoString() string

func (*GetLogsV2Response) SetBody

func (*GetLogsV2Response) SetHeaders

func (s *GetLogsV2Response) SetHeaders(v map[string]*string) *GetLogsV2Response

func (*GetLogsV2Response) SetStatusCode

func (s *GetLogsV2Response) SetStatusCode(v int32) *GetLogsV2Response

func (GetLogsV2Response) String

func (s GetLogsV2Response) String() string

type GetLogsV2ResponseBody

type GetLogsV2ResponseBody struct {
	// The returned result.
	Data []map[string]*string `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	// The metadata that is returned.
	Meta *GetLogsV2ResponseBodyMeta `json:"meta,omitempty" xml:"meta,omitempty" type:"Struct"`
}

func (GetLogsV2ResponseBody) GoString

func (s GetLogsV2ResponseBody) GoString() string

func (*GetLogsV2ResponseBody) SetData

func (*GetLogsV2ResponseBody) SetMeta

func (GetLogsV2ResponseBody) String

func (s GetLogsV2ResponseBody) String() string

type GetLogsV2ResponseBodyMeta

type GetLogsV2ResponseBodyMeta struct {
	// The SQL statement after | in the query statement.
	AggQuery    *string   `json:"aggQuery,omitempty" xml:"aggQuery,omitempty"`
	ColumnTypes []*string `json:"columnTypes,omitempty" xml:"columnTypes,omitempty" type:"Repeated"`
	// The number of rows that are returned.
	Count    *int32   `json:"count,omitempty" xml:"count,omitempty"`
	CpuCores *int32   `json:"cpuCores,omitempty" xml:"cpuCores,omitempty"`
	CpuSec   *float64 `json:"cpuSec,omitempty" xml:"cpuSec,omitempty"`
	// The amount of time that is consumed by the request. Unit: milliseconds.
	ElapsedMillisecond *int64 `json:"elapsedMillisecond,omitempty" xml:"elapsedMillisecond,omitempty"`
	// Indicates whether the query is an SQL query.
	HasSQL     *bool           `json:"hasSQL,omitempty" xml:"hasSQL,omitempty"`
	Highlights [][]*LogContent `json:"highlights,omitempty" xml:"highlights,omitempty" type:"Repeated"`
	// Indicates whether the returned result is accurate.
	IsAccurate *bool `json:"isAccurate,omitempty" xml:"isAccurate,omitempty"`
	// All keys in the query result.
	Keys            []*string                                 `json:"keys,omitempty" xml:"keys,omitempty" type:"Repeated"`
	Limited         *int32                                    `json:"limited,omitempty" xml:"limited,omitempty"`
	Mode            *int32                                    `json:"mode,omitempty" xml:"mode,omitempty"`
	PhraseQueryInfo *GetLogsV2ResponseBodyMetaPhraseQueryInfo `json:"phraseQueryInfo,omitempty" xml:"phraseQueryInfo,omitempty" type:"Struct"`
	// The number of logs that are processed in the request.
	ProcessedBytes *int64 `json:"processedBytes,omitempty" xml:"processedBytes,omitempty"`
	// The number of rows that are processed in the request.
	ProcessedRows *int32 `json:"processedRows,omitempty" xml:"processedRows,omitempty"`
	// Indicates whether the query result is complete. Valid values:
	//
	// *   Complete: The query was successful, and the complete result is returned.
	// *   Incomplete: The query was successful, but the query result is incomplete. To obtain the complete result, you must call the operation again.
	Progress  *string `json:"progress,omitempty" xml:"progress,omitempty"`
	ScanBytes *int64  `json:"scanBytes,omitempty" xml:"scanBytes,omitempty"`
	// The type of observable data.
	TelementryType *string `json:"telementryType,omitempty" xml:"telementryType,omitempty"`
	// All terms in the query statement.
	Terms []map[string]interface{} `json:"terms,omitempty" xml:"terms,omitempty" type:"Repeated"`
	// The part before | in the query statement.
	WhereQuery *string `json:"whereQuery,omitempty" xml:"whereQuery,omitempty"`
}

func (GetLogsV2ResponseBodyMeta) GoString

func (s GetLogsV2ResponseBodyMeta) GoString() string

func (*GetLogsV2ResponseBodyMeta) SetAggQuery

func (*GetLogsV2ResponseBodyMeta) SetColumnTypes added in v5.4.1

func (*GetLogsV2ResponseBodyMeta) SetCount

func (*GetLogsV2ResponseBodyMeta) SetCpuCores added in v5.4.1

func (*GetLogsV2ResponseBodyMeta) SetCpuSec added in v5.4.1

func (*GetLogsV2ResponseBodyMeta) SetElapsedMillisecond

func (s *GetLogsV2ResponseBodyMeta) SetElapsedMillisecond(v int64) *GetLogsV2ResponseBodyMeta

func (*GetLogsV2ResponseBodyMeta) SetHasSQL

func (*GetLogsV2ResponseBodyMeta) SetHighlights added in v5.4.1

func (*GetLogsV2ResponseBodyMeta) SetIsAccurate

func (*GetLogsV2ResponseBodyMeta) SetKeys

func (*GetLogsV2ResponseBodyMeta) SetLimited added in v5.4.1

func (*GetLogsV2ResponseBodyMeta) SetMode added in v5.4.1

func (*GetLogsV2ResponseBodyMeta) SetPhraseQueryInfo added in v5.4.1

func (*GetLogsV2ResponseBodyMeta) SetProcessedBytes

func (*GetLogsV2ResponseBodyMeta) SetProcessedRows

func (*GetLogsV2ResponseBodyMeta) SetProgress

func (*GetLogsV2ResponseBodyMeta) SetScanBytes added in v5.4.1

func (*GetLogsV2ResponseBodyMeta) SetTelementryType

func (*GetLogsV2ResponseBodyMeta) SetTerms

func (s *GetLogsV2ResponseBodyMeta) SetTerms(v []map[string]interface{}) *GetLogsV2ResponseBodyMeta

func (*GetLogsV2ResponseBodyMeta) SetWhereQuery

func (GetLogsV2ResponseBodyMeta) String

func (s GetLogsV2ResponseBodyMeta) String() string

type GetLogsV2ResponseBodyMetaPhraseQueryInfo added in v5.4.1

type GetLogsV2ResponseBodyMetaPhraseQueryInfo struct {
	BeginOffset *int64 `json:"beginOffset,omitempty" xml:"beginOffset,omitempty"`
	EndOffset   *int64 `json:"endOffset,omitempty" xml:"endOffset,omitempty"`
	EndTime     *int64 `json:"endTime,omitempty" xml:"endTime,omitempty"`
	ScanAll     *bool  `json:"scanAll,omitempty" xml:"scanAll,omitempty"`
}

func (GetLogsV2ResponseBodyMetaPhraseQueryInfo) GoString added in v5.4.1

func (*GetLogsV2ResponseBodyMetaPhraseQueryInfo) SetBeginOffset added in v5.4.1

func (*GetLogsV2ResponseBodyMetaPhraseQueryInfo) SetEndOffset added in v5.4.1

func (*GetLogsV2ResponseBodyMetaPhraseQueryInfo) SetEndTime added in v5.4.1

func (*GetLogsV2ResponseBodyMetaPhraseQueryInfo) SetScanAll added in v5.4.1

func (GetLogsV2ResponseBodyMetaPhraseQueryInfo) String added in v5.4.1

type GetLogtailPipelineConfigResponse

type GetLogtailPipelineConfigResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *LogtailPipelineConfig `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetLogtailPipelineConfigResponse) GoString

func (*GetLogtailPipelineConfigResponse) SetBody

func (*GetLogtailPipelineConfigResponse) SetHeaders

func (*GetLogtailPipelineConfigResponse) SetStatusCode

func (GetLogtailPipelineConfigResponse) String

type GetMLServiceResultsRequest added in v5.1.0

type GetMLServiceResultsRequest struct {
	AllowBuiltin *bool                   `json:"allowBuiltin,omitempty" xml:"allowBuiltin,omitempty"`
	Body         *MLServiceAnalysisParam `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetMLServiceResultsRequest) GoString added in v5.1.0

func (s GetMLServiceResultsRequest) GoString() string

func (*GetMLServiceResultsRequest) SetAllowBuiltin added in v5.1.0

func (*GetMLServiceResultsRequest) SetBody added in v5.1.0

func (GetMLServiceResultsRequest) String added in v5.1.0

type GetMLServiceResultsResponse added in v5.1.0

type GetMLServiceResultsResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetMLServiceResultsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetMLServiceResultsResponse) GoString added in v5.1.0

func (s GetMLServiceResultsResponse) GoString() string

func (*GetMLServiceResultsResponse) SetBody added in v5.1.0

func (*GetMLServiceResultsResponse) SetHeaders added in v5.1.0

func (*GetMLServiceResultsResponse) SetStatusCode added in v5.1.0

func (GetMLServiceResultsResponse) String added in v5.1.0

type GetMLServiceResultsResponseBody added in v5.1.0

type GetMLServiceResultsResponseBody struct {
	Data   []map[string]*string `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	Status map[string]*string   `json:"status,omitempty" xml:"status,omitempty"`
}

func (GetMLServiceResultsResponseBody) GoString added in v5.1.0

func (*GetMLServiceResultsResponseBody) SetData added in v5.1.0

func (*GetMLServiceResultsResponseBody) SetStatus added in v5.1.0

func (GetMLServiceResultsResponseBody) String added in v5.1.0

type GetMachineGroupResponse

type GetMachineGroupResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *MachineGroup      `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetMachineGroupResponse) GoString

func (s GetMachineGroupResponse) GoString() string

func (*GetMachineGroupResponse) SetBody

func (*GetMachineGroupResponse) SetHeaders

func (*GetMachineGroupResponse) SetStatusCode

func (GetMachineGroupResponse) String

func (s GetMachineGroupResponse) String() string

type GetProjectLogsRequest

type GetProjectLogsRequest struct {
	// Specifies whether to enable the Dedicated SQL feature. For more information, see [Enable Dedicated SQL](~~223777~~). Valid values:
	//
	// *   true
	// *   false (default): enables the Standard SQL feature.
	//
	// You can use the powerSql or **query** parameter to configure Dedicated SQL.
	PowerSql *bool `json:"powerSql,omitempty" xml:"powerSql,omitempty"`
	// The standard SQL statement. In this example, the SQL statement queries the number of page views (PVs) from 2022-03-01 10:41:40 to 2022-03-01 10:56:40 in a Logstore whose name is nginx-moni.
	Query *string `json:"query,omitempty" xml:"query,omitempty"`
}

func (GetProjectLogsRequest) GoString

func (s GetProjectLogsRequest) GoString() string

func (*GetProjectLogsRequest) SetPowerSql

func (*GetProjectLogsRequest) SetQuery

func (GetProjectLogsRequest) String

func (s GetProjectLogsRequest) String() string

type GetProjectLogsResponse

type GetProjectLogsResponse struct {
	Headers    map[string]*string   `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32               `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       []map[string]*string `json:"body,omitempty" xml:"body,omitempty" require:"true" type:"Repeated"`
}

func (GetProjectLogsResponse) GoString

func (s GetProjectLogsResponse) GoString() string

func (*GetProjectLogsResponse) SetBody

func (*GetProjectLogsResponse) SetHeaders

func (*GetProjectLogsResponse) SetStatusCode

func (GetProjectLogsResponse) String

func (s GetProjectLogsResponse) String() string

type GetProjectPolicyResponse

type GetProjectPolicyResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *string            `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetProjectPolicyResponse) GoString

func (s GetProjectPolicyResponse) GoString() string

func (*GetProjectPolicyResponse) SetBody

func (*GetProjectPolicyResponse) SetHeaders

func (*GetProjectPolicyResponse) SetStatusCode

func (GetProjectPolicyResponse) String

func (s GetProjectPolicyResponse) String() string

type GetProjectResponse

type GetProjectResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *Project           `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetProjectResponse) GoString

func (s GetProjectResponse) GoString() string

func (*GetProjectResponse) SetBody

func (*GetProjectResponse) SetHeaders

func (s *GetProjectResponse) SetHeaders(v map[string]*string) *GetProjectResponse

func (*GetProjectResponse) SetStatusCode

func (s *GetProjectResponse) SetStatusCode(v int32) *GetProjectResponse

func (GetProjectResponse) String

func (s GetProjectResponse) String() string

type GetSavedSearchResponse

type GetSavedSearchResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *SavedSearch       `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetSavedSearchResponse) GoString

func (s GetSavedSearchResponse) GoString() string

func (*GetSavedSearchResponse) SetBody

func (*GetSavedSearchResponse) SetHeaders

func (*GetSavedSearchResponse) SetStatusCode

func (GetSavedSearchResponse) String

func (s GetSavedSearchResponse) String() string

type GetShipperStatusRequest

type GetShipperStatusRequest struct {
	// The start time of the log shipping job. The value is a UNIX timestamp representing the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
	From *int64 `json:"from,omitempty" xml:"from,omitempty"`
	// The line from which the query starts. Default value: 0.
	Offset *int32 `json:"offset,omitempty" xml:"offset,omitempty"`
	// The number of entries per page. Default value: 100. Maximum value: 500.
	Size *int32 `json:"size,omitempty" xml:"size,omitempty"`
	// The status of the log shipping job. This parameter is empty by default, which indicates that log shipping jobs in all states are returned. Valid values: success, fail, and running.
	Status *string `json:"status,omitempty" xml:"status,omitempty"`
	// The end time of the log shipping job. The value is a UNIX timestamp representing the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
	To *int64 `json:"to,omitempty" xml:"to,omitempty"`
}

func (GetShipperStatusRequest) GoString

func (s GetShipperStatusRequest) GoString() string

func (*GetShipperStatusRequest) SetFrom

func (*GetShipperStatusRequest) SetOffset

func (*GetShipperStatusRequest) SetSize

func (*GetShipperStatusRequest) SetStatus

func (*GetShipperStatusRequest) SetTo

func (GetShipperStatusRequest) String

func (s GetShipperStatusRequest) String() string

type GetShipperStatusResponse

type GetShipperStatusResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *GetShipperStatusResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetShipperStatusResponse) GoString

func (s GetShipperStatusResponse) GoString() string

func (*GetShipperStatusResponse) SetBody

func (*GetShipperStatusResponse) SetHeaders

func (*GetShipperStatusResponse) SetStatusCode

func (GetShipperStatusResponse) String

func (s GetShipperStatusResponse) String() string

type GetShipperStatusResponseBody

type GetShipperStatusResponseBody struct {
	// The number of log shipping jobs returned on the current page.
	Count *int64 `json:"count,omitempty" xml:"count,omitempty"`
	// The statistics about log shipping jobs.
	Statistics *GetShipperStatusResponseBodyStatistics `json:"statistics,omitempty" xml:"statistics,omitempty" type:"Struct"`
	// The details of log shipping jobs.
	Tasks *GetShipperStatusResponseBodyTasks `json:"tasks,omitempty" xml:"tasks,omitempty" type:"Struct"`
	// The total number of log shipping jobs.
	Total *int64 `json:"total,omitempty" xml:"total,omitempty"`
}

func (GetShipperStatusResponseBody) GoString

func (s GetShipperStatusResponseBody) GoString() string

func (*GetShipperStatusResponseBody) SetCount

func (*GetShipperStatusResponseBody) SetTasks

func (*GetShipperStatusResponseBody) SetTotal

func (GetShipperStatusResponseBody) String

type GetShipperStatusResponseBodyStatistics

type GetShipperStatusResponseBodyStatistics struct {
	// The number of log shipping jobs that are in the fail state.
	Fail *int64 `json:"fail,omitempty" xml:"fail,omitempty"`
	// The number of log shipping jobs that are in the running state.
	Running *int64 `json:"running,omitempty" xml:"running,omitempty"`
	// The number of log shipping jobs that are in the success state.
	Success *int64 `json:"success,omitempty" xml:"success,omitempty"`
}

func (GetShipperStatusResponseBodyStatistics) GoString

func (*GetShipperStatusResponseBodyStatistics) SetFail

func (*GetShipperStatusResponseBodyStatistics) SetRunning

func (*GetShipperStatusResponseBodyStatistics) SetSuccess

func (GetShipperStatusResponseBodyStatistics) String

type GetShipperStatusResponseBodyTasks

type GetShipperStatusResponseBodyTasks struct {
	// The ID of the log shipping job.
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// The error code of the log shipping job.
	TaskCode *string `json:"taskCode,omitempty" xml:"taskCode,omitempty"`
	// The start time of the log shipping job. The value is a UNIX timestamp representing the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
	TaskCreateTime *int64 `json:"taskCreateTime,omitempty" xml:"taskCreateTime,omitempty"`
	// The number of logs that are shipped in the log shipping job.
	TaskDataLines *int32 `json:"taskDataLines,omitempty" xml:"taskDataLines,omitempty"`
	// The end time of the log shipping job. The value is a UNIX timestamp representing the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
	TaskFinishTime *int64 `json:"taskFinishTime,omitempty" xml:"taskFinishTime,omitempty"`
	// The time when Simple Log Service receives the most recent log of the log shipping job. The value is a UNIX timestamp representing the number of seconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.
	TaskLastDataReceiveTime *int64 `json:"taskLastDataReceiveTime,omitempty" xml:"taskLastDataReceiveTime,omitempty"`
	// The error message of the log shipping job.
	TaskMessage *string `json:"taskMessage,omitempty" xml:"taskMessage,omitempty"`
	// The status of the log shipping job. Valid values: running, success, and fail.
	TaskStatus *string `json:"taskStatus,omitempty" xml:"taskStatus,omitempty"`
}

func (GetShipperStatusResponseBodyTasks) GoString

func (*GetShipperStatusResponseBodyTasks) SetId

func (*GetShipperStatusResponseBodyTasks) SetTaskCode

func (*GetShipperStatusResponseBodyTasks) SetTaskCreateTime

func (*GetShipperStatusResponseBodyTasks) SetTaskDataLines

func (*GetShipperStatusResponseBodyTasks) SetTaskFinishTime

func (*GetShipperStatusResponseBodyTasks) SetTaskLastDataReceiveTime

func (*GetShipperStatusResponseBodyTasks) SetTaskMessage

func (*GetShipperStatusResponseBodyTasks) SetTaskStatus

func (GetShipperStatusResponseBodyTasks) String

type GroupConfiguration added in v5.4.0

type GroupConfiguration struct {
	Fileds []*string `json:"fileds,omitempty" xml:"fileds,omitempty" type:"Repeated"`
	Type   *string   `json:"type,omitempty" xml:"type,omitempty"`
}

func (GroupConfiguration) GoString added in v5.4.0

func (s GroupConfiguration) GoString() string

func (*GroupConfiguration) SetFileds added in v5.4.0

func (s *GroupConfiguration) SetFileds(v []*string) *GroupConfiguration

func (*GroupConfiguration) SetType added in v5.4.0

func (GroupConfiguration) String added in v5.4.0

func (s GroupConfiguration) String() string

type Histogram

type Histogram struct {
	Count    *int64  `json:"count,omitempty" xml:"count,omitempty"`
	From     *int32  `json:"from,omitempty" xml:"from,omitempty"`
	Progress *string `json:"progress,omitempty" xml:"progress,omitempty"`
	To       *int32  `json:"to,omitempty" xml:"to,omitempty"`
}

func (Histogram) GoString

func (s Histogram) GoString() string

func (*Histogram) SetCount

func (s *Histogram) SetCount(v int64) *Histogram

func (*Histogram) SetFrom

func (s *Histogram) SetFrom(v int32) *Histogram

func (*Histogram) SetProgress

func (s *Histogram) SetProgress(v string) *Histogram

func (*Histogram) SetTo

func (s *Histogram) SetTo(v int32) *Histogram

func (Histogram) String

func (s Histogram) String() string

type Index

type Index struct {
	Keys               map[string]*IndexKeysValue `json:"keys,omitempty" xml:"keys,omitempty"`
	LastModifyTime     *int64                     `json:"lastModifyTime,omitempty" xml:"lastModifyTime,omitempty"`
	Line               *IndexLine                 `json:"line,omitempty" xml:"line,omitempty" type:"Struct"`
	LogReduce          *bool                      `json:"log_reduce,omitempty" xml:"log_reduce,omitempty"`
	LogReduceBlackList []*string                  `json:"log_reduce_black_list,omitempty" xml:"log_reduce_black_list,omitempty" type:"Repeated"`
	LogReduceWhiteList []*string                  `json:"log_reduce_white_list,omitempty" xml:"log_reduce_white_list,omitempty" type:"Repeated"`
	MaxTextLen         *int32                     `json:"max_text_len,omitempty" xml:"max_text_len,omitempty"`
	Ttl                *int32                     `json:"ttl,omitempty" xml:"ttl,omitempty"`
}

func (Index) GoString

func (s Index) GoString() string

func (*Index) SetKeys

func (s *Index) SetKeys(v map[string]*IndexKeysValue) *Index

func (*Index) SetLastModifyTime

func (s *Index) SetLastModifyTime(v int64) *Index

func (*Index) SetLine

func (s *Index) SetLine(v *IndexLine) *Index

func (*Index) SetLogReduce

func (s *Index) SetLogReduce(v bool) *Index

func (*Index) SetLogReduceBlackList

func (s *Index) SetLogReduceBlackList(v []*string) *Index

func (*Index) SetLogReduceWhiteList

func (s *Index) SetLogReduceWhiteList(v []*string) *Index

func (*Index) SetMaxTextLen

func (s *Index) SetMaxTextLen(v int32) *Index

func (*Index) SetTtl

func (s *Index) SetTtl(v int32) *Index

func (Index) String

func (s Index) String() string

type IndexKeysValue

type IndexKeysValue struct {
	Chn           *bool     `json:"chn,omitempty" xml:"chn,omitempty"`
	CaseSensitive *bool     `json:"caseSensitive,omitempty" xml:"caseSensitive,omitempty"`
	Token         []*string `json:"token,omitempty" xml:"token,omitempty" type:"Repeated"`
	Alias         *string   `json:"alias,omitempty" xml:"alias,omitempty"`
	Type          *string   `json:"type,omitempty" xml:"type,omitempty"`
	DocValue      *bool     `json:"doc_value,omitempty" xml:"doc_value,omitempty"`
}

func (IndexKeysValue) GoString

func (s IndexKeysValue) GoString() string

func (*IndexKeysValue) SetAlias

func (s *IndexKeysValue) SetAlias(v string) *IndexKeysValue

func (*IndexKeysValue) SetCaseSensitive

func (s *IndexKeysValue) SetCaseSensitive(v bool) *IndexKeysValue

func (*IndexKeysValue) SetChn

func (s *IndexKeysValue) SetChn(v bool) *IndexKeysValue

func (*IndexKeysValue) SetDocValue

func (s *IndexKeysValue) SetDocValue(v bool) *IndexKeysValue

func (*IndexKeysValue) SetToken

func (s *IndexKeysValue) SetToken(v []*string) *IndexKeysValue

func (*IndexKeysValue) SetType

func (s *IndexKeysValue) SetType(v string) *IndexKeysValue

func (IndexKeysValue) String

func (s IndexKeysValue) String() string

type IndexLine

type IndexLine struct {
	CaseSensitive *bool     `json:"caseSensitive,omitempty" xml:"caseSensitive,omitempty"`
	Chn           *bool     `json:"chn,omitempty" xml:"chn,omitempty"`
	ExcludeKeys   []*string `json:"exclude_keys,omitempty" xml:"exclude_keys,omitempty" type:"Repeated"`
	IncludeKeys   []*string `json:"include_keys,omitempty" xml:"include_keys,omitempty" type:"Repeated"`
	Token         []*string `json:"token,omitempty" xml:"token,omitempty" type:"Repeated"`
}

func (IndexLine) GoString

func (s IndexLine) GoString() string

func (*IndexLine) SetCaseSensitive

func (s *IndexLine) SetCaseSensitive(v bool) *IndexLine

func (*IndexLine) SetChn

func (s *IndexLine) SetChn(v bool) *IndexLine

func (*IndexLine) SetExcludeKeys

func (s *IndexLine) SetExcludeKeys(v []*string) *IndexLine

func (*IndexLine) SetIncludeKeys

func (s *IndexLine) SetIncludeKeys(v []*string) *IndexLine

func (*IndexLine) SetToken

func (s *IndexLine) SetToken(v []*string) *IndexLine

func (IndexLine) String

func (s IndexLine) String() string

type JoinConfiguration added in v5.4.0

type JoinConfiguration struct {
	Condition *string `json:"condition,omitempty" xml:"condition,omitempty"`
	Type      *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (JoinConfiguration) GoString added in v5.4.0

func (s JoinConfiguration) GoString() string

func (*JoinConfiguration) SetCondition added in v5.4.0

func (s *JoinConfiguration) SetCondition(v string) *JoinConfiguration

func (*JoinConfiguration) SetType added in v5.4.0

func (JoinConfiguration) String added in v5.4.0

func (s JoinConfiguration) String() string

type KeysValue

type KeysValue struct {
	// Specifies whether to enable case sensitivity. This parameter is required only when **type** is set to **text**. Valid values:
	//
	// *   true
	// *   false (default)
	CaseSensitive *bool `json:"caseSensitive,omitempty" xml:"caseSensitive,omitempty"`
	// Specifies whether to include Chinese characters. This parameter is required only when **type** is set to **text**. Valid values:
	//
	// *   true
	// *   false (default)
	Chn *bool `json:"chn,omitempty" xml:"chn,omitempty"`
	// The data type of the field value. Valid values: text, json, double, and long.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
	// The alias of the field.
	Alias *string `json:"alias,omitempty" xml:"alias,omitempty"`
	// The delimiters that are used to split text.
	Token []*string `json:"token,omitempty" xml:"token,omitempty" type:"Repeated"`
	// Specifies whether to turn on Enable Analytics for the field.
	DocValue *bool `json:"doc_value,omitempty" xml:"doc_value,omitempty"`
}

func (KeysValue) GoString

func (s KeysValue) GoString() string

func (*KeysValue) SetAlias

func (s *KeysValue) SetAlias(v string) *KeysValue

func (*KeysValue) SetCaseSensitive

func (s *KeysValue) SetCaseSensitive(v bool) *KeysValue

func (*KeysValue) SetChn

func (s *KeysValue) SetChn(v bool) *KeysValue

func (*KeysValue) SetDocValue

func (s *KeysValue) SetDocValue(v bool) *KeysValue

func (*KeysValue) SetToken

func (s *KeysValue) SetToken(v []*string) *KeysValue

func (*KeysValue) SetType

func (s *KeysValue) SetType(v string) *KeysValue

func (KeysValue) String

func (s KeysValue) String() string

type ListAlertsRequest added in v5.4.0

type ListAlertsRequest struct {
	Logstore *string `json:"logstore,omitempty" xml:"logstore,omitempty"`
	Offset   *int32  `json:"offset,omitempty" xml:"offset,omitempty"`
	Size     *int32  `json:"size,omitempty" xml:"size,omitempty"`
}

func (ListAlertsRequest) GoString added in v5.4.0

func (s ListAlertsRequest) GoString() string

func (*ListAlertsRequest) SetLogstore added in v5.4.0

func (s *ListAlertsRequest) SetLogstore(v string) *ListAlertsRequest

func (*ListAlertsRequest) SetOffset added in v5.4.0

func (s *ListAlertsRequest) SetOffset(v int32) *ListAlertsRequest

func (*ListAlertsRequest) SetSize added in v5.4.0

func (s *ListAlertsRequest) SetSize(v int32) *ListAlertsRequest

func (ListAlertsRequest) String added in v5.4.0

func (s ListAlertsRequest) String() string

type ListAlertsResponse added in v5.4.0

type ListAlertsResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListAlertsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListAlertsResponse) GoString added in v5.4.0

func (s ListAlertsResponse) GoString() string

func (*ListAlertsResponse) SetBody added in v5.4.0

func (*ListAlertsResponse) SetHeaders added in v5.4.0

func (s *ListAlertsResponse) SetHeaders(v map[string]*string) *ListAlertsResponse

func (*ListAlertsResponse) SetStatusCode added in v5.4.0

func (s *ListAlertsResponse) SetStatusCode(v int32) *ListAlertsResponse

func (ListAlertsResponse) String added in v5.4.0

func (s ListAlertsResponse) String() string

type ListAlertsResponseBody added in v5.4.0

type ListAlertsResponseBody struct {
	Count   *int32       `json:"count,omitempty" xml:"count,omitempty"`
	Results []*AlertResp `json:"results,omitempty" xml:"results,omitempty" type:"Repeated"`
	Total   *int32       `json:"total,omitempty" xml:"total,omitempty"`
}

func (ListAlertsResponseBody) GoString added in v5.4.0

func (s ListAlertsResponseBody) GoString() string

func (*ListAlertsResponseBody) SetCount added in v5.4.0

func (*ListAlertsResponseBody) SetResults added in v5.4.0

func (*ListAlertsResponseBody) SetTotal added in v5.4.0

func (ListAlertsResponseBody) String added in v5.4.0

func (s ListAlertsResponseBody) String() string

type ListAnnotationDataRequest

type ListAnnotationDataRequest struct {
	// The line from which the query starts.
	Offset *int32 `json:"offset,omitempty" xml:"offset,omitempty"`
	// The number of entries per page.
	Size *int32 `json:"size,omitempty" xml:"size,omitempty"`
}

func (ListAnnotationDataRequest) GoString

func (s ListAnnotationDataRequest) GoString() string

func (*ListAnnotationDataRequest) SetOffset

func (*ListAnnotationDataRequest) SetSize

func (ListAnnotationDataRequest) String

func (s ListAnnotationDataRequest) String() string

type ListAnnotationDataResponse

type ListAnnotationDataResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListAnnotationDataResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListAnnotationDataResponse) GoString

func (s ListAnnotationDataResponse) GoString() string

func (*ListAnnotationDataResponse) SetBody

func (*ListAnnotationDataResponse) SetHeaders

func (*ListAnnotationDataResponse) SetStatusCode

func (ListAnnotationDataResponse) String

type ListAnnotationDataResponseBody

type ListAnnotationDataResponseBody struct {
	// The data returned.
	Data []*MLDataParam `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	// The total number of entries returned.
	Total *int32 `json:"total,omitempty" xml:"total,omitempty"`
}

func (ListAnnotationDataResponseBody) GoString

func (*ListAnnotationDataResponseBody) SetData

func (*ListAnnotationDataResponseBody) SetTotal

func (ListAnnotationDataResponseBody) String

type ListAnnotationDataSetsRequest

type ListAnnotationDataSetsRequest struct {
	// The line from which the query starts.
	Offset *int32 `json:"offset,omitempty" xml:"offset,omitempty"`
	// The number of entries per page.
	Size *int32 `json:"size,omitempty" xml:"size,omitempty"`
}

func (ListAnnotationDataSetsRequest) GoString

func (*ListAnnotationDataSetsRequest) SetOffset

func (*ListAnnotationDataSetsRequest) SetSize

func (ListAnnotationDataSetsRequest) String

type ListAnnotationDataSetsResponse

type ListAnnotationDataSetsResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListAnnotationDataSetsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListAnnotationDataSetsResponse) GoString

func (*ListAnnotationDataSetsResponse) SetHeaders

func (*ListAnnotationDataSetsResponse) SetStatusCode

func (ListAnnotationDataSetsResponse) String

type ListAnnotationDataSetsResponseBody

type ListAnnotationDataSetsResponseBody struct {
	// The data returned.
	Data []*MLDataSetParam `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	// The total number of entries returned.
	Total *int32 `json:"total,omitempty" xml:"total,omitempty"`
}

func (ListAnnotationDataSetsResponseBody) GoString

func (*ListAnnotationDataSetsResponseBody) SetData

func (*ListAnnotationDataSetsResponseBody) SetTotal

func (ListAnnotationDataSetsResponseBody) String

type ListAnnotationLabelsRequest

type ListAnnotationLabelsRequest struct {
	// The line from which the query starts.
	Offset *int32 `json:"offset,omitempty" xml:"offset,omitempty"`
	// The number of entries per page.
	Size *int32 `json:"size,omitempty" xml:"size,omitempty"`
}

func (ListAnnotationLabelsRequest) GoString

func (s ListAnnotationLabelsRequest) GoString() string

func (*ListAnnotationLabelsRequest) SetOffset

func (*ListAnnotationLabelsRequest) SetSize

func (ListAnnotationLabelsRequest) String

type ListAnnotationLabelsResponse

type ListAnnotationLabelsResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListAnnotationLabelsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListAnnotationLabelsResponse) GoString

func (s ListAnnotationLabelsResponse) GoString() string

func (*ListAnnotationLabelsResponse) SetBody

func (*ListAnnotationLabelsResponse) SetHeaders

func (*ListAnnotationLabelsResponse) SetStatusCode

func (ListAnnotationLabelsResponse) String

type ListAnnotationLabelsResponseBody

type ListAnnotationLabelsResponseBody struct {
	// The data returned.
	Data []*MLLabelParam `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	// The total number of tags that meet the query conditions.
	Total *int32 `json:"total,omitempty" xml:"total,omitempty"`
}

func (ListAnnotationLabelsResponseBody) GoString

func (*ListAnnotationLabelsResponseBody) SetData

func (*ListAnnotationLabelsResponseBody) SetTotal

func (ListAnnotationLabelsResponseBody) String

type ListCollectionPoliciesRequest

type ListCollectionPoliciesRequest struct {
	Attribute   *ListCollectionPoliciesRequestAttribute `json:"attribute,omitempty" xml:"attribute,omitempty" type:"Struct"`
	DataCode    *string                                 `json:"dataCode,omitempty" xml:"dataCode,omitempty"`
	InstanceId  *string                                 `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	PageNum     *int32                                  `json:"pageNum,omitempty" xml:"pageNum,omitempty"`
	PageSize    *int32                                  `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	PolicyName  *string                                 `json:"policyName,omitempty" xml:"policyName,omitempty"`
	ProductCode *string                                 `json:"productCode,omitempty" xml:"productCode,omitempty"`
}

func (ListCollectionPoliciesRequest) GoString

func (*ListCollectionPoliciesRequest) SetDataCode

func (*ListCollectionPoliciesRequest) SetInstanceId

func (*ListCollectionPoliciesRequest) SetPageNum

func (*ListCollectionPoliciesRequest) SetPageSize

func (*ListCollectionPoliciesRequest) SetPolicyName

func (*ListCollectionPoliciesRequest) SetProductCode

func (ListCollectionPoliciesRequest) String

type ListCollectionPoliciesRequestAttribute

type ListCollectionPoliciesRequestAttribute struct {
	App         *string `json:"app,omitempty" xml:"app,omitempty"`
	PolicyGroup *string `json:"policyGroup,omitempty" xml:"policyGroup,omitempty"`
}

func (ListCollectionPoliciesRequestAttribute) GoString

func (*ListCollectionPoliciesRequestAttribute) SetApp

func (*ListCollectionPoliciesRequestAttribute) SetPolicyGroup

func (ListCollectionPoliciesRequestAttribute) String

type ListCollectionPoliciesResponse

type ListCollectionPoliciesResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListCollectionPoliciesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListCollectionPoliciesResponse) GoString

func (*ListCollectionPoliciesResponse) SetHeaders

func (*ListCollectionPoliciesResponse) SetStatusCode

func (ListCollectionPoliciesResponse) String

type ListCollectionPoliciesResponseBody

type ListCollectionPoliciesResponseBody struct {
	CurrentCount *int32                                    `json:"currentCount,omitempty" xml:"currentCount,omitempty"`
	Data         []*ListCollectionPoliciesResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	TotalCount   *int32                                    `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
}

func (ListCollectionPoliciesResponseBody) GoString

func (*ListCollectionPoliciesResponseBody) SetCurrentCount

func (*ListCollectionPoliciesResponseBody) SetTotalCount

func (ListCollectionPoliciesResponseBody) String

type ListCollectionPoliciesResponseBodyData

type ListCollectionPoliciesResponseBodyData struct {
	Attribute         *ListCollectionPoliciesResponseBodyDataAttribute        `json:"attribute,omitempty" xml:"attribute,omitempty" type:"Struct"`
	CentralizeConfig  *ListCollectionPoliciesResponseBodyDataCentralizeConfig `json:"centralizeConfig,omitempty" xml:"centralizeConfig,omitempty" type:"Struct"`
	CentralizeEnabled *bool                                                   `json:"centralizeEnabled,omitempty" xml:"centralizeEnabled,omitempty"`
	DataCode          *string                                                 `json:"dataCode,omitempty" xml:"dataCode,omitempty"`
	Enabled           *bool                                                   `json:"enabled,omitempty" xml:"enabled,omitempty"`
	PolicyConfig      *ListCollectionPoliciesResponseBodyDataPolicyConfig     `json:"policyConfig,omitempty" xml:"policyConfig,omitempty" type:"Struct"`
	PolicyName        *string                                                 `json:"policyName,omitempty" xml:"policyName,omitempty"`
	ProductCode       *string                                                 `json:"productCode,omitempty" xml:"productCode,omitempty"`
}

func (ListCollectionPoliciesResponseBodyData) GoString

func (*ListCollectionPoliciesResponseBodyData) SetCentralizeEnabled

func (*ListCollectionPoliciesResponseBodyData) SetDataCode

func (*ListCollectionPoliciesResponseBodyData) SetEnabled

func (*ListCollectionPoliciesResponseBodyData) SetPolicyName

func (*ListCollectionPoliciesResponseBodyData) SetProductCode

func (ListCollectionPoliciesResponseBodyData) String

type ListCollectionPoliciesResponseBodyDataAttribute

type ListCollectionPoliciesResponseBodyDataAttribute struct {
	App         *string `json:"app,omitempty" xml:"app,omitempty"`
	PolicyGroup *string `json:"policyGroup,omitempty" xml:"policyGroup,omitempty"`
}

func (ListCollectionPoliciesResponseBodyDataAttribute) GoString

func (*ListCollectionPoliciesResponseBodyDataAttribute) SetApp

func (*ListCollectionPoliciesResponseBodyDataAttribute) SetPolicyGroup

func (ListCollectionPoliciesResponseBodyDataAttribute) String

type ListCollectionPoliciesResponseBodyDataCentralizeConfig

type ListCollectionPoliciesResponseBodyDataCentralizeConfig struct {
	DestLogstore *string `json:"destLogstore,omitempty" xml:"destLogstore,omitempty"`
	DestProject  *string `json:"destProject,omitempty" xml:"destProject,omitempty"`
	DestRegion   *string `json:"destRegion,omitempty" xml:"destRegion,omitempty"`
	DestTTL      *int32  `json:"destTTL,omitempty" xml:"destTTL,omitempty"`
}

func (ListCollectionPoliciesResponseBodyDataCentralizeConfig) GoString

func (*ListCollectionPoliciesResponseBodyDataCentralizeConfig) SetDestLogstore

func (*ListCollectionPoliciesResponseBodyDataCentralizeConfig) SetDestProject

func (*ListCollectionPoliciesResponseBodyDataCentralizeConfig) SetDestRegion

func (*ListCollectionPoliciesResponseBodyDataCentralizeConfig) SetDestTTL

func (ListCollectionPoliciesResponseBodyDataCentralizeConfig) String

type ListCollectionPoliciesResponseBodyDataPolicyConfig

type ListCollectionPoliciesResponseBodyDataPolicyConfig struct {
	InstanceIds  []*string              `json:"instanceIds,omitempty" xml:"instanceIds,omitempty" type:"Repeated"`
	Regions      []*string              `json:"regions,omitempty" xml:"regions,omitempty" type:"Repeated"`
	ResourceMode *string                `json:"resourceMode,omitempty" xml:"resourceMode,omitempty"`
	ResourceTags map[string]interface{} `json:"resourceTags,omitempty" xml:"resourceTags,omitempty"`
}

func (ListCollectionPoliciesResponseBodyDataPolicyConfig) GoString

func (*ListCollectionPoliciesResponseBodyDataPolicyConfig) SetInstanceIds

func (*ListCollectionPoliciesResponseBodyDataPolicyConfig) SetRegions

func (*ListCollectionPoliciesResponseBodyDataPolicyConfig) SetResourceMode

func (*ListCollectionPoliciesResponseBodyDataPolicyConfig) SetResourceTags

func (ListCollectionPoliciesResponseBodyDataPolicyConfig) String

type ListCollectionPoliciesShrinkRequest

type ListCollectionPoliciesShrinkRequest struct {
	AttributeShrink *string `json:"attribute,omitempty" xml:"attribute,omitempty"`
	DataCode        *string `json:"dataCode,omitempty" xml:"dataCode,omitempty"`
	InstanceId      *string `json:"instanceId,omitempty" xml:"instanceId,omitempty"`
	PageNum         *int32  `json:"pageNum,omitempty" xml:"pageNum,omitempty"`
	PageSize        *int32  `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	PolicyName      *string `json:"policyName,omitempty" xml:"policyName,omitempty"`
	ProductCode     *string `json:"productCode,omitempty" xml:"productCode,omitempty"`
}

func (ListCollectionPoliciesShrinkRequest) GoString

func (*ListCollectionPoliciesShrinkRequest) SetAttributeShrink

func (*ListCollectionPoliciesShrinkRequest) SetDataCode

func (*ListCollectionPoliciesShrinkRequest) SetInstanceId

func (*ListCollectionPoliciesShrinkRequest) SetPageNum

func (*ListCollectionPoliciesShrinkRequest) SetPageSize

func (*ListCollectionPoliciesShrinkRequest) SetPolicyName

func (*ListCollectionPoliciesShrinkRequest) SetProductCode

func (ListCollectionPoliciesShrinkRequest) String

type ListConfigRequest

type ListConfigRequest struct {
	// The name of the Logtail configuration.
	ConfigName *string `json:"configName,omitempty" xml:"configName,omitempty"`
	// The name of the Logstore.
	LogstoreName *string `json:"logstoreName,omitempty" xml:"logstoreName,omitempty"`
	// The line from which the query starts. Default value: 0.
	Offset *int64 `json:"offset,omitempty" xml:"offset,omitempty"`
	// The number of entries per page. Maximum value: 500.
	Size *int64 `json:"size,omitempty" xml:"size,omitempty"`
}

func (ListConfigRequest) GoString

func (s ListConfigRequest) GoString() string

func (*ListConfigRequest) SetConfigName

func (s *ListConfigRequest) SetConfigName(v string) *ListConfigRequest

func (*ListConfigRequest) SetLogstoreName

func (s *ListConfigRequest) SetLogstoreName(v string) *ListConfigRequest

func (*ListConfigRequest) SetOffset

func (s *ListConfigRequest) SetOffset(v int64) *ListConfigRequest

func (*ListConfigRequest) SetSize

func (s *ListConfigRequest) SetSize(v int64) *ListConfigRequest

func (ListConfigRequest) String

func (s ListConfigRequest) String() string

type ListConfigResponse

type ListConfigResponse struct {
	Headers    map[string]*string      `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                  `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListConfigResponse) GoString

func (s ListConfigResponse) GoString() string

func (*ListConfigResponse) SetBody

func (*ListConfigResponse) SetHeaders

func (s *ListConfigResponse) SetHeaders(v map[string]*string) *ListConfigResponse

func (*ListConfigResponse) SetStatusCode

func (s *ListConfigResponse) SetStatusCode(v int32) *ListConfigResponse

func (ListConfigResponse) String

func (s ListConfigResponse) String() string

type ListConfigResponseBody

type ListConfigResponseBody struct {
	// The Logtail configurations that are returned on the current page.
	Configs []*string `json:"configs,omitempty" xml:"configs,omitempty" type:"Repeated"`
	// The number of Logtail configurations that are returned on the current page.
	Count *int32 `json:"count,omitempty" xml:"count,omitempty"`
	// The total number of Logtail configurations that meet the query conditions.
	Total *int32 `json:"total,omitempty" xml:"total,omitempty"`
}

func (ListConfigResponseBody) GoString

func (s ListConfigResponseBody) GoString() string

func (*ListConfigResponseBody) SetConfigs

func (*ListConfigResponseBody) SetCount

func (*ListConfigResponseBody) SetTotal

func (ListConfigResponseBody) String

func (s ListConfigResponseBody) String() string

type ListConsumerGroupResponse

type ListConsumerGroupResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       []*ConsumerGroup   `json:"body,omitempty" xml:"body,omitempty" require:"true" type:"Repeated"`
}

func (ListConsumerGroupResponse) GoString

func (s ListConsumerGroupResponse) GoString() string

func (*ListConsumerGroupResponse) SetBody

func (*ListConsumerGroupResponse) SetHeaders

func (*ListConsumerGroupResponse) SetStatusCode

func (ListConsumerGroupResponse) String

func (s ListConsumerGroupResponse) String() string

type ListDashboardRequest

type ListDashboardRequest struct {
	// The line from which the query starts. Default value: 0.
	Offset *int32 `json:"offset,omitempty" xml:"offset,omitempty"`
	// The number of entries per page. Maximum value: 500. Default value: 500.
	Size *int32 `json:"size,omitempty" xml:"size,omitempty"`
}

func (ListDashboardRequest) GoString

func (s ListDashboardRequest) GoString() string

func (*ListDashboardRequest) SetOffset

func (*ListDashboardRequest) SetSize

func (ListDashboardRequest) String

func (s ListDashboardRequest) String() string

type ListDashboardResponse

type ListDashboardResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListDashboardResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListDashboardResponse) GoString

func (s ListDashboardResponse) GoString() string

func (*ListDashboardResponse) SetBody

func (*ListDashboardResponse) SetHeaders

func (*ListDashboardResponse) SetStatusCode

func (s *ListDashboardResponse) SetStatusCode(v int32) *ListDashboardResponse

func (ListDashboardResponse) String

func (s ListDashboardResponse) String() string

type ListDashboardResponseBody

type ListDashboardResponseBody struct {
	// The details of the dashboard.
	DashboardItems []*ListDashboardResponseBodyDashboardItems `json:"dashboardItems,omitempty" xml:"dashboardItems,omitempty" type:"Repeated"`
	// The queried dashboards. Each dashboard in the array is specified by dashboardName.
	Dashboards []*string `json:"dashboards,omitempty" xml:"dashboards,omitempty" type:"Repeated"`
}

func (ListDashboardResponseBody) GoString

func (s ListDashboardResponseBody) GoString() string

func (*ListDashboardResponseBody) SetDashboardItems

func (*ListDashboardResponseBody) SetDashboards

func (ListDashboardResponseBody) String

func (s ListDashboardResponseBody) String() string

type ListDashboardResponseBodyDashboardItems

type ListDashboardResponseBodyDashboardItems struct {
	// The dashboard ID. The ID must be unique in a project. Fuzzy search is supported. For example, if you enter da, all dashboards whose IDs start with da are queried.
	DashboardName *string `json:"dashboardName,omitempty" xml:"dashboardName,omitempty"`
	// The display name of the dashboard.
	DisplayName *string `json:"displayName,omitempty" xml:"displayName,omitempty"`
}

func (ListDashboardResponseBodyDashboardItems) GoString

func (*ListDashboardResponseBodyDashboardItems) SetDashboardName

func (*ListDashboardResponseBodyDashboardItems) SetDisplayName

func (ListDashboardResponseBodyDashboardItems) String

type ListDomainsRequest

type ListDomainsRequest struct {
	// The domain name that is used to match custom domain names. For example, if you set domainName to `example.com`, the matched domain names are `a.example.com` and `b.example.com`.
	DomainName *string `json:"domainName,omitempty" xml:"domainName,omitempty"`
	// The line from which the query starts. Default value: 0.
	Offset *int32 `json:"offset,omitempty" xml:"offset,omitempty"`
	// The number of entries per page. Default value: 500. Maximum value: 500.
	Size *int32 `json:"size,omitempty" xml:"size,omitempty"`
}

func (ListDomainsRequest) GoString

func (s ListDomainsRequest) GoString() string

func (*ListDomainsRequest) SetDomainName

func (s *ListDomainsRequest) SetDomainName(v string) *ListDomainsRequest

func (*ListDomainsRequest) SetOffset

func (s *ListDomainsRequest) SetOffset(v int32) *ListDomainsRequest

func (*ListDomainsRequest) SetSize

func (ListDomainsRequest) String

func (s ListDomainsRequest) String() string

type ListDomainsResponse

type ListDomainsResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListDomainsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListDomainsResponse) GoString

func (s ListDomainsResponse) GoString() string

func (*ListDomainsResponse) SetBody

func (*ListDomainsResponse) SetHeaders

func (s *ListDomainsResponse) SetHeaders(v map[string]*string) *ListDomainsResponse

func (*ListDomainsResponse) SetStatusCode

func (s *ListDomainsResponse) SetStatusCode(v int32) *ListDomainsResponse

func (ListDomainsResponse) String

func (s ListDomainsResponse) String() string

type ListDomainsResponseBody

type ListDomainsResponseBody struct {
	// The number of domain names that are returned on the current page.
	Count *int64 `json:"count,omitempty" xml:"count,omitempty"`
	// The domain names.
	Domains []*string `json:"domains,omitempty" xml:"domains,omitempty" type:"Repeated"`
	// The total number of domain names that are returned.
	Total *int64 `json:"total,omitempty" xml:"total,omitempty"`
}

func (ListDomainsResponseBody) GoString

func (s ListDomainsResponseBody) GoString() string

func (*ListDomainsResponseBody) SetCount

func (*ListDomainsResponseBody) SetDomains

func (*ListDomainsResponseBody) SetTotal

func (ListDomainsResponseBody) String

func (s ListDomainsResponseBody) String() string

type ListExternalStoreRequest

type ListExternalStoreRequest struct {
	// The name of the external store. You can query external stores that contain a specified string.
	ExternalStoreName *string `json:"externalStoreName,omitempty" xml:"externalStoreName,omitempty"`
	// The line from which the query starts. Default value: 0.
	Offset *int32 `json:"offset,omitempty" xml:"offset,omitempty"`
	// The number of entries per page. Maximum value: 500.
	Sizs *int32 `json:"sizs,omitempty" xml:"sizs,omitempty"`
}

func (ListExternalStoreRequest) GoString

func (s ListExternalStoreRequest) GoString() string

func (*ListExternalStoreRequest) SetExternalStoreName

func (s *ListExternalStoreRequest) SetExternalStoreName(v string) *ListExternalStoreRequest

func (*ListExternalStoreRequest) SetOffset

func (*ListExternalStoreRequest) SetSizs

func (ListExternalStoreRequest) String

func (s ListExternalStoreRequest) String() string

type ListExternalStoreResponse

type ListExternalStoreResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListExternalStoreResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListExternalStoreResponse) GoString

func (s ListExternalStoreResponse) GoString() string

func (*ListExternalStoreResponse) SetBody

func (*ListExternalStoreResponse) SetHeaders

func (*ListExternalStoreResponse) SetStatusCode

func (ListExternalStoreResponse) String

func (s ListExternalStoreResponse) String() string

type ListExternalStoreResponseBody

type ListExternalStoreResponseBody struct {
	// The number of external stores returned on the current page.
	Count *int32 `json:"count,omitempty" xml:"count,omitempty"`
	// The names of the external stores.
	Externalstores []*ExternalStore `json:"externalstores,omitempty" xml:"externalstores,omitempty" type:"Repeated"`
	// The number of external stores that meet the query conditions.
	Total *int32 `json:"total,omitempty" xml:"total,omitempty"`
}

func (ListExternalStoreResponseBody) GoString

func (*ListExternalStoreResponseBody) SetCount

func (*ListExternalStoreResponseBody) SetExternalstores

func (*ListExternalStoreResponseBody) SetTotal

func (ListExternalStoreResponseBody) String

type ListLogStoresRequest

type ListLogStoresRequest struct {
	// The name of the Logstore. Fuzzy match is supported. For example, if you enter test, Logstores whose name contains test are returned.
	LogstoreName *string `json:"logstoreName,omitempty" xml:"logstoreName,omitempty"`
	// The type of the Logstore. Valid values: standard and query.
	//
	// *   **standard**: Standard Logstore. This type of Logstore supports the log analysis feature and is suitable for scenarios such as real-time monitoring and interactive analysis. You can also use this type of Logstore to build a comprehensive observability system.
	// *   **query**: Query Logstore. This type of Logstore supports high-performance queries. The index traffic fee of a Query Logstore is approximately half that of a Standard Logstore. Query Logstores do not support SQL analysis. Query Logstores are suitable for scenarios in which the volume of data is large, the log retention period is long, or log analysis is not required. Log retention periods of weeks or months are considered long.
	Mode *string `json:"mode,omitempty" xml:"mode,omitempty"`
	// The line from which the query starts. Default value: 0.
	Offset *int32 `json:"offset,omitempty" xml:"offset,omitempty"`
	// The number of entries per page. Maximum value: 500. Default value: 500.
	Size *int32 `json:"size,omitempty" xml:"size,omitempty"`
	// The type of the data that you want to query. Valid values:
	//
	// *   None: logs
	// *   Metrics: metrics
	TelemetryType *string `json:"telemetryType,omitempty" xml:"telemetryType,omitempty"`
}

func (ListLogStoresRequest) GoString

func (s ListLogStoresRequest) GoString() string

func (*ListLogStoresRequest) SetLogstoreName

func (s *ListLogStoresRequest) SetLogstoreName(v string) *ListLogStoresRequest

func (*ListLogStoresRequest) SetMode

func (*ListLogStoresRequest) SetOffset

func (*ListLogStoresRequest) SetSize

func (*ListLogStoresRequest) SetTelemetryType

func (s *ListLogStoresRequest) SetTelemetryType(v string) *ListLogStoresRequest

func (ListLogStoresRequest) String

func (s ListLogStoresRequest) String() string

type ListLogStoresResponse

type ListLogStoresResponse struct {
	Headers    map[string]*string         `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                     `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListLogStoresResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListLogStoresResponse) GoString

func (s ListLogStoresResponse) GoString() string

func (*ListLogStoresResponse) SetBody

func (*ListLogStoresResponse) SetHeaders

func (*ListLogStoresResponse) SetStatusCode

func (s *ListLogStoresResponse) SetStatusCode(v int32) *ListLogStoresResponse

func (ListLogStoresResponse) String

func (s ListLogStoresResponse) String() string

type ListLogStoresResponseBody

type ListLogStoresResponseBody struct {
	// The number of entries returned on the current page.
	Count *int32 `json:"count,omitempty" xml:"count,omitempty"`
	// The Logstores that meet the query conditions.
	Logstores []*string `json:"logstores,omitempty" xml:"logstores,omitempty" type:"Repeated"`
	// The number of the Logstores that meet the query conditions.
	Total *int32 `json:"total,omitempty" xml:"total,omitempty"`
}

func (ListLogStoresResponseBody) GoString

func (s ListLogStoresResponseBody) GoString() string

func (*ListLogStoresResponseBody) SetCount

func (*ListLogStoresResponseBody) SetLogstores

func (*ListLogStoresResponseBody) SetTotal

func (ListLogStoresResponseBody) String

func (s ListLogStoresResponseBody) String() string

type ListLogtailPipelineConfigRequest

type ListLogtailPipelineConfigRequest struct {
	// The name of the Logtail pipeline configuration.
	ConfigName *string `json:"configName,omitempty" xml:"configName,omitempty"`
	// The name of the Logstore.
	LogstoreName *string `json:"logstoreName,omitempty" xml:"logstoreName,omitempty"`
	// The line from which the query starts.
	Offset *int64 `json:"offset,omitempty" xml:"offset,omitempty"`
	// The number of Logtail pipeline configurations per page.
	Size *int64 `json:"size,omitempty" xml:"size,omitempty"`
}

func (ListLogtailPipelineConfigRequest) GoString

func (*ListLogtailPipelineConfigRequest) SetConfigName

func (*ListLogtailPipelineConfigRequest) SetLogstoreName

func (*ListLogtailPipelineConfigRequest) SetOffset

func (*ListLogtailPipelineConfigRequest) SetSize

func (ListLogtailPipelineConfigRequest) String

type ListLogtailPipelineConfigResponse

type ListLogtailPipelineConfigResponse struct {
	Headers    map[string]*string                     `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                                 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListLogtailPipelineConfigResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListLogtailPipelineConfigResponse) GoString

func (*ListLogtailPipelineConfigResponse) SetHeaders

func (*ListLogtailPipelineConfigResponse) SetStatusCode

func (ListLogtailPipelineConfigResponse) String

type ListLogtailPipelineConfigResponseBody

type ListLogtailPipelineConfigResponseBody struct {
	// The Logtail pipeline configurations that are returned on the current page.
	Configs []*string `json:"configs,omitempty" xml:"configs,omitempty" type:"Repeated"`
	// The number of Logtail pipeline configurations that are returned on the current page.
	Count *int32 `json:"count,omitempty" xml:"count,omitempty"`
	// The total number of Logtail pipeline configurations in the current project.
	Total *int32 `json:"total,omitempty" xml:"total,omitempty"`
}

func (ListLogtailPipelineConfigResponseBody) GoString

func (*ListLogtailPipelineConfigResponseBody) SetConfigs

func (*ListLogtailPipelineConfigResponseBody) SetCount

func (*ListLogtailPipelineConfigResponseBody) SetTotal

func (ListLogtailPipelineConfigResponseBody) String

type ListMachineGroupRequest

type ListMachineGroupRequest struct {
	// The name of the machine group. This parameter is used to filter machine groups. Partial match is supported.
	GroupName *string `json:"groupName,omitempty" xml:"groupName,omitempty"`
	// The line from which the query starts. Default value: 0.
	Offset *int32 `json:"offset,omitempty" xml:"offset,omitempty"`
	// The number of entries per page. Maximum value: 500.
	Size *int32 `json:"size,omitempty" xml:"size,omitempty"`
}

func (ListMachineGroupRequest) GoString

func (s ListMachineGroupRequest) GoString() string

func (*ListMachineGroupRequest) SetGroupName

func (*ListMachineGroupRequest) SetOffset

func (*ListMachineGroupRequest) SetSize

func (ListMachineGroupRequest) String

func (s ListMachineGroupRequest) String() string

type ListMachineGroupResponse

type ListMachineGroupResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListMachineGroupResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListMachineGroupResponse) GoString

func (s ListMachineGroupResponse) GoString() string

func (*ListMachineGroupResponse) SetBody

func (*ListMachineGroupResponse) SetHeaders

func (*ListMachineGroupResponse) SetStatusCode

func (ListMachineGroupResponse) String

func (s ListMachineGroupResponse) String() string

type ListMachineGroupResponseBody

type ListMachineGroupResponseBody struct {
	// The number of machine groups that are returned on the current page.
	Count *int32 `json:"count,omitempty" xml:"count,omitempty"`
	// The machine groups that meet the query conditions.
	Machinegroups []*string `json:"machinegroups,omitempty" xml:"machinegroups,omitempty" type:"Repeated"`
	// The total number of machine groups that meet the query conditions.
	Total *int32 `json:"total,omitempty" xml:"total,omitempty"`
}

func (ListMachineGroupResponseBody) GoString

func (s ListMachineGroupResponseBody) GoString() string

func (*ListMachineGroupResponseBody) SetCount

func (*ListMachineGroupResponseBody) SetMachinegroups

func (*ListMachineGroupResponseBody) SetTotal

func (ListMachineGroupResponseBody) String

type ListMachinesRequest

type ListMachinesRequest struct {
	// The line from which the query starts. Default value: 0.
	Offset *int32 `json:"offset,omitempty" xml:"offset,omitempty"`
	// The number of entries per page. Default value: 100. Maximum value: 500.
	Size *int32 `json:"size,omitempty" xml:"size,omitempty"`
}

func (ListMachinesRequest) GoString

func (s ListMachinesRequest) GoString() string

func (*ListMachinesRequest) SetOffset

func (*ListMachinesRequest) SetSize

func (ListMachinesRequest) String

func (s ListMachinesRequest) String() string

type ListMachinesResponse

type ListMachinesResponse struct {
	Headers    map[string]*string        `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                    `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListMachinesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListMachinesResponse) GoString

func (s ListMachinesResponse) GoString() string

func (*ListMachinesResponse) SetBody

func (*ListMachinesResponse) SetHeaders

func (s *ListMachinesResponse) SetHeaders(v map[string]*string) *ListMachinesResponse

func (*ListMachinesResponse) SetStatusCode

func (s *ListMachinesResponse) SetStatusCode(v int32) *ListMachinesResponse

func (ListMachinesResponse) String

func (s ListMachinesResponse) String() string

type ListMachinesResponseBody

type ListMachinesResponseBody struct {
	// The number of machines that are returned on the current page.
	Count *int32 `json:"count,omitempty" xml:"count,omitempty"`
	// The machines that are returned.
	Machines []*Machine `json:"machines,omitempty" xml:"machines,omitempty" type:"Repeated"`
	// The total number of machines.
	Total *int32 `json:"total,omitempty" xml:"total,omitempty"`
}

func (ListMachinesResponseBody) GoString

func (s ListMachinesResponseBody) GoString() string

func (*ListMachinesResponseBody) SetCount

func (*ListMachinesResponseBody) SetMachines

func (*ListMachinesResponseBody) SetTotal

func (ListMachinesResponseBody) String

func (s ListMachinesResponseBody) String() string

type ListProjectRequest

type ListProjectRequest struct {
	// The line from which the query starts. Default value: 0.
	Offset *int32 `json:"offset,omitempty" xml:"offset,omitempty"`
	// The name of the project.
	ProjectName     *string `json:"projectName,omitempty" xml:"projectName,omitempty"`
	ResourceGroupId *string `json:"resourceGroupId,omitempty" xml:"resourceGroupId,omitempty"`
	// The number of entries per page. Default value: 100. This operation can return up to 500 projects.
	Size *int32 `json:"size,omitempty" xml:"size,omitempty"`
}

func (ListProjectRequest) GoString

func (s ListProjectRequest) GoString() string

func (*ListProjectRequest) SetOffset

func (s *ListProjectRequest) SetOffset(v int32) *ListProjectRequest

func (*ListProjectRequest) SetProjectName

func (s *ListProjectRequest) SetProjectName(v string) *ListProjectRequest

func (*ListProjectRequest) SetResourceGroupId added in v5.1.0

func (s *ListProjectRequest) SetResourceGroupId(v string) *ListProjectRequest

func (*ListProjectRequest) SetSize

func (ListProjectRequest) String

func (s ListProjectRequest) String() string

type ListProjectResponse

type ListProjectResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListProjectResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListProjectResponse) GoString

func (s ListProjectResponse) GoString() string

func (*ListProjectResponse) SetBody

func (*ListProjectResponse) SetHeaders

func (s *ListProjectResponse) SetHeaders(v map[string]*string) *ListProjectResponse

func (*ListProjectResponse) SetStatusCode

func (s *ListProjectResponse) SetStatusCode(v int32) *ListProjectResponse

func (ListProjectResponse) String

func (s ListProjectResponse) String() string

type ListProjectResponseBody

type ListProjectResponseBody struct {
	// The number of returned projects on the current page.
	Count *int64 `json:"count,omitempty" xml:"count,omitempty"`
	// The projects that meet the query conditions.
	Projects []*Project `json:"projects,omitempty" xml:"projects,omitempty" type:"Repeated"`
	// The total number of projects that meet the query conditions.
	Total *int64 `json:"total,omitempty" xml:"total,omitempty"`
}

func (ListProjectResponseBody) GoString

func (s ListProjectResponseBody) GoString() string

func (*ListProjectResponseBody) SetCount

func (*ListProjectResponseBody) SetProjects

func (*ListProjectResponseBody) SetTotal

func (ListProjectResponseBody) String

func (s ListProjectResponseBody) String() string

type ListSavedSearchRequest

type ListSavedSearchRequest struct {
	// The line from which the query starts. Default value: 0.
	Offset *int32 `json:"offset,omitempty" xml:"offset,omitempty"`
	// The number of entries per page. Maximum value: 500.
	Size *int32 `json:"size,omitempty" xml:"size,omitempty"`
}

func (ListSavedSearchRequest) GoString

func (s ListSavedSearchRequest) GoString() string

func (*ListSavedSearchRequest) SetOffset

func (*ListSavedSearchRequest) SetSize

func (ListSavedSearchRequest) String

func (s ListSavedSearchRequest) String() string

type ListSavedSearchResponse

type ListSavedSearchResponse struct {
	Headers    map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                       `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListSavedSearchResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListSavedSearchResponse) GoString

func (s ListSavedSearchResponse) GoString() string

func (*ListSavedSearchResponse) SetBody

func (*ListSavedSearchResponse) SetHeaders

func (*ListSavedSearchResponse) SetStatusCode

func (ListSavedSearchResponse) String

func (s ListSavedSearchResponse) String() string

type ListSavedSearchResponseBody

type ListSavedSearchResponseBody struct {
	// The number of saved searches returned on the current page.
	Count *int32 `json:"count,omitempty" xml:"count,omitempty"`
	// The saved searches.
	SavedsearchItems []*SavedSearch `json:"savedsearchItems,omitempty" xml:"savedsearchItems,omitempty" type:"Repeated"`
	// The total number of saved searches that meet the query conditions.
	Total *int32 `json:"total,omitempty" xml:"total,omitempty"`
}

func (ListSavedSearchResponseBody) GoString

func (s ListSavedSearchResponseBody) GoString() string

func (*ListSavedSearchResponseBody) SetCount

func (*ListSavedSearchResponseBody) SetSavedsearchItems

func (*ListSavedSearchResponseBody) SetTotal

func (ListSavedSearchResponseBody) String

type ListShardsResponse

type ListShardsResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       []*Shard           `json:"body,omitempty" xml:"body,omitempty" require:"true" type:"Repeated"`
}

func (ListShardsResponse) GoString

func (s ListShardsResponse) GoString() string

func (*ListShardsResponse) SetBody

func (s *ListShardsResponse) SetBody(v []*Shard) *ListShardsResponse

func (*ListShardsResponse) SetHeaders

func (s *ListShardsResponse) SetHeaders(v map[string]*string) *ListShardsResponse

func (*ListShardsResponse) SetStatusCode

func (s *ListShardsResponse) SetStatusCode(v int32) *ListShardsResponse

func (ListShardsResponse) String

func (s ListShardsResponse) String() string

type ListShipperResponse

type ListShipperResponse struct {
	Headers    map[string]*string       `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                   `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListShipperResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListShipperResponse) GoString

func (s ListShipperResponse) GoString() string

func (*ListShipperResponse) SetBody

func (*ListShipperResponse) SetHeaders

func (s *ListShipperResponse) SetHeaders(v map[string]*string) *ListShipperResponse

func (*ListShipperResponse) SetStatusCode

func (s *ListShipperResponse) SetStatusCode(v int32) *ListShipperResponse

func (ListShipperResponse) String

func (s ListShipperResponse) String() string

type ListShipperResponseBody

type ListShipperResponseBody struct {
	// The number of log shipping jobs returned.
	Count *int64 `json:"count,omitempty" xml:"count,omitempty"`
	// The names of the log shipping jobs.
	Shipper []*string `json:"shipper,omitempty" xml:"shipper,omitempty" type:"Repeated"`
	// The total number of log shipping jobs.
	Total *int64 `json:"total,omitempty" xml:"total,omitempty"`
}

func (ListShipperResponseBody) GoString

func (s ListShipperResponseBody) GoString() string

func (*ListShipperResponseBody) SetCount

func (*ListShipperResponseBody) SetShipper

func (*ListShipperResponseBody) SetTotal

func (ListShipperResponseBody) String

func (s ListShipperResponseBody) String() string

type ListTagResourcesRequest

type ListTagResourcesRequest struct {
	// The IDs of the resources for which you want to query tags. You must specify at least one of resourceId and tags.
	ResourceId []*string `json:"resourceId,omitempty" xml:"resourceId,omitempty" type:"Repeated"`
	// The type of the resource. Set the value to project.
	ResourceType *string `json:"resourceType,omitempty" xml:"resourceType,omitempty"`
	// The tags that you want to use to filter resources based on exact match. Each tag is a key-value pair. You must specify at least one of resourceId and tags.
	//
	// You can enter up to 20 tags.
	Tags []*ListTagResourcesRequestTags `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
}

func (ListTagResourcesRequest) GoString

func (s ListTagResourcesRequest) GoString() string

func (*ListTagResourcesRequest) SetResourceId

func (s *ListTagResourcesRequest) SetResourceId(v []*string) *ListTagResourcesRequest

func (*ListTagResourcesRequest) SetResourceType

func (*ListTagResourcesRequest) SetTags

func (ListTagResourcesRequest) String

func (s ListTagResourcesRequest) String() string

type ListTagResourcesRequestTags

type ListTagResourcesRequestTags struct {
	// The key of the tag that you want to use to filter resources. For example, if you set the key to `"test-key"`, only resources to which the key is added are returned.“
	Key *string `json:"key,omitempty" xml:"key,omitempty"`
	// The value of the tag that you want to use to filter resources. If you set the value to null, resources are filtered based only on the key of the tag.
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (ListTagResourcesRequestTags) GoString

func (s ListTagResourcesRequestTags) GoString() string

func (*ListTagResourcesRequestTags) SetKey

func (*ListTagResourcesRequestTags) SetValue

func (ListTagResourcesRequestTags) String

type ListTagResourcesResponse

type ListTagResourcesResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *ListTagResourcesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (ListTagResourcesResponse) GoString

func (s ListTagResourcesResponse) GoString() string

func (*ListTagResourcesResponse) SetBody

func (*ListTagResourcesResponse) SetHeaders

func (*ListTagResourcesResponse) SetStatusCode

func (ListTagResourcesResponse) String

func (s ListTagResourcesResponse) String() string

type ListTagResourcesResponseBody

type ListTagResourcesResponseBody struct {
	// The pagination token that is used in the next request to retrieve a new page of results.
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// The returned tags.
	TagResources []*ListTagResourcesResponseBodyTagResources `json:"tagResources,omitempty" xml:"tagResources,omitempty" type:"Repeated"`
}

func (ListTagResourcesResponseBody) GoString

func (s ListTagResourcesResponseBody) GoString() string

func (*ListTagResourcesResponseBody) SetNextToken

func (*ListTagResourcesResponseBody) SetTagResources

func (ListTagResourcesResponseBody) String

type ListTagResourcesResponseBodyTagResources

type ListTagResourcesResponseBodyTagResources struct {
	// The ID of the resource.
	ResourceId *string `json:"resourceId,omitempty" xml:"resourceId,omitempty"`
	// The type of the resource.
	ResourceType *string `json:"resourceType,omitempty" xml:"resourceType,omitempty"`
	// The key of the tag.
	TagKey *string `json:"tagKey,omitempty" xml:"tagKey,omitempty"`
	// The value of the tag.
	TagValue *string `json:"tagValue,omitempty" xml:"tagValue,omitempty"`
}

func (ListTagResourcesResponseBodyTagResources) GoString

func (*ListTagResourcesResponseBodyTagResources) SetResourceId

func (*ListTagResourcesResponseBodyTagResources) SetResourceType

func (*ListTagResourcesResponseBodyTagResources) SetTagKey

func (*ListTagResourcesResponseBodyTagResources) SetTagValue

func (ListTagResourcesResponseBodyTagResources) String

type ListTagResourcesShrinkRequest

type ListTagResourcesShrinkRequest struct {
	// The IDs of the resources for which you want to query tags. You must specify at least one of resourceId and tags.
	ResourceIdShrink *string `json:"resourceId,omitempty" xml:"resourceId,omitempty"`
	// The type of the resource. Set the value to project.
	ResourceType *string `json:"resourceType,omitempty" xml:"resourceType,omitempty"`
	// The tags that you want to use to filter resources based on exact match. Each tag is a key-value pair. You must specify at least one of resourceId and tags.
	//
	// You can enter up to 20 tags.
	TagsShrink *string `json:"tags,omitempty" xml:"tags,omitempty"`
}

func (ListTagResourcesShrinkRequest) GoString

func (*ListTagResourcesShrinkRequest) SetResourceIdShrink

func (*ListTagResourcesShrinkRequest) SetResourceType

func (*ListTagResourcesShrinkRequest) SetTagsShrink

func (ListTagResourcesShrinkRequest) String

type LogContent

type LogContent struct {
	Key   *string `json:"Key,omitempty" xml:"Key,omitempty"`
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (LogContent) GoString

func (s LogContent) GoString() string

func (*LogContent) SetKey

func (s *LogContent) SetKey(v string) *LogContent

func (*LogContent) SetValue

func (s *LogContent) SetValue(v string) *LogContent

func (LogContent) String

func (s LogContent) String() string

type LogGroup

type LogGroup struct {
	LogTags []*LogTag  `json:"LogTags,omitempty" xml:"LogTags,omitempty" type:"Repeated"`
	Logs    []*LogItem `json:"Logs,omitempty" xml:"Logs,omitempty" type:"Repeated"`
	Source  *string    `json:"Source,omitempty" xml:"Source,omitempty"`
	Topic   *string    `json:"Topic,omitempty" xml:"Topic,omitempty"`
}

func (LogGroup) GoString

func (s LogGroup) GoString() string

func (*LogGroup) SetLogTags

func (s *LogGroup) SetLogTags(v []*LogTag) *LogGroup

func (*LogGroup) SetLogs

func (s *LogGroup) SetLogs(v []*LogItem) *LogGroup

func (*LogGroup) SetSource

func (s *LogGroup) SetSource(v string) *LogGroup

func (*LogGroup) SetTopic

func (s *LogGroup) SetTopic(v string) *LogGroup

func (LogGroup) String

func (s LogGroup) String() string

type LogItem

type LogItem struct {
	Contents []*LogContent `json:"Contents,omitempty" xml:"Contents,omitempty" type:"Repeated"`
	Time     *int32        `json:"Time,omitempty" xml:"Time,omitempty"`
}

func (LogItem) GoString

func (s LogItem) GoString() string

func (*LogItem) SetContents

func (s *LogItem) SetContents(v []*LogContent) *LogItem

func (*LogItem) SetTime

func (s *LogItem) SetTime(v int32) *LogItem

func (LogItem) String

func (s LogItem) String() string

type LogTag

type LogTag struct {
	Key   *string `json:"Key,omitempty" xml:"Key,omitempty"`
	Value *string `json:"Value,omitempty" xml:"Value,omitempty"`
}

func (LogTag) GoString

func (s LogTag) GoString() string

func (*LogTag) SetKey

func (s *LogTag) SetKey(v string) *LogTag

func (*LogTag) SetValue

func (s *LogTag) SetValue(v string) *LogTag

func (LogTag) String

func (s LogTag) String() string

type Logging

type Logging struct {
	LoggingDetails []*LoggingLoggingDetails `json:"loggingDetails,omitempty" xml:"loggingDetails,omitempty" type:"Repeated"`
	LoggingProject *string                  `json:"loggingProject,omitempty" xml:"loggingProject,omitempty"`
}

func (Logging) GoString

func (s Logging) GoString() string

func (*Logging) SetLoggingDetails

func (s *Logging) SetLoggingDetails(v []*LoggingLoggingDetails) *Logging

func (*Logging) SetLoggingProject

func (s *Logging) SetLoggingProject(v string) *Logging

func (Logging) String

func (s Logging) String() string

type LoggingLoggingDetails

type LoggingLoggingDetails struct {
	Logstore *string `json:"logstore,omitempty" xml:"logstore,omitempty"`
	Type     *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (LoggingLoggingDetails) GoString

func (s LoggingLoggingDetails) GoString() string

func (*LoggingLoggingDetails) SetLogstore

func (*LoggingLoggingDetails) SetType

func (LoggingLoggingDetails) String

func (s LoggingLoggingDetails) String() string

type Logstore

type Logstore struct {
	AppendMeta          *bool        `json:"appendMeta,omitempty" xml:"appendMeta,omitempty"`
	AutoSplit           *bool        `json:"autoSplit,omitempty" xml:"autoSplit,omitempty"`
	CreateTime          *int32       `json:"createTime,omitempty" xml:"createTime,omitempty"`
	EnableTracking      *bool        `json:"enable_tracking,omitempty" xml:"enable_tracking,omitempty"`
	EncryptConf         *EncryptConf `json:"encrypt_conf,omitempty" xml:"encrypt_conf,omitempty"`
	HotTtl              *int32       `json:"hot_ttl,omitempty" xml:"hot_ttl,omitempty"`
	InfrequentAccessTTL *int32       `json:"infrequentAccessTTL,omitempty" xml:"infrequentAccessTTL,omitempty"`
	LastModifyTime      *int32       `json:"lastModifyTime,omitempty" xml:"lastModifyTime,omitempty"`
	LogstoreName        *string      `json:"logstoreName,omitempty" xml:"logstoreName,omitempty"`
	MaxSplitShard       *int32       `json:"maxSplitShard,omitempty" xml:"maxSplitShard,omitempty"`
	Mode                *string      `json:"mode,omitempty" xml:"mode,omitempty"`
	ProductType         *string      `json:"productType,omitempty" xml:"productType,omitempty"`
	ShardCount          *int32       `json:"shardCount,omitempty" xml:"shardCount,omitempty"`
	TelemetryType       *string      `json:"telemetryType,omitempty" xml:"telemetryType,omitempty"`
	Ttl                 *int32       `json:"ttl,omitempty" xml:"ttl,omitempty"`
}

func (Logstore) GoString

func (s Logstore) GoString() string

func (*Logstore) SetAppendMeta

func (s *Logstore) SetAppendMeta(v bool) *Logstore

func (*Logstore) SetAutoSplit

func (s *Logstore) SetAutoSplit(v bool) *Logstore

func (*Logstore) SetCreateTime

func (s *Logstore) SetCreateTime(v int32) *Logstore

func (*Logstore) SetEnableTracking

func (s *Logstore) SetEnableTracking(v bool) *Logstore

func (*Logstore) SetEncryptConf

func (s *Logstore) SetEncryptConf(v *EncryptConf) *Logstore

func (*Logstore) SetHotTtl

func (s *Logstore) SetHotTtl(v int32) *Logstore

func (*Logstore) SetInfrequentAccessTTL added in v5.2.1

func (s *Logstore) SetInfrequentAccessTTL(v int32) *Logstore

func (*Logstore) SetLastModifyTime

func (s *Logstore) SetLastModifyTime(v int32) *Logstore

func (*Logstore) SetLogstoreName

func (s *Logstore) SetLogstoreName(v string) *Logstore

func (*Logstore) SetMaxSplitShard

func (s *Logstore) SetMaxSplitShard(v int32) *Logstore

func (*Logstore) SetMode

func (s *Logstore) SetMode(v string) *Logstore

func (*Logstore) SetProductType

func (s *Logstore) SetProductType(v string) *Logstore

func (*Logstore) SetShardCount

func (s *Logstore) SetShardCount(v int32) *Logstore

func (*Logstore) SetTelemetryType

func (s *Logstore) SetTelemetryType(v string) *Logstore

func (*Logstore) SetTtl

func (s *Logstore) SetTtl(v int32) *Logstore

func (Logstore) String

func (s Logstore) String() string

type LogtailConfig

type LogtailConfig struct {
	ConfigName     *string                    `json:"configName,omitempty" xml:"configName,omitempty"`
	CreateTime     *int64                     `json:"createTime,omitempty" xml:"createTime,omitempty"`
	InputDetail    map[string]interface{}     `json:"inputDetail,omitempty" xml:"inputDetail,omitempty"`
	InputType      *string                    `json:"inputType,omitempty" xml:"inputType,omitempty"`
	LastModifyTime *int64                     `json:"lastModifyTime,omitempty" xml:"lastModifyTime,omitempty"`
	LogSample      *string                    `json:"logSample,omitempty" xml:"logSample,omitempty"`
	OutputDetail   *LogtailConfigOutputDetail `json:"outputDetail,omitempty" xml:"outputDetail,omitempty" type:"Struct"`
	OutputType     *string                    `json:"outputType,omitempty" xml:"outputType,omitempty"`
}

func (LogtailConfig) GoString

func (s LogtailConfig) GoString() string

func (*LogtailConfig) SetConfigName

func (s *LogtailConfig) SetConfigName(v string) *LogtailConfig

func (*LogtailConfig) SetCreateTime

func (s *LogtailConfig) SetCreateTime(v int64) *LogtailConfig

func (*LogtailConfig) SetInputDetail

func (s *LogtailConfig) SetInputDetail(v map[string]interface{}) *LogtailConfig

func (*LogtailConfig) SetInputType

func (s *LogtailConfig) SetInputType(v string) *LogtailConfig

func (*LogtailConfig) SetLastModifyTime

func (s *LogtailConfig) SetLastModifyTime(v int64) *LogtailConfig

func (*LogtailConfig) SetLogSample

func (s *LogtailConfig) SetLogSample(v string) *LogtailConfig

func (*LogtailConfig) SetOutputDetail

func (s *LogtailConfig) SetOutputDetail(v *LogtailConfigOutputDetail) *LogtailConfig

func (*LogtailConfig) SetOutputType

func (s *LogtailConfig) SetOutputType(v string) *LogtailConfig

func (LogtailConfig) String

func (s LogtailConfig) String() string

type LogtailConfigOutputDetail

type LogtailConfigOutputDetail struct {
	Endpoint     *string `json:"endpoint,omitempty" xml:"endpoint,omitempty"`
	LogstoreName *string `json:"logstoreName,omitempty" xml:"logstoreName,omitempty"`
	Region       *string `json:"region,omitempty" xml:"region,omitempty"`
}

func (LogtailConfigOutputDetail) GoString

func (s LogtailConfigOutputDetail) GoString() string

func (*LogtailConfigOutputDetail) SetEndpoint

func (*LogtailConfigOutputDetail) SetLogstoreName

func (*LogtailConfigOutputDetail) SetRegion

func (LogtailConfigOutputDetail) String

func (s LogtailConfigOutputDetail) String() string

type LogtailPipelineConfig

type LogtailPipelineConfig struct {
	Aggregators    []map[string]interface{} `json:"aggregators,omitempty" xml:"aggregators,omitempty" type:"Repeated"`
	ConfigName     *string                  `json:"configName,omitempty" xml:"configName,omitempty"`
	CreateTime     *int64                   `json:"createTime,omitempty" xml:"createTime,omitempty"`
	Flushers       []map[string]interface{} `json:"flushers,omitempty" xml:"flushers,omitempty" type:"Repeated"`
	Global         map[string]interface{}   `json:"global,omitempty" xml:"global,omitempty"`
	Inputs         []map[string]interface{} `json:"inputs,omitempty" xml:"inputs,omitempty" type:"Repeated"`
	LastModifyTime *int64                   `json:"lastModifyTime,omitempty" xml:"lastModifyTime,omitempty"`
	LogSample      *string                  `json:"logSample,omitempty" xml:"logSample,omitempty"`
	Processors     []map[string]interface{} `json:"processors,omitempty" xml:"processors,omitempty" type:"Repeated"`
}

func (LogtailPipelineConfig) GoString

func (s LogtailPipelineConfig) GoString() string

func (*LogtailPipelineConfig) SetAggregators

func (s *LogtailPipelineConfig) SetAggregators(v []map[string]interface{}) *LogtailPipelineConfig

func (*LogtailPipelineConfig) SetConfigName

func (s *LogtailPipelineConfig) SetConfigName(v string) *LogtailPipelineConfig

func (*LogtailPipelineConfig) SetCreateTime

func (s *LogtailPipelineConfig) SetCreateTime(v int64) *LogtailPipelineConfig

func (*LogtailPipelineConfig) SetFlushers

func (s *LogtailPipelineConfig) SetFlushers(v []map[string]interface{}) *LogtailPipelineConfig

func (*LogtailPipelineConfig) SetGlobal

func (s *LogtailPipelineConfig) SetGlobal(v map[string]interface{}) *LogtailPipelineConfig

func (*LogtailPipelineConfig) SetInputs

func (s *LogtailPipelineConfig) SetInputs(v []map[string]interface{}) *LogtailPipelineConfig

func (*LogtailPipelineConfig) SetLastModifyTime

func (s *LogtailPipelineConfig) SetLastModifyTime(v int64) *LogtailPipelineConfig

func (*LogtailPipelineConfig) SetLogSample

func (*LogtailPipelineConfig) SetProcessors

func (s *LogtailPipelineConfig) SetProcessors(v []map[string]interface{}) *LogtailPipelineConfig

func (LogtailPipelineConfig) String

func (s LogtailPipelineConfig) String() string

type MLDataParam

type MLDataParam struct {
	AnnotationdataId *string                                 `json:"annotationdataId,omitempty" xml:"annotationdataId,omitempty"`
	Annotations      map[string]*MLDataParamAnnotationsValue `json:"annotations,omitempty" xml:"annotations,omitempty"`
	Config           map[string]*string                      `json:"config,omitempty" xml:"config,omitempty"`
	CreateTime       *int64                                  `json:"createTime,omitempty" xml:"createTime,omitempty"`
	DataHash         *string                                 `json:"dataHash,omitempty" xml:"dataHash,omitempty"`
	DatasetId        *string                                 `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
	LastModifyTime   *int64                                  `json:"lastModifyTime,omitempty" xml:"lastModifyTime,omitempty"`
	Predictions      map[string]*MLDataParamPredictionsValue `json:"predictions,omitempty" xml:"predictions,omitempty"`
	Value            *string                                 `json:"value,omitempty" xml:"value,omitempty"`
	ValueType        *string                                 `json:"valueType,omitempty" xml:"valueType,omitempty"`
}

func (MLDataParam) GoString

func (s MLDataParam) GoString() string

func (*MLDataParam) SetAnnotationdataId

func (s *MLDataParam) SetAnnotationdataId(v string) *MLDataParam

func (*MLDataParam) SetAnnotations

func (s *MLDataParam) SetAnnotations(v map[string]*MLDataParamAnnotationsValue) *MLDataParam

func (*MLDataParam) SetConfig

func (s *MLDataParam) SetConfig(v map[string]*string) *MLDataParam

func (*MLDataParam) SetCreateTime

func (s *MLDataParam) SetCreateTime(v int64) *MLDataParam

func (*MLDataParam) SetDataHash

func (s *MLDataParam) SetDataHash(v string) *MLDataParam

func (*MLDataParam) SetDatasetId

func (s *MLDataParam) SetDatasetId(v string) *MLDataParam

func (*MLDataParam) SetLastModifyTime

func (s *MLDataParam) SetLastModifyTime(v int64) *MLDataParam

func (*MLDataParam) SetPredictions

func (s *MLDataParam) SetPredictions(v map[string]*MLDataParamPredictionsValue) *MLDataParam

func (*MLDataParam) SetValue

func (s *MLDataParam) SetValue(v string) *MLDataParam

func (*MLDataParam) SetValueType

func (s *MLDataParam) SetValueType(v string) *MLDataParam

func (MLDataParam) String

func (s MLDataParam) String() string

type MLDataParamAnnotationsValue

type MLDataParamAnnotationsValue struct {
	AnnotatedBy *string              `json:"annotatedBy,omitempty" xml:"annotatedBy,omitempty"`
	UpdateTime  *int64               `json:"updateTime,omitempty" xml:"updateTime,omitempty"`
	Results     []map[string]*string `json:"results,omitempty" xml:"results,omitempty" type:"Repeated"`
}

func (MLDataParamAnnotationsValue) GoString

func (s MLDataParamAnnotationsValue) GoString() string

func (*MLDataParamAnnotationsValue) SetAnnotatedBy

func (*MLDataParamAnnotationsValue) SetResults

func (*MLDataParamAnnotationsValue) SetUpdateTime

func (MLDataParamAnnotationsValue) String

type MLDataParamPredictionsValue

type MLDataParamPredictionsValue struct {
	AnnotatedBy *string              `json:"annotatedBy,omitempty" xml:"annotatedBy,omitempty"`
	UpdateTime  *int64               `json:"updateTime,omitempty" xml:"updateTime,omitempty"`
	Results     []map[string]*string `json:"results,omitempty" xml:"results,omitempty" type:"Repeated"`
}

func (MLDataParamPredictionsValue) GoString

func (s MLDataParamPredictionsValue) GoString() string

func (*MLDataParamPredictionsValue) SetAnnotatedBy

func (*MLDataParamPredictionsValue) SetResults

func (*MLDataParamPredictionsValue) SetUpdateTime

func (MLDataParamPredictionsValue) String

type MLDataSetParam

type MLDataSetParam struct {
	CreateBy       *string `json:"createBy,omitempty" xml:"createBy,omitempty"`
	CreateTime     *int64  `json:"createTime,omitempty" xml:"createTime,omitempty"`
	DataType       *string `json:"dataType,omitempty" xml:"dataType,omitempty"`
	DatasetId      *string `json:"datasetId,omitempty" xml:"datasetId,omitempty"`
	Description    *string `json:"description,omitempty" xml:"description,omitempty"`
	LabelId        *string `json:"labelId,omitempty" xml:"labelId,omitempty"`
	LastModifyTime *int64  `json:"lastModifyTime,omitempty" xml:"lastModifyTime,omitempty"`
	Name           *string `json:"name,omitempty" xml:"name,omitempty"`
	SettingType    *string `json:"settingType,omitempty" xml:"settingType,omitempty"`
}

func (MLDataSetParam) GoString

func (s MLDataSetParam) GoString() string

func (*MLDataSetParam) SetCreateBy

func (s *MLDataSetParam) SetCreateBy(v string) *MLDataSetParam

func (*MLDataSetParam) SetCreateTime

func (s *MLDataSetParam) SetCreateTime(v int64) *MLDataSetParam

func (*MLDataSetParam) SetDataType

func (s *MLDataSetParam) SetDataType(v string) *MLDataSetParam

func (*MLDataSetParam) SetDatasetId

func (s *MLDataSetParam) SetDatasetId(v string) *MLDataSetParam

func (*MLDataSetParam) SetDescription

func (s *MLDataSetParam) SetDescription(v string) *MLDataSetParam

func (*MLDataSetParam) SetLabelId

func (s *MLDataSetParam) SetLabelId(v string) *MLDataSetParam

func (*MLDataSetParam) SetLastModifyTime

func (s *MLDataSetParam) SetLastModifyTime(v int64) *MLDataSetParam

func (*MLDataSetParam) SetName

func (s *MLDataSetParam) SetName(v string) *MLDataSetParam

func (*MLDataSetParam) SetSettingType

func (s *MLDataSetParam) SetSettingType(v string) *MLDataSetParam

func (MLDataSetParam) String

func (s MLDataSetParam) String() string

type MLLabelParam

type MLLabelParam struct {
	CreateTime     *int64                  `json:"createTime,omitempty" xml:"createTime,omitempty"`
	Description    *string                 `json:"description,omitempty" xml:"description,omitempty"`
	LabelId        *string                 `json:"labelId,omitempty" xml:"labelId,omitempty"`
	LastModifyTime *int64                  `json:"lastModifyTime,omitempty" xml:"lastModifyTime,omitempty"`
	Name           *string                 `json:"name,omitempty" xml:"name,omitempty"`
	Settings       []*MLLabelParamSettings `json:"settings,omitempty" xml:"settings,omitempty" type:"Repeated"`
	Type           *string                 `json:"type,omitempty" xml:"type,omitempty"`
}

func (MLLabelParam) GoString

func (s MLLabelParam) GoString() string

func (*MLLabelParam) SetCreateTime

func (s *MLLabelParam) SetCreateTime(v int64) *MLLabelParam

func (*MLLabelParam) SetDescription

func (s *MLLabelParam) SetDescription(v string) *MLLabelParam

func (*MLLabelParam) SetLabelId

func (s *MLLabelParam) SetLabelId(v string) *MLLabelParam

func (*MLLabelParam) SetLastModifyTime

func (s *MLLabelParam) SetLastModifyTime(v int64) *MLLabelParam

func (*MLLabelParam) SetName

func (s *MLLabelParam) SetName(v string) *MLLabelParam

func (*MLLabelParam) SetSettings

func (s *MLLabelParam) SetSettings(v []*MLLabelParamSettings) *MLLabelParam

func (*MLLabelParam) SetType

func (s *MLLabelParam) SetType(v string) *MLLabelParam

func (MLLabelParam) String

func (s MLLabelParam) String() string

type MLLabelParamSettings

type MLLabelParamSettings struct {
	Config  *string `json:"config,omitempty" xml:"config,omitempty"`
	Mode    *string `json:"mode,omitempty" xml:"mode,omitempty"`
	Type    *string `json:"type,omitempty" xml:"type,omitempty"`
	Version *string `json:"version,omitempty" xml:"version,omitempty"`
}

func (MLLabelParamSettings) GoString

func (s MLLabelParamSettings) GoString() string

func (*MLLabelParamSettings) SetConfig

func (*MLLabelParamSettings) SetMode

func (*MLLabelParamSettings) SetType

func (*MLLabelParamSettings) SetVersion

func (MLLabelParamSettings) String

func (s MLLabelParamSettings) String() string

type MLServiceAnalysisParam

type MLServiceAnalysisParam struct {
	Input     []map[string]*string `json:"input,omitempty" xml:"input,omitempty" type:"Repeated"`
	Parameter map[string]*string   `json:"parameter,omitempty" xml:"parameter,omitempty"`
}

func (MLServiceAnalysisParam) GoString

func (s MLServiceAnalysisParam) GoString() string

func (*MLServiceAnalysisParam) SetInput

func (*MLServiceAnalysisParam) SetParameter

func (MLServiceAnalysisParam) String

func (s MLServiceAnalysisParam) String() string

type MLServiceParam

type MLServiceParam struct {
	Description     *string                 `json:"description,omitempty" xml:"description,omitempty"`
	Model           *MLServiceParamModel    `json:"model,omitempty" xml:"model,omitempty" type:"Struct"`
	Name            *string                 `json:"name,omitempty" xml:"name,omitempty"`
	Resource        *MLServiceParamResource `json:"resource,omitempty" xml:"resource,omitempty" type:"Struct"`
	ServiceType     *string                 `json:"serviceType,omitempty" xml:"serviceType,omitempty"`
	Status          *string                 `json:"status,omitempty" xml:"status,omitempty"`
	UpdateTimestamp *int64                  `json:"updateTimestamp,omitempty" xml:"updateTimestamp,omitempty"`
}

func (MLServiceParam) GoString

func (s MLServiceParam) GoString() string

func (*MLServiceParam) SetDescription

func (s *MLServiceParam) SetDescription(v string) *MLServiceParam

func (*MLServiceParam) SetModel

func (*MLServiceParam) SetName

func (s *MLServiceParam) SetName(v string) *MLServiceParam

func (*MLServiceParam) SetResource

func (*MLServiceParam) SetServiceType

func (s *MLServiceParam) SetServiceType(v string) *MLServiceParam

func (*MLServiceParam) SetStatus

func (s *MLServiceParam) SetStatus(v string) *MLServiceParam

func (*MLServiceParam) SetUpdateTimestamp

func (s *MLServiceParam) SetUpdateTimestamp(v int64) *MLServiceParam

func (MLServiceParam) String

func (s MLServiceParam) String() string

type MLServiceParamModel

type MLServiceParamModel struct {
	ModelResourceId   *string `json:"modelResourceId,omitempty" xml:"modelResourceId,omitempty"`
	ModelResourceType *string `json:"modelResourceType,omitempty" xml:"modelResourceType,omitempty"`
}

func (MLServiceParamModel) GoString

func (s MLServiceParamModel) GoString() string

func (*MLServiceParamModel) SetModelResourceId

func (s *MLServiceParamModel) SetModelResourceId(v string) *MLServiceParamModel

func (*MLServiceParamModel) SetModelResourceType

func (s *MLServiceParamModel) SetModelResourceType(v string) *MLServiceParamModel

func (MLServiceParamModel) String

func (s MLServiceParamModel) String() string

type MLServiceParamResource

type MLServiceParamResource struct {
	CpuLimit    *int32 `json:"cpuLimit,omitempty" xml:"cpuLimit,omitempty"`
	Gpu         *int32 `json:"gpu,omitempty" xml:"gpu,omitempty"`
	MemoryLimit *int32 `json:"memoryLimit,omitempty" xml:"memoryLimit,omitempty"`
	Replica     *int32 `json:"replica,omitempty" xml:"replica,omitempty"`
}

func (MLServiceParamResource) GoString

func (s MLServiceParamResource) GoString() string

func (*MLServiceParamResource) SetCpuLimit

func (*MLServiceParamResource) SetGpu

func (*MLServiceParamResource) SetMemoryLimit

func (s *MLServiceParamResource) SetMemoryLimit(v int32) *MLServiceParamResource

func (*MLServiceParamResource) SetReplica

func (MLServiceParamResource) String

func (s MLServiceParamResource) String() string

type Machine

type Machine struct {
	Ip                *string `json:"ip,omitempty" xml:"ip,omitempty"`
	LastHeartbeatTime *int64  `json:"lastHeartbeatTime,omitempty" xml:"lastHeartbeatTime,omitempty"`
	MachineUniqueid   *string `json:"machine-uniqueid,omitempty" xml:"machine-uniqueid,omitempty"`
	UserdefinedId     *string `json:"userdefined-id,omitempty" xml:"userdefined-id,omitempty"`
}

func (Machine) GoString

func (s Machine) GoString() string

func (*Machine) SetIp

func (s *Machine) SetIp(v string) *Machine

func (*Machine) SetLastHeartbeatTime

func (s *Machine) SetLastHeartbeatTime(v int64) *Machine

func (*Machine) SetMachineUniqueid

func (s *Machine) SetMachineUniqueid(v string) *Machine

func (*Machine) SetUserdefinedId

func (s *Machine) SetUserdefinedId(v string) *Machine

func (Machine) String

func (s Machine) String() string

type MachineGroup

type MachineGroup struct {
	GroupAttribute      *MachineGroupGroupAttribute `json:"groupAttribute,omitempty" xml:"groupAttribute,omitempty" type:"Struct"`
	GroupName           *string                     `json:"groupName,omitempty" xml:"groupName,omitempty"`
	GroupType           *string                     `json:"groupType,omitempty" xml:"groupType,omitempty"`
	MachineIdentifyType *string                     `json:"machineIdentifyType,omitempty" xml:"machineIdentifyType,omitempty"`
	MachineList         []*string                   `json:"machineList,omitempty" xml:"machineList,omitempty" type:"Repeated"`
}

func (MachineGroup) GoString

func (s MachineGroup) GoString() string

func (*MachineGroup) SetGroupAttribute

func (s *MachineGroup) SetGroupAttribute(v *MachineGroupGroupAttribute) *MachineGroup

func (*MachineGroup) SetGroupName

func (s *MachineGroup) SetGroupName(v string) *MachineGroup

func (*MachineGroup) SetGroupType

func (s *MachineGroup) SetGroupType(v string) *MachineGroup

func (*MachineGroup) SetMachineIdentifyType

func (s *MachineGroup) SetMachineIdentifyType(v string) *MachineGroup

func (*MachineGroup) SetMachineList

func (s *MachineGroup) SetMachineList(v []*string) *MachineGroup

func (MachineGroup) String

func (s MachineGroup) String() string

type MachineGroupGroupAttribute

type MachineGroupGroupAttribute struct {
	ExternalName *string `json:"externalName,omitempty" xml:"externalName,omitempty"`
	GroupTopic   *string `json:"groupTopic,omitempty" xml:"groupTopic,omitempty"`
}

func (MachineGroupGroupAttribute) GoString

func (s MachineGroupGroupAttribute) GoString() string

func (*MachineGroupGroupAttribute) SetExternalName

func (*MachineGroupGroupAttribute) SetGroupTopic

func (MachineGroupGroupAttribute) String

type PolicyConfiguration added in v5.4.0

type PolicyConfiguration struct {
	ActionPolicyId *string `json:"actionPolicyId,omitempty" xml:"actionPolicyId,omitempty"`
	AlertPolicyId  *string `json:"alertPolicyId,omitempty" xml:"alertPolicyId,omitempty"`
	RepeatInterval *string `json:"repeatInterval,omitempty" xml:"repeatInterval,omitempty"`
}

func (PolicyConfiguration) GoString added in v5.4.0

func (s PolicyConfiguration) GoString() string

func (*PolicyConfiguration) SetActionPolicyId added in v5.4.0

func (s *PolicyConfiguration) SetActionPolicyId(v string) *PolicyConfiguration

func (*PolicyConfiguration) SetAlertPolicyId added in v5.4.0

func (s *PolicyConfiguration) SetAlertPolicyId(v string) *PolicyConfiguration

func (*PolicyConfiguration) SetRepeatInterval added in v5.4.0

func (s *PolicyConfiguration) SetRepeatInterval(v string) *PolicyConfiguration

func (PolicyConfiguration) String added in v5.4.0

func (s PolicyConfiguration) String() string

type Project

type Project struct {
	CreateTime      *string `json:"createTime,omitempty" xml:"createTime,omitempty"`
	Description     *string `json:"description,omitempty" xml:"description,omitempty"`
	LastModifyTime  *string `json:"lastModifyTime,omitempty" xml:"lastModifyTime,omitempty"`
	Owner           *string `json:"owner,omitempty" xml:"owner,omitempty"`
	ProjectName     *string `json:"projectName,omitempty" xml:"projectName,omitempty"`
	Region          *string `json:"region,omitempty" xml:"region,omitempty"`
	ResourceGroupId *string `json:"resourceGroupId,omitempty" xml:"resourceGroupId,omitempty"`
	Status          *string `json:"status,omitempty" xml:"status,omitempty"`
}

func (Project) GoString

func (s Project) GoString() string

func (*Project) SetCreateTime

func (s *Project) SetCreateTime(v string) *Project

func (*Project) SetDescription

func (s *Project) SetDescription(v string) *Project

func (*Project) SetLastModifyTime

func (s *Project) SetLastModifyTime(v string) *Project

func (*Project) SetOwner

func (s *Project) SetOwner(v string) *Project

func (*Project) SetProjectName

func (s *Project) SetProjectName(v string) *Project

func (*Project) SetRegion

func (s *Project) SetRegion(v string) *Project

func (*Project) SetResourceGroupId

func (s *Project) SetResourceGroupId(v string) *Project

func (*Project) SetStatus

func (s *Project) SetStatus(v string) *Project

func (Project) String

func (s Project) String() string

type PutAnnotationDataRequest

type PutAnnotationDataRequest struct {
	// The unique identifier of the data.
	AnnotationdataId *string `json:"annotationdataId,omitempty" xml:"annotationdataId,omitempty"`
	// The data structure of the request.
	MlDataParam *MLDataParam `json:"mlDataParam,omitempty" xml:"mlDataParam,omitempty"`
	// The raw log data.
	RawLog []map[string]*string `json:"rawLog,omitempty" xml:"rawLog,omitempty" type:"Repeated"`
}

func (PutAnnotationDataRequest) GoString

func (s PutAnnotationDataRequest) GoString() string

func (*PutAnnotationDataRequest) SetAnnotationdataId

func (s *PutAnnotationDataRequest) SetAnnotationdataId(v string) *PutAnnotationDataRequest

func (*PutAnnotationDataRequest) SetMlDataParam

func (*PutAnnotationDataRequest) SetRawLog

func (PutAnnotationDataRequest) String

func (s PutAnnotationDataRequest) String() string

type PutAnnotationDataResponse

type PutAnnotationDataResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (PutAnnotationDataResponse) GoString

func (s PutAnnotationDataResponse) GoString() string

func (*PutAnnotationDataResponse) SetHeaders

func (*PutAnnotationDataResponse) SetStatusCode

func (PutAnnotationDataResponse) String

func (s PutAnnotationDataResponse) String() string

type PutProjectPolicyRequest

type PutProjectPolicyRequest struct {
	// The project policy.
	Body *string `json:"body,omitempty" xml:"body,omitempty"`
}

func (PutProjectPolicyRequest) GoString

func (s PutProjectPolicyRequest) GoString() string

func (*PutProjectPolicyRequest) SetBody

func (PutProjectPolicyRequest) String

func (s PutProjectPolicyRequest) String() string

type PutProjectPolicyResponse

type PutProjectPolicyResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (PutProjectPolicyResponse) GoString

func (s PutProjectPolicyResponse) GoString() string

func (*PutProjectPolicyResponse) SetHeaders

func (*PutProjectPolicyResponse) SetStatusCode

func (PutProjectPolicyResponse) String

func (s PutProjectPolicyResponse) String() string

type PutProjectTransferAccelerationRequest added in v5.2.0

type PutProjectTransferAccelerationRequest struct {
	Enabled *bool `json:"enabled,omitempty" xml:"enabled,omitempty"`
}

func (PutProjectTransferAccelerationRequest) GoString added in v5.2.0

func (*PutProjectTransferAccelerationRequest) SetEnabled added in v5.2.0

func (PutProjectTransferAccelerationRequest) String added in v5.2.0

type PutProjectTransferAccelerationResponse added in v5.2.0

type PutProjectTransferAccelerationResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (PutProjectTransferAccelerationResponse) GoString added in v5.2.0

func (*PutProjectTransferAccelerationResponse) SetHeaders added in v5.2.0

func (*PutProjectTransferAccelerationResponse) SetStatusCode added in v5.2.0

func (PutProjectTransferAccelerationResponse) String added in v5.2.0

type PutWebtrackingRequest

type PutWebtrackingRequest struct {
	// The logs. Each element is a JSON object that indicates a log.
	//
	// >  **Note**: The time in a log that is collected by using the web tracking feature is the time at which Simple Log Service receives the log. You do not need to configure the \__time\_\_ field for each log. If this field exists, it is overwritten by the time at which Simple Log Service receives the log.
	Logs []map[string]*string `json:"__logs__,omitempty" xml:"__logs__,omitempty" type:"Repeated"`
	// The source of the logs.
	Source *string `json:"__source__,omitempty" xml:"__source__,omitempty"`
	// The tags of the logs.
	Tags map[string]*string `json:"__tags__,omitempty" xml:"__tags__,omitempty"`
	// The topic of the logs.
	Topic *string `json:"__topic__,omitempty" xml:"__topic__,omitempty"`
}

func (PutWebtrackingRequest) GoString

func (s PutWebtrackingRequest) GoString() string

func (*PutWebtrackingRequest) SetLogs

func (*PutWebtrackingRequest) SetSource

func (*PutWebtrackingRequest) SetTags

func (*PutWebtrackingRequest) SetTopic

func (PutWebtrackingRequest) String

func (s PutWebtrackingRequest) String() string

type PutWebtrackingResponse

type PutWebtrackingResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (PutWebtrackingResponse) GoString

func (s PutWebtrackingResponse) GoString() string

func (*PutWebtrackingResponse) SetHeaders

func (*PutWebtrackingResponse) SetStatusCode

func (PutWebtrackingResponse) String

func (s PutWebtrackingResponse) String() string

type QueryMLServiceResultsRequest

type QueryMLServiceResultsRequest struct {
	AllowBuiltin *bool                   `json:"allowBuiltin,omitempty" xml:"allowBuiltin,omitempty"`
	Body         *MLServiceAnalysisParam `json:"body,omitempty" xml:"body,omitempty"`
}

func (QueryMLServiceResultsRequest) GoString

func (s QueryMLServiceResultsRequest) GoString() string

func (*QueryMLServiceResultsRequest) SetAllowBuiltin

func (*QueryMLServiceResultsRequest) SetBody

func (QueryMLServiceResultsRequest) String

type QueryMLServiceResultsResponse

type QueryMLServiceResultsResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *QueryMLServiceResultsResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (QueryMLServiceResultsResponse) GoString

func (*QueryMLServiceResultsResponse) SetBody

func (*QueryMLServiceResultsResponse) SetHeaders

func (*QueryMLServiceResultsResponse) SetStatusCode

func (QueryMLServiceResultsResponse) String

type QueryMLServiceResultsResponseBody

type QueryMLServiceResultsResponseBody struct {
	Data   []map[string]*string `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	Status map[string]*string   `json:"status,omitempty" xml:"status,omitempty"`
}

func (QueryMLServiceResultsResponseBody) GoString

func (*QueryMLServiceResultsResponseBody) SetData

func (*QueryMLServiceResultsResponseBody) SetStatus

func (QueryMLServiceResultsResponseBody) String

type RemoveConfigFromMachineGroupResponse

type RemoveConfigFromMachineGroupResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (RemoveConfigFromMachineGroupResponse) GoString

func (*RemoveConfigFromMachineGroupResponse) SetHeaders

func (*RemoveConfigFromMachineGroupResponse) SetStatusCode

func (RemoveConfigFromMachineGroupResponse) String

type SavedSearch

type SavedSearch struct {
	DisplayName     *string `json:"displayName,omitempty" xml:"displayName,omitempty"`
	Logstore        *string `json:"logstore,omitempty" xml:"logstore,omitempty"`
	SavedsearchName *string `json:"savedsearchName,omitempty" xml:"savedsearchName,omitempty"`
	SearchQuery     *string `json:"searchQuery,omitempty" xml:"searchQuery,omitempty"`
	Topic           *string `json:"topic,omitempty" xml:"topic,omitempty"`
}

func (SavedSearch) GoString

func (s SavedSearch) GoString() string

func (*SavedSearch) SetDisplayName

func (s *SavedSearch) SetDisplayName(v string) *SavedSearch

func (*SavedSearch) SetLogstore

func (s *SavedSearch) SetLogstore(v string) *SavedSearch

func (*SavedSearch) SetSavedsearchName

func (s *SavedSearch) SetSavedsearchName(v string) *SavedSearch

func (*SavedSearch) SetSearchQuery

func (s *SavedSearch) SetSearchQuery(v string) *SavedSearch

func (*SavedSearch) SetTopic

func (s *SavedSearch) SetTopic(v string) *SavedSearch

func (SavedSearch) String

func (s SavedSearch) String() string

type Schedule added in v5.4.0

type Schedule struct {
	CronExpression *string `json:"cronExpression,omitempty" xml:"cronExpression,omitempty"`
	Delay          *int32  `json:"delay,omitempty" xml:"delay,omitempty"`
	Interval       *string `json:"interval,omitempty" xml:"interval,omitempty"`
	RunImmediately *bool   `json:"runImmediately,omitempty" xml:"runImmediately,omitempty"`
	TimeZone       *string `json:"timeZone,omitempty" xml:"timeZone,omitempty"`
	Type           *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (Schedule) GoString added in v5.4.0

func (s Schedule) GoString() string

func (*Schedule) SetCronExpression added in v5.4.0

func (s *Schedule) SetCronExpression(v string) *Schedule

func (*Schedule) SetDelay added in v5.4.0

func (s *Schedule) SetDelay(v int32) *Schedule

func (*Schedule) SetInterval added in v5.4.0

func (s *Schedule) SetInterval(v string) *Schedule

func (*Schedule) SetRunImmediately added in v5.4.0

func (s *Schedule) SetRunImmediately(v bool) *Schedule

func (*Schedule) SetTimeZone added in v5.4.0

func (s *Schedule) SetTimeZone(v string) *Schedule

func (*Schedule) SetType added in v5.4.0

func (s *Schedule) SetType(v string) *Schedule

func (Schedule) String added in v5.4.0

func (s Schedule) String() string

type ServiceStatus

type ServiceStatus struct {
	Enabled *bool   `json:"enabled,omitempty" xml:"enabled,omitempty"`
	Status  *string `json:"status,omitempty" xml:"status,omitempty"`
}

func (ServiceStatus) GoString

func (s ServiceStatus) GoString() string

func (*ServiceStatus) SetEnabled

func (s *ServiceStatus) SetEnabled(v bool) *ServiceStatus

func (*ServiceStatus) SetStatus

func (s *ServiceStatus) SetStatus(v string) *ServiceStatus

func (ServiceStatus) String

func (s ServiceStatus) String() string

type SeverityConfiguration added in v5.4.0

type SeverityConfiguration struct {
	EvalCondition *ConditionConfiguration `json:"evalCondition,omitempty" xml:"evalCondition,omitempty"`
	Severity      *int32                  `json:"severity,omitempty" xml:"severity,omitempty"`
}

func (SeverityConfiguration) GoString added in v5.4.0

func (s SeverityConfiguration) GoString() string

func (*SeverityConfiguration) SetEvalCondition added in v5.4.0

func (*SeverityConfiguration) SetSeverity added in v5.4.0

func (SeverityConfiguration) String added in v5.4.0

func (s SeverityConfiguration) String() string

type Shard

type Shard struct {
	CreateTime        *int32  `json:"createTime,omitempty" xml:"createTime,omitempty"`
	ExclusiveEndKey   *string `json:"exclusiveEndKey,omitempty" xml:"exclusiveEndKey,omitempty"`
	InclusiveBeginKey *string `json:"inclusiveBeginKey,omitempty" xml:"inclusiveBeginKey,omitempty"`
	ShardID           *int32  `json:"shardID,omitempty" xml:"shardID,omitempty"`
	Status            *string `json:"status,omitempty" xml:"status,omitempty"`
}

func (Shard) GoString

func (s Shard) GoString() string

func (*Shard) SetCreateTime

func (s *Shard) SetCreateTime(v int32) *Shard

func (*Shard) SetExclusiveEndKey

func (s *Shard) SetExclusiveEndKey(v string) *Shard

func (*Shard) SetInclusiveBeginKey

func (s *Shard) SetInclusiveBeginKey(v string) *Shard

func (*Shard) SetShardID

func (s *Shard) SetShardID(v int32) *Shard

func (*Shard) SetStatus

func (s *Shard) SetStatus(v string) *Shard

func (Shard) String

func (s Shard) String() string

type SinkAlerthubConfiguration added in v5.4.0

type SinkAlerthubConfiguration struct {
	Enabled *bool `json:"enabled,omitempty" xml:"enabled,omitempty"`
}

func (SinkAlerthubConfiguration) GoString added in v5.4.0

func (s SinkAlerthubConfiguration) GoString() string

func (*SinkAlerthubConfiguration) SetEnabled added in v5.4.0

func (SinkAlerthubConfiguration) String added in v5.4.0

func (s SinkAlerthubConfiguration) String() string

type SinkCmsConfiguration added in v5.4.0

type SinkCmsConfiguration struct {
	Enabled *bool `json:"enabled,omitempty" xml:"enabled,omitempty"`
}

func (SinkCmsConfiguration) GoString added in v5.4.0

func (s SinkCmsConfiguration) GoString() string

func (*SinkCmsConfiguration) SetEnabled added in v5.4.0

func (SinkCmsConfiguration) String added in v5.4.0

func (s SinkCmsConfiguration) String() string

type SinkEventStoreConfiguration added in v5.4.0

type SinkEventStoreConfiguration struct {
	Enabled    *bool   `json:"enabled,omitempty" xml:"enabled,omitempty"`
	Endpoint   *string `json:"endpoint,omitempty" xml:"endpoint,omitempty"`
	EventStore *string `json:"eventStore,omitempty" xml:"eventStore,omitempty"`
	Project    *string `json:"project,omitempty" xml:"project,omitempty"`
	RoleArn    *string `json:"roleArn,omitempty" xml:"roleArn,omitempty"`
}

func (SinkEventStoreConfiguration) GoString added in v5.4.0

func (s SinkEventStoreConfiguration) GoString() string

func (*SinkEventStoreConfiguration) SetEnabled added in v5.4.0

func (*SinkEventStoreConfiguration) SetEndpoint added in v5.4.0

func (*SinkEventStoreConfiguration) SetEventStore added in v5.4.0

func (*SinkEventStoreConfiguration) SetProject added in v5.4.0

func (*SinkEventStoreConfiguration) SetRoleArn added in v5.4.0

func (SinkEventStoreConfiguration) String added in v5.4.0

type SplitShardRequest

type SplitShardRequest struct {
	// The position where the shard is split.
	Key *string `json:"key,omitempty" xml:"key,omitempty"`
	// The number of new shards that are generated after splitting.
	ShardCount *int32 `json:"shardCount,omitempty" xml:"shardCount,omitempty"`
}

func (SplitShardRequest) GoString

func (s SplitShardRequest) GoString() string

func (*SplitShardRequest) SetKey

func (*SplitShardRequest) SetShardCount

func (s *SplitShardRequest) SetShardCount(v int32) *SplitShardRequest

func (SplitShardRequest) String

func (s SplitShardRequest) String() string

type SplitShardResponse

type SplitShardResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       []*Shard           `json:"body,omitempty" xml:"body,omitempty" require:"true" type:"Repeated"`
}

func (SplitShardResponse) GoString

func (s SplitShardResponse) GoString() string

func (*SplitShardResponse) SetBody

func (s *SplitShardResponse) SetBody(v []*Shard) *SplitShardResponse

func (*SplitShardResponse) SetHeaders

func (s *SplitShardResponse) SetHeaders(v map[string]*string) *SplitShardResponse

func (*SplitShardResponse) SetStatusCode

func (s *SplitShardResponse) SetStatusCode(v int32) *SplitShardResponse

func (SplitShardResponse) String

func (s SplitShardResponse) String() string

type TagResourcesRequest

type TagResourcesRequest struct {
	// The resource IDs. You can specify only one resource and add tags to the resource.
	ResourceId []*string `json:"resourceId,omitempty" xml:"resourceId,omitempty" type:"Repeated"`
	// The type of the resource. Set the value to project.
	ResourceType *string `json:"resourceType,omitempty" xml:"resourceType,omitempty"`
	// The tags that you want to add to the resource. Up to 20 tags are supported at a time. Each tag is a key-value pair.
	Tags []*TagResourcesRequestTags `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
}

func (TagResourcesRequest) GoString

func (s TagResourcesRequest) GoString() string

func (*TagResourcesRequest) SetResourceId

func (s *TagResourcesRequest) SetResourceId(v []*string) *TagResourcesRequest

func (*TagResourcesRequest) SetResourceType

func (s *TagResourcesRequest) SetResourceType(v string) *TagResourcesRequest

func (*TagResourcesRequest) SetTags

func (TagResourcesRequest) String

func (s TagResourcesRequest) String() string

type TagResourcesRequestTags

type TagResourcesRequestTags struct {
	// The key of the tag. The key must meet the following requirements:
	//
	// *   The key must be `1 to 128` characters in length.
	// *   The key cannot contain `"http://"` or `"https://"`.
	// *   The key cannot start with `"acs:"` or `"aliyun"`.
	Key *string `json:"key,omitempty" xml:"key,omitempty"`
	// The value of the tag. The value must meet the following requirements:
	//
	// *   The value must be `1 to 128` characters in length.
	// *   The value cannot contain `"http://"` or `"https://"`.
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (TagResourcesRequestTags) GoString

func (s TagResourcesRequestTags) GoString() string

func (*TagResourcesRequestTags) SetKey

func (*TagResourcesRequestTags) SetValue

func (TagResourcesRequestTags) String

func (s TagResourcesRequestTags) String() string

type TagResourcesResponse

type TagResourcesResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (TagResourcesResponse) GoString

func (s TagResourcesResponse) GoString() string

func (*TagResourcesResponse) SetHeaders

func (s *TagResourcesResponse) SetHeaders(v map[string]*string) *TagResourcesResponse

func (*TagResourcesResponse) SetStatusCode

func (s *TagResourcesResponse) SetStatusCode(v int32) *TagResourcesResponse

func (TagResourcesResponse) String

func (s TagResourcesResponse) String() string

type TemplateConfiguration added in v5.4.0

type TemplateConfiguration struct {
	Aonotations map[string]interface{} `json:"aonotations,omitempty" xml:"aonotations,omitempty"`
	Id          *string                `json:"id,omitempty" xml:"id,omitempty"`
	Lang        *string                `json:"lang,omitempty" xml:"lang,omitempty"`
	Tokens      map[string]interface{} `json:"tokens,omitempty" xml:"tokens,omitempty"`
	Type        *string                `json:"type,omitempty" xml:"type,omitempty"`
	Version     *string                `json:"version,omitempty" xml:"version,omitempty"`
}

func (TemplateConfiguration) GoString added in v5.4.0

func (s TemplateConfiguration) GoString() string

func (*TemplateConfiguration) SetAonotations added in v5.4.0

func (s *TemplateConfiguration) SetAonotations(v map[string]interface{}) *TemplateConfiguration

func (*TemplateConfiguration) SetId added in v5.4.0

func (*TemplateConfiguration) SetLang added in v5.4.0

func (*TemplateConfiguration) SetTokens added in v5.4.0

func (s *TemplateConfiguration) SetTokens(v map[string]interface{}) *TemplateConfiguration

func (*TemplateConfiguration) SetType added in v5.4.0

func (*TemplateConfiguration) SetVersion added in v5.4.0

func (TemplateConfiguration) String added in v5.4.0

func (s TemplateConfiguration) String() string

type Ticket

type Ticket struct {
	CallerUid      *int64  `json:"callerUid,omitempty" xml:"callerUid,omitempty"`
	CreateDate     *string `json:"createDate,omitempty" xml:"createDate,omitempty"`
	ExpirationTime *int64  `json:"expirationTime,omitempty" xml:"expirationTime,omitempty"`
	ExpireDate     *string `json:"expireDate,omitempty" xml:"expireDate,omitempty"`
	Extra          *string `json:"extra,omitempty" xml:"extra,omitempty"`
	Name           *string `json:"name,omitempty" xml:"name,omitempty"`
	Number         *int32  `json:"number,omitempty" xml:"number,omitempty"`
	Ticket         *string `json:"ticket,omitempty" xml:"ticket,omitempty"`
	TicketId       *string `json:"ticketId,omitempty" xml:"ticketId,omitempty"`
	UsedNumber     *int32  `json:"usedNumber,omitempty" xml:"usedNumber,omitempty"`
	Valid          *bool   `json:"valid,omitempty" xml:"valid,omitempty"`
}

func (Ticket) GoString

func (s Ticket) GoString() string

func (*Ticket) SetCallerUid

func (s *Ticket) SetCallerUid(v int64) *Ticket

func (*Ticket) SetCreateDate

func (s *Ticket) SetCreateDate(v string) *Ticket

func (*Ticket) SetExpirationTime

func (s *Ticket) SetExpirationTime(v int64) *Ticket

func (*Ticket) SetExpireDate

func (s *Ticket) SetExpireDate(v string) *Ticket

func (*Ticket) SetExtra

func (s *Ticket) SetExtra(v string) *Ticket

func (*Ticket) SetName

func (s *Ticket) SetName(v string) *Ticket

func (*Ticket) SetNumber

func (s *Ticket) SetNumber(v int32) *Ticket

func (*Ticket) SetTicket

func (s *Ticket) SetTicket(v string) *Ticket

func (*Ticket) SetTicketId

func (s *Ticket) SetTicketId(v string) *Ticket

func (*Ticket) SetUsedNumber

func (s *Ticket) SetUsedNumber(v int32) *Ticket

func (*Ticket) SetValid

func (s *Ticket) SetValid(v bool) *Ticket

func (Ticket) String

func (s Ticket) String() string

type UntagResourcesRequest

type UntagResourcesRequest struct {
	All          *bool     `json:"all,omitempty" xml:"all,omitempty"`
	ResourceId   []*string `json:"resourceId,omitempty" xml:"resourceId,omitempty" type:"Repeated"`
	ResourceType *string   `json:"resourceType,omitempty" xml:"resourceType,omitempty"`
	Tags         []*string `json:"tags,omitempty" xml:"tags,omitempty" type:"Repeated"`
}

func (UntagResourcesRequest) GoString

func (s UntagResourcesRequest) GoString() string

func (*UntagResourcesRequest) SetAll

func (*UntagResourcesRequest) SetResourceId

func (s *UntagResourcesRequest) SetResourceId(v []*string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetResourceType

func (s *UntagResourcesRequest) SetResourceType(v string) *UntagResourcesRequest

func (*UntagResourcesRequest) SetTags

func (UntagResourcesRequest) String

func (s UntagResourcesRequest) String() string

type UntagResourcesResponse

type UntagResourcesResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (UntagResourcesResponse) GoString

func (s UntagResourcesResponse) GoString() string

func (*UntagResourcesResponse) SetHeaders

func (*UntagResourcesResponse) SetStatusCode

func (UntagResourcesResponse) String

func (s UntagResourcesResponse) String() string

type UpdateAlertReq added in v5.4.0

type UpdateAlertReq struct {
	Configuration *AlertConfiguration `json:"configuration,omitempty" xml:"configuration,omitempty"`
	Description   *string             `json:"description,omitempty" xml:"description,omitempty"`
	DisplayName   *string             `json:"displayName,omitempty" xml:"displayName,omitempty"`
	Schedule      *Schedule           `json:"schedule,omitempty" xml:"schedule,omitempty"`
}

func (UpdateAlertReq) GoString added in v5.4.0

func (s UpdateAlertReq) GoString() string

func (*UpdateAlertReq) SetConfiguration added in v5.4.0

func (s *UpdateAlertReq) SetConfiguration(v *AlertConfiguration) *UpdateAlertReq

func (*UpdateAlertReq) SetDescription added in v5.4.0

func (s *UpdateAlertReq) SetDescription(v string) *UpdateAlertReq

func (*UpdateAlertReq) SetDisplayName added in v5.4.0

func (s *UpdateAlertReq) SetDisplayName(v string) *UpdateAlertReq

func (*UpdateAlertReq) SetSchedule added in v5.4.0

func (s *UpdateAlertReq) SetSchedule(v *Schedule) *UpdateAlertReq

func (UpdateAlertReq) String added in v5.4.0

func (s UpdateAlertReq) String() string

type UpdateAlertRequest added in v5.4.0

type UpdateAlertRequest struct {
	Body *UpdateAlertReq `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateAlertRequest) GoString added in v5.4.0

func (s UpdateAlertRequest) GoString() string

func (*UpdateAlertRequest) SetBody added in v5.4.0

func (UpdateAlertRequest) String added in v5.4.0

func (s UpdateAlertRequest) String() string

type UpdateAlertResponse added in v5.4.0

type UpdateAlertResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       interface{}        `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpdateAlertResponse) GoString added in v5.4.0

func (s UpdateAlertResponse) GoString() string

func (*UpdateAlertResponse) SetBody added in v5.4.0

func (s *UpdateAlertResponse) SetBody(v interface{}) *UpdateAlertResponse

func (*UpdateAlertResponse) SetHeaders added in v5.4.0

func (s *UpdateAlertResponse) SetHeaders(v map[string]*string) *UpdateAlertResponse

func (*UpdateAlertResponse) SetStatusCode added in v5.4.0

func (s *UpdateAlertResponse) SetStatusCode(v int32) *UpdateAlertResponse

func (UpdateAlertResponse) String added in v5.4.0

func (s UpdateAlertResponse) String() string

type UpdateAnnotationDataSetRequest

type UpdateAnnotationDataSetRequest struct {
	// The data structure of the request.
	Body *MLDataSetParam `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateAnnotationDataSetRequest) GoString

func (*UpdateAnnotationDataSetRequest) SetBody

func (UpdateAnnotationDataSetRequest) String

type UpdateAnnotationDataSetResponse

type UpdateAnnotationDataSetResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (UpdateAnnotationDataSetResponse) GoString

func (*UpdateAnnotationDataSetResponse) SetHeaders

func (*UpdateAnnotationDataSetResponse) SetStatusCode

func (UpdateAnnotationDataSetResponse) String

type UpdateAnnotationLabelRequest

type UpdateAnnotationLabelRequest struct {
	// The data structure of the request.
	Body *MLLabelParam `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateAnnotationLabelRequest) GoString

func (s UpdateAnnotationLabelRequest) GoString() string

func (*UpdateAnnotationLabelRequest) SetBody

func (UpdateAnnotationLabelRequest) String

type UpdateAnnotationLabelResponse

type UpdateAnnotationLabelResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (UpdateAnnotationLabelResponse) GoString

func (*UpdateAnnotationLabelResponse) SetHeaders

func (*UpdateAnnotationLabelResponse) SetStatusCode

func (UpdateAnnotationLabelResponse) String

type UpdateConfigRequest

type UpdateConfigRequest struct {
	// The body of the request.
	Body *LogtailConfig `json:"body,omitempty" xml:"body,omitempty"`
}

func (UpdateConfigRequest) GoString

func (s UpdateConfigRequest) GoString() string

func (*UpdateConfigRequest) SetBody

func (UpdateConfigRequest) String

func (s UpdateConfigRequest) String() string

type UpdateConfigResponse

type UpdateConfigResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (UpdateConfigResponse) GoString

func (s UpdateConfigResponse) GoString() string

func (*UpdateConfigResponse) SetHeaders

func (s *UpdateConfigResponse) SetHeaders(v map[string]*string) *UpdateConfigResponse

func (*UpdateConfigResponse) SetStatusCode

func (s *UpdateConfigResponse) SetStatusCode(v int32) *UpdateConfigResponse

func (UpdateConfigResponse) String

func (s UpdateConfigResponse) String() string

type UpdateConsumerGroupRequest

type UpdateConsumerGroupRequest struct {
	// Specifies whether to consume data in sequence. Valid values:
	//
	// *   true: If a shard is split, the data in the original shard is consumed first. Then, the data in the new shards is consumed at the same time. If shards are merged, the data in the original shards is consumed first. Then, the data in the new shard is consumed.
	// *   false: The data in all shards is consumed at the same time. If a new shard is generated after a shard is split or shards are merged, the data in the new shard is immediately consumed.
	Order *bool `json:"order,omitempty" xml:"order,omitempty"`
	// The timeout period. If Simple Log Service does not receive heartbeats from a consumer within the timeout period, Simple Log Service deletes the consumer. Unit: seconds.
	Timeout *int32 `json:"timeout,omitempty" xml:"timeout,omitempty"`
}

func (UpdateConsumerGroupRequest) GoString

func (s UpdateConsumerGroupRequest) GoString() string

func (*UpdateConsumerGroupRequest) SetOrder

func (*UpdateConsumerGroupRequest) SetTimeout

func (UpdateConsumerGroupRequest) String

type UpdateConsumerGroupResponse

type UpdateConsumerGroupResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (UpdateConsumerGroupResponse) GoString

func (s UpdateConsumerGroupResponse) GoString() string

func (*UpdateConsumerGroupResponse) SetHeaders

func (*UpdateConsumerGroupResponse) SetStatusCode

func (UpdateConsumerGroupResponse) String

type UpdateDashboardRequest

type UpdateDashboardRequest struct {
	// The attributes of the dashboard.
	Attribute map[string]*string `json:"attribute,omitempty" xml:"attribute,omitempty"`
	// The charts on the dashboard.
	Charts []*Chart `json:"charts,omitempty" xml:"charts,omitempty" type:"Repeated"`
	// The name of the dashboard.
	DashboardName *string `json:"dashboardName,omitempty" xml:"dashboardName,omitempty"`
	// The description of the dashboard.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
	// The display name of the dashboard.
	DisplayName *string `json:"displayName,omitempty" xml:"displayName,omitempty"`
}

func (UpdateDashboardRequest) GoString

func (s UpdateDashboardRequest) GoString() string

func (*UpdateDashboardRequest) SetAttribute

func (*UpdateDashboardRequest) SetCharts

func (*UpdateDashboardRequest) SetDashboardName

func (s *UpdateDashboardRequest) SetDashboardName(v string) *UpdateDashboardRequest

func (*UpdateDashboardRequest) SetDescription

func (*UpdateDashboardRequest) SetDisplayName

func (UpdateDashboardRequest) String

func (s UpdateDashboardRequest) String() string

type UpdateDashboardResponse

type UpdateDashboardResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (UpdateDashboardResponse) GoString

func (s UpdateDashboardResponse) GoString() string

func (*UpdateDashboardResponse) SetHeaders

func (*UpdateDashboardResponse) SetStatusCode

func (UpdateDashboardResponse) String

func (s UpdateDashboardResponse) String() string

type UpdateIndexRequest

type UpdateIndexRequest struct {
	// The configuration of field indexes. A field index is a key-value pair in which the key specifies the name of the field and the value specifies the index configuration of the field.
	Keys map[string]*KeysValue `json:"keys,omitempty" xml:"keys,omitempty"`
	// The configuration of full-text indexes.
	Line *UpdateIndexRequestLine `json:"line,omitempty" xml:"line,omitempty" type:"Struct"`
	// Specifies whether to turn on LogReduce. If you turn on LogReduce, only one of `log_reduce_white_list` and `log_reduce_black_list` takes effect.
	LogReduce *bool `json:"log_reduce,omitempty" xml:"log_reduce,omitempty"`
	// The fields in the blacklist that you want to use to cluster logs.
	LogReduceBlackList []*string `json:"log_reduce_black_list,omitempty" xml:"log_reduce_black_list,omitempty" type:"Repeated"`
	// The fields in the whitelist that you want to use to cluster logs.
	LogReduceWhiteList []*string `json:"log_reduce_white_list,omitempty" xml:"log_reduce_white_list,omitempty" type:"Repeated"`
	// The maximum length of a field value that can be retained.
	MaxTextLen *int32 `json:"max_text_len,omitempty" xml:"max_text_len,omitempty"`
	// The retention period of data. Unit: days. Valid values: 7, 30, and 90.
	Ttl *int32 `json:"ttl,omitempty" xml:"ttl,omitempty"`
}

func (UpdateIndexRequest) GoString

func (s UpdateIndexRequest) GoString() string

func (*UpdateIndexRequest) SetKeys

func (*UpdateIndexRequest) SetLine

func (*UpdateIndexRequest) SetLogReduce

func (s *UpdateIndexRequest) SetLogReduce(v bool) *UpdateIndexRequest

func (*UpdateIndexRequest) SetLogReduceBlackList

func (s *UpdateIndexRequest) SetLogReduceBlackList(v []*string) *UpdateIndexRequest

func (*UpdateIndexRequest) SetLogReduceWhiteList

func (s *UpdateIndexRequest) SetLogReduceWhiteList(v []*string) *UpdateIndexRequest

func (*UpdateIndexRequest) SetMaxTextLen

func (s *UpdateIndexRequest) SetMaxTextLen(v int32) *UpdateIndexRequest

func (*UpdateIndexRequest) SetTtl

func (UpdateIndexRequest) String

func (s UpdateIndexRequest) String() string

type UpdateIndexRequestLine

type UpdateIndexRequestLine struct {
	// Specifies whether to enable case sensitivity. Valid values:
	//
	// *   true
	// *   false
	CaseSensitive *bool `json:"caseSensitive,omitempty" xml:"caseSensitive,omitempty"`
	// Specifies whether to include Chinese characters. Valid values:
	//
	// *   true
	// *   false
	Chn *bool `json:"chn,omitempty" xml:"chn,omitempty"`
	// The excluded fields. You cannot specify both include_keys and exclude_keys.
	ExcludeKeys []*string `json:"exclude_keys,omitempty" xml:"exclude_keys,omitempty" type:"Repeated"`
	// The included fields. You cannot specify both include_keys and exclude_keys.
	IncludeKeys []*string `json:"include_keys,omitempty" xml:"include_keys,omitempty" type:"Repeated"`
	// The delimiters that are used to split text.
	Token []*string `json:"token,omitempty" xml:"token,omitempty" type:"Repeated"`
}

func (UpdateIndexRequestLine) GoString

func (s UpdateIndexRequestLine) GoString() string

func (*UpdateIndexRequestLine) SetCaseSensitive

func (s *UpdateIndexRequestLine) SetCaseSensitive(v bool) *UpdateIndexRequestLine

func (*UpdateIndexRequestLine) SetChn

func (*UpdateIndexRequestLine) SetExcludeKeys

func (s *UpdateIndexRequestLine) SetExcludeKeys(v []*string) *UpdateIndexRequestLine

func (*UpdateIndexRequestLine) SetIncludeKeys

func (s *UpdateIndexRequestLine) SetIncludeKeys(v []*string) *UpdateIndexRequestLine

func (*UpdateIndexRequestLine) SetToken

func (UpdateIndexRequestLine) String

func (s UpdateIndexRequestLine) String() string

type UpdateIndexResponse

type UpdateIndexResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (UpdateIndexResponse) GoString

func (s UpdateIndexResponse) GoString() string

func (*UpdateIndexResponse) SetHeaders

func (s *UpdateIndexResponse) SetHeaders(v map[string]*string) *UpdateIndexResponse

func (*UpdateIndexResponse) SetStatusCode

func (s *UpdateIndexResponse) SetStatusCode(v int32) *UpdateIndexResponse

func (UpdateIndexResponse) String

func (s UpdateIndexResponse) String() string

type UpdateLogStoreMeteringModeRequest

type UpdateLogStoreMeteringModeRequest struct {
	MeteringMode *string `json:"meteringMode,omitempty" xml:"meteringMode,omitempty"`
}

func (UpdateLogStoreMeteringModeRequest) GoString

func (*UpdateLogStoreMeteringModeRequest) SetMeteringMode

func (UpdateLogStoreMeteringModeRequest) String

type UpdateLogStoreMeteringModeResponse

type UpdateLogStoreMeteringModeResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (UpdateLogStoreMeteringModeResponse) GoString

func (*UpdateLogStoreMeteringModeResponse) SetHeaders

func (*UpdateLogStoreMeteringModeResponse) SetStatusCode

func (UpdateLogStoreMeteringModeResponse) String

type UpdateLogStoreRequest

type UpdateLogStoreRequest struct {
	// Specifies whether to record public IP addresses. Default value: false. Valid values:
	//
	// *   true
	// *   false
	AppendMeta *bool `json:"appendMeta,omitempty" xml:"appendMeta,omitempty"`
	// Specifies whether to enable automatic sharding. Valid values:
	//
	// *   true
	// *   false
	AutoSplit *bool `json:"autoSplit,omitempty" xml:"autoSplit,omitempty"`
	// Specifies whether to enable the web tracking feature. Default value: false. Valid values:
	//
	// *   true
	// *   false
	EnableTracking *bool `json:"enable_tracking,omitempty" xml:"enable_tracking,omitempty"`
	// The data structure of the encryption configuration.
	EncryptConf *EncryptConf `json:"encrypt_conf,omitempty" xml:"encrypt_conf,omitempty"`
	// The retention period of data in the hot storage tier of the Logstore. Minimum value: 30. Unit: day. You can specify a value that ranges from 30 to the value of ttl. Hot data that is stored for longer than the period specified by hot_ttl is converted to cold data. For more information, see [Enable hot and cold-tiered storage for a Logstore](~~308645~~).
	HotTtl              *int32 `json:"hot_ttl,omitempty" xml:"hot_ttl,omitempty"`
	InfrequentAccessTTL *int32 `json:"infrequentAccessTTL,omitempty" xml:"infrequentAccessTTL,omitempty"`
	// The name of the Logstore.
	LogstoreName *string `json:"logstoreName,omitempty" xml:"logstoreName,omitempty"`
	// The maximum number of shards into which existing shards can be automatically split. Valid values: 1 to 64.
	//
	// > If you set autoSplit to true, you must specify maxSplitShard.
	MaxSplitShard *int32 `json:"maxSplitShard,omitempty" xml:"maxSplitShard,omitempty"`
	// The type of the Logstore. Simple Log Service provides two types of Logstores: Standard Logstores and Query Logstores.
	//
	// *   **standard**: Standard Logstore. This type of Logstore supports the log analysis feature and is suitable for scenarios such as real-time monitoring and interactive analysis. You can also use this type of Logstore to build a comprehensive observability system.
	// *   **query**: Query Logstore. This type of Logstore supports high-performance queries. The index traffic fee of a Query Logstore is approximately half that of a Standard Logstore. Query Logstores do not support SQL analysis. Query Logstores are suitable for scenarios in which the volume of data is large, the log retention period is long, or log analysis is not required. Log retention periods of weeks or months are considered long.
	Mode *string `json:"mode,omitempty" xml:"mode,omitempty"`
	// Deprecated
	// The number of shards.
	//
	// > You cannot call the UpdateLogstore operation to change the number of shards. You can call the SplitShard or MergeShards operation to change the number of shards.
	ShardCount *int32 `json:"shardCount,omitempty" xml:"shardCount,omitempty"`
	// Deprecated
	// The type of the log that you want to query. Valid values:
	//
	// *   None: all types of logs.
	// *   Metrics: metrics.
	TelemetryType *string `json:"telemetryType,omitempty" xml:"telemetryType,omitempty"`
	// The retention period of data. Unit: day. Valid values: 1 to 3650. If you set ttl to 3650, data is permanently stored.
	Ttl *int32 `json:"ttl,omitempty" xml:"ttl,omitempty"`
}

func (UpdateLogStoreRequest) GoString

func (s UpdateLogStoreRequest) GoString() string

func (*UpdateLogStoreRequest) SetAppendMeta

func (s *UpdateLogStoreRequest) SetAppendMeta(v bool) *UpdateLogStoreRequest

func (*UpdateLogStoreRequest) SetAutoSplit

func (s *UpdateLogStoreRequest) SetAutoSplit(v bool) *UpdateLogStoreRequest

func (*UpdateLogStoreRequest) SetEnableTracking

func (s *UpdateLogStoreRequest) SetEnableTracking(v bool) *UpdateLogStoreRequest

func (*UpdateLogStoreRequest) SetEncryptConf

func (*UpdateLogStoreRequest) SetHotTtl

func (*UpdateLogStoreRequest) SetInfrequentAccessTTL added in v5.2.1

func (s *UpdateLogStoreRequest) SetInfrequentAccessTTL(v int32) *UpdateLogStoreRequest

func (*UpdateLogStoreRequest) SetLogstoreName

func (s *UpdateLogStoreRequest) SetLogstoreName(v string) *UpdateLogStoreRequest

func (*UpdateLogStoreRequest) SetMaxSplitShard

func (s *UpdateLogStoreRequest) SetMaxSplitShard(v int32) *UpdateLogStoreRequest

func (*UpdateLogStoreRequest) SetMode

func (*UpdateLogStoreRequest) SetShardCount

func (s *UpdateLogStoreRequest) SetShardCount(v int32) *UpdateLogStoreRequest

func (*UpdateLogStoreRequest) SetTelemetryType

func (s *UpdateLogStoreRequest) SetTelemetryType(v string) *UpdateLogStoreRequest

func (*UpdateLogStoreRequest) SetTtl

func (UpdateLogStoreRequest) String

func (s UpdateLogStoreRequest) String() string

type UpdateLogStoreResponse

type UpdateLogStoreResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (UpdateLogStoreResponse) GoString

func (s UpdateLogStoreResponse) GoString() string

func (*UpdateLogStoreResponse) SetHeaders

func (*UpdateLogStoreResponse) SetStatusCode

func (UpdateLogStoreResponse) String

func (s UpdateLogStoreResponse) String() string

type UpdateLoggingRequest

type UpdateLoggingRequest struct {
	// The configurations of service logs.
	LoggingDetails []*UpdateLoggingRequestLoggingDetails `json:"loggingDetails,omitempty" xml:"loggingDetails,omitempty" type:"Repeated"`
	// The name of the project to which you want to save service logs.
	LoggingProject *string `json:"loggingProject,omitempty" xml:"loggingProject,omitempty"`
}

func (UpdateLoggingRequest) GoString

func (s UpdateLoggingRequest) GoString() string

func (*UpdateLoggingRequest) SetLoggingDetails

func (*UpdateLoggingRequest) SetLoggingProject

func (s *UpdateLoggingRequest) SetLoggingProject(v string) *UpdateLoggingRequest

func (UpdateLoggingRequest) String

func (s UpdateLoggingRequest) String() string

type UpdateLoggingRequestLoggingDetails

type UpdateLoggingRequestLoggingDetails struct {
	// The name of the Logstore to which you want to save service logs.
	Logstore *string `json:"logstore,omitempty" xml:"logstore,omitempty"`
	// The type of service logs. Valid values:
	//
	// *   consumergroup_log: the consumption delay logs of consumer groups.
	// *   logtail_alarm: the alert logs of Logtail.
	// *   operation_log: the operation logs.
	// *   logtail_profile: the collection logs of Logtail.
	// *   metering: the metering logs.
	// *   logtail_status: the status logs of Logtail.
	// *   scheduledsqlalert: the operational logs of Scheduled SQL jobs.
	// *   etl_alert: the operational logs of data transformation jobs.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (UpdateLoggingRequestLoggingDetails) GoString

func (*UpdateLoggingRequestLoggingDetails) SetLogstore

func (*UpdateLoggingRequestLoggingDetails) SetType

func (UpdateLoggingRequestLoggingDetails) String

type UpdateLoggingResponse

type UpdateLoggingResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (UpdateLoggingResponse) GoString

func (s UpdateLoggingResponse) GoString() string

func (*UpdateLoggingResponse) SetHeaders

func (*UpdateLoggingResponse) SetStatusCode

func (s *UpdateLoggingResponse) SetStatusCode(v int32) *UpdateLoggingResponse

func (UpdateLoggingResponse) String

func (s UpdateLoggingResponse) String() string

type UpdateLogtailPipelineConfigRequest

type UpdateLogtailPipelineConfigRequest struct {
	// The aggregation plug-ins.
	Aggregators []map[string]interface{} `json:"aggregators,omitempty" xml:"aggregators,omitempty" type:"Repeated"`
	// The name of the configuration.
	ConfigName *string `json:"configName,omitempty" xml:"configName,omitempty"`
	// The data output plug-ins.
	Flushers []map[string]interface{} `json:"flushers,omitempty" xml:"flushers,omitempty" type:"Repeated"`
	// The global configuration.
	Global map[string]interface{} `json:"global,omitempty" xml:"global,omitempty"`
	// The data source plug-ins.
	Inputs []map[string]interface{} `json:"inputs,omitempty" xml:"inputs,omitempty" type:"Repeated"`
	// The sample log.
	LogSample *string `json:"logSample,omitempty" xml:"logSample,omitempty"`
	// The processing plug-ins.
	Processors []map[string]interface{} `json:"processors,omitempty" xml:"processors,omitempty" type:"Repeated"`
}

func (UpdateLogtailPipelineConfigRequest) GoString

func (*UpdateLogtailPipelineConfigRequest) SetAggregators

func (s *UpdateLogtailPipelineConfigRequest) SetAggregators(v []map[string]interface{}) *UpdateLogtailPipelineConfigRequest

func (*UpdateLogtailPipelineConfigRequest) SetConfigName

func (*UpdateLogtailPipelineConfigRequest) SetFlushers

func (*UpdateLogtailPipelineConfigRequest) SetGlobal

func (*UpdateLogtailPipelineConfigRequest) SetInputs

func (*UpdateLogtailPipelineConfigRequest) SetLogSample

func (*UpdateLogtailPipelineConfigRequest) SetProcessors

func (s *UpdateLogtailPipelineConfigRequest) SetProcessors(v []map[string]interface{}) *UpdateLogtailPipelineConfigRequest

func (UpdateLogtailPipelineConfigRequest) String

type UpdateLogtailPipelineConfigResponse

type UpdateLogtailPipelineConfigResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (UpdateLogtailPipelineConfigResponse) GoString

func (*UpdateLogtailPipelineConfigResponse) SetHeaders

func (*UpdateLogtailPipelineConfigResponse) SetStatusCode

func (UpdateLogtailPipelineConfigResponse) String

type UpdateMachineGroupMachineRequest

type UpdateMachineGroupMachineRequest struct {
	// The operation on the machine. Valid values: add and delete. A value of add specifies to add the machine to the machine group. A value of delete specifies to remove the machine from the machine group.
	Action *string `json:"action,omitempty" xml:"action,omitempty"`
	// The machines to be added or removed.
	Body []*string `json:"body,omitempty" xml:"body,omitempty" type:"Repeated"`
}

func (UpdateMachineGroupMachineRequest) GoString

func (*UpdateMachineGroupMachineRequest) SetAction

func (*UpdateMachineGroupMachineRequest) SetBody

func (UpdateMachineGroupMachineRequest) String

type UpdateMachineGroupMachineResponse

type UpdateMachineGroupMachineResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (UpdateMachineGroupMachineResponse) GoString

func (*UpdateMachineGroupMachineResponse) SetHeaders

func (*UpdateMachineGroupMachineResponse) SetStatusCode

func (UpdateMachineGroupMachineResponse) String

type UpdateMachineGroupRequest

type UpdateMachineGroupRequest struct {
	// The attribute of the machine group. This parameter is empty by default.
	GroupAttribute *UpdateMachineGroupRequestGroupAttribute `json:"groupAttribute,omitempty" xml:"groupAttribute,omitempty" type:"Struct"`
	// The name of the machine group.
	GroupName *string `json:"groupName,omitempty" xml:"groupName,omitempty"`
	// The type of the machine group. Set the value to an empty string.
	GroupType *string `json:"groupType,omitempty" xml:"groupType,omitempty"`
	// The identifier type of the machine group. Valid values:
	//
	// *   ip: The machine group uses IP addresses as identifiers.
	// *   userdefined: The machine group uses custom identifiers.
	MachineIdentifyType *string `json:"machineIdentifyType,omitempty" xml:"machineIdentifyType,omitempty"`
	// The identifiers of the machines in the machine group.
	//
	// *   If you set machineIdentifyType to ip, enter the IP addresses of the machines.
	// *   If you set machineIdentifyType to userdefined, enter a custom identifier.
	MachineList []*string `json:"machineList,omitempty" xml:"machineList,omitempty" type:"Repeated"`
}

func (UpdateMachineGroupRequest) GoString

func (s UpdateMachineGroupRequest) GoString() string

func (*UpdateMachineGroupRequest) SetGroupAttribute

func (*UpdateMachineGroupRequest) SetGroupName

func (*UpdateMachineGroupRequest) SetGroupType

func (*UpdateMachineGroupRequest) SetMachineIdentifyType

func (s *UpdateMachineGroupRequest) SetMachineIdentifyType(v string) *UpdateMachineGroupRequest

func (*UpdateMachineGroupRequest) SetMachineList

func (UpdateMachineGroupRequest) String

func (s UpdateMachineGroupRequest) String() string

type UpdateMachineGroupRequestGroupAttribute

type UpdateMachineGroupRequestGroupAttribute struct {
	// The identifier of the external management system on which the machine group depends. This parameter is empty by default.
	ExternalName *string `json:"externalName,omitempty" xml:"externalName,omitempty"`
	// The topic of the machine group. This parameter is empty by default.
	GroupTopic *string `json:"groupTopic,omitempty" xml:"groupTopic,omitempty"`
}

func (UpdateMachineGroupRequestGroupAttribute) GoString

func (*UpdateMachineGroupRequestGroupAttribute) SetExternalName

func (*UpdateMachineGroupRequestGroupAttribute) SetGroupTopic

func (UpdateMachineGroupRequestGroupAttribute) String

type UpdateMachineGroupResponse

type UpdateMachineGroupResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (UpdateMachineGroupResponse) GoString

func (s UpdateMachineGroupResponse) GoString() string

func (*UpdateMachineGroupResponse) SetHeaders

func (*UpdateMachineGroupResponse) SetStatusCode

func (UpdateMachineGroupResponse) String

type UpdateOssExternalStoreRequest

type UpdateOssExternalStoreRequest struct {
	// The name of the external store.
	ExternalStoreName *string `json:"externalStoreName,omitempty" xml:"externalStoreName,omitempty"`
	// The parameters that are configured for the external store.
	Parameter *UpdateOssExternalStoreRequestParameter `json:"parameter,omitempty" xml:"parameter,omitempty" type:"Struct"`
	// The type of the external store. Set the value to oss.
	StoreType *string `json:"storeType,omitempty" xml:"storeType,omitempty"`
}

func (UpdateOssExternalStoreRequest) GoString

func (*UpdateOssExternalStoreRequest) SetExternalStoreName

func (*UpdateOssExternalStoreRequest) SetStoreType

func (UpdateOssExternalStoreRequest) String

type UpdateOssExternalStoreRequestParameter

type UpdateOssExternalStoreRequestParameter struct {
	// The AccessKey ID of your account.
	Accessid *string `json:"accessid,omitempty" xml:"accessid,omitempty"`
	// The AccessKey secret of your account.
	Accesskey *string `json:"accesskey,omitempty" xml:"accesskey,omitempty"`
	// The name of the OSS bucket.
	Bucket *string `json:"bucket,omitempty" xml:"bucket,omitempty"`
	// The fields that are associated to the external store.
	Columns []*UpdateOssExternalStoreRequestParameterColumns `json:"columns,omitempty" xml:"columns,omitempty" type:"Repeated"`
	// The Object Storage Service (OSS) endpoint.
	Endpoint *string `json:"endpoint,omitempty" xml:"endpoint,omitempty"`
	// The names of the OSS objects that are associated to the external store.
	Objects []*string `json:"objects,omitempty" xml:"objects,omitempty" type:"Repeated"`
}

func (UpdateOssExternalStoreRequestParameter) GoString

func (*UpdateOssExternalStoreRequestParameter) SetAccessid

func (*UpdateOssExternalStoreRequestParameter) SetAccesskey

func (*UpdateOssExternalStoreRequestParameter) SetBucket

func (*UpdateOssExternalStoreRequestParameter) SetEndpoint

func (*UpdateOssExternalStoreRequestParameter) SetObjects

func (UpdateOssExternalStoreRequestParameter) String

type UpdateOssExternalStoreRequestParameterColumns

type UpdateOssExternalStoreRequestParameterColumns struct {
	// The name of the field.
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// The type of the field.
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (UpdateOssExternalStoreRequestParameterColumns) GoString

func (*UpdateOssExternalStoreRequestParameterColumns) SetName

func (*UpdateOssExternalStoreRequestParameterColumns) SetType

func (UpdateOssExternalStoreRequestParameterColumns) String

type UpdateOssExternalStoreResponse

type UpdateOssExternalStoreResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (UpdateOssExternalStoreResponse) GoString

func (*UpdateOssExternalStoreResponse) SetHeaders

func (*UpdateOssExternalStoreResponse) SetStatusCode

func (UpdateOssExternalStoreResponse) String

type UpdateProjectRequest

type UpdateProjectRequest struct {
	// The description of the project. The default value is an empty string.
	Description *string `json:"description,omitempty" xml:"description,omitempty"`
}

func (UpdateProjectRequest) GoString

func (s UpdateProjectRequest) GoString() string

func (*UpdateProjectRequest) SetDescription

func (s *UpdateProjectRequest) SetDescription(v string) *UpdateProjectRequest

func (UpdateProjectRequest) String

func (s UpdateProjectRequest) String() string

type UpdateProjectResponse

type UpdateProjectResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (UpdateProjectResponse) GoString

func (s UpdateProjectResponse) GoString() string

func (*UpdateProjectResponse) SetHeaders

func (*UpdateProjectResponse) SetStatusCode

func (s *UpdateProjectResponse) SetStatusCode(v int32) *UpdateProjectResponse

func (UpdateProjectResponse) String

func (s UpdateProjectResponse) String() string

type UpdateRdsExternalStoreRequest

type UpdateRdsExternalStoreRequest struct {
	// The name of the external store.
	ExternalStoreName *string `json:"externalStoreName,omitempty" xml:"externalStoreName,omitempty"`
	// The parameter struct.
	Parameter *UpdateRdsExternalStoreRequestParameter `json:"parameter,omitempty" xml:"parameter,omitempty" type:"Struct"`
	// The storage type. Set the value to rds-vpc, which indicates an ApsaraDB RDS for MySQL database in a virtual private cloud (VPC).
	StoreType *string `json:"storeType,omitempty" xml:"storeType,omitempty"`
}

func (UpdateRdsExternalStoreRequest) GoString

func (*UpdateRdsExternalStoreRequest) SetExternalStoreName

func (*UpdateRdsExternalStoreRequest) SetStoreType

func (UpdateRdsExternalStoreRequest) String

type UpdateRdsExternalStoreRequestParameter

type UpdateRdsExternalStoreRequestParameter struct {
	// The name of the database in the ApsaraDB RDS for MySQL instance.
	Db *string `json:"db,omitempty" xml:"db,omitempty"`
	// The internal or public endpoint of the ApsaraDB RDS for MySQL instance.
	Host *string `json:"host,omitempty" xml:"host,omitempty"`
	// The ID of the ApsaraDB RDS for MySQL instance.
	InstanceId *string `json:"instance-id,omitempty" xml:"instance-id,omitempty"`
	// The password that is used to log on to the ApsaraDB RDS for MySQL instance.
	Password *string `json:"password,omitempty" xml:"password,omitempty"`
	// The internal or public port of the ApsaraDB RDS for MySQL instance.
	Port *string `json:"port,omitempty" xml:"port,omitempty"`
	// The region where the ApsaraDB RDS for MySQL instance resides. Valid values: cn-qingdao, cn-beijing, and cn-hangzhou.
	Region *string `json:"region,omitempty" xml:"region,omitempty"`
	// The name of the database table in the ApsaraDB RDS for MySQL instance.
	Table *string `json:"table,omitempty" xml:"table,omitempty"`
	// The username that is used to log on to the ApsaraDB RDS for MySQL instance.
	Username *string `json:"username,omitempty" xml:"username,omitempty"`
	// The ID of the VPC to which the ApsaraDB RDS for MySQL instance belongs.
	VpcId *string `json:"vpc-id,omitempty" xml:"vpc-id,omitempty"`
}

func (UpdateRdsExternalStoreRequestParameter) GoString

func (*UpdateRdsExternalStoreRequestParameter) SetDb

func (*UpdateRdsExternalStoreRequestParameter) SetHost

func (*UpdateRdsExternalStoreRequestParameter) SetInstanceId

func (*UpdateRdsExternalStoreRequestParameter) SetPassword

func (*UpdateRdsExternalStoreRequestParameter) SetPort

func (*UpdateRdsExternalStoreRequestParameter) SetRegion

func (*UpdateRdsExternalStoreRequestParameter) SetTable

func (*UpdateRdsExternalStoreRequestParameter) SetUsername

func (*UpdateRdsExternalStoreRequestParameter) SetVpcId

func (UpdateRdsExternalStoreRequestParameter) String

type UpdateRdsExternalStoreResponse

type UpdateRdsExternalStoreResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (UpdateRdsExternalStoreResponse) GoString

func (*UpdateRdsExternalStoreResponse) SetHeaders

func (*UpdateRdsExternalStoreResponse) SetStatusCode

func (UpdateRdsExternalStoreResponse) String

type UpdateSavedSearchRequest

type UpdateSavedSearchRequest struct {
	// The display name.
	DisplayName *string `json:"displayName,omitempty" xml:"displayName,omitempty"`
	// The name of the Logstore to which the saved search belongs.
	Logstore *string `json:"logstore,omitempty" xml:"logstore,omitempty"`
	// The name of the saved search. The name must be 3 to 63 characters in length.
	SavedsearchName *string `json:"savedsearchName,omitempty" xml:"savedsearchName,omitempty"`
	// The search statement or the query statement of the saved search. A query statement consists of a search statement and an analytic statement in the Search statement|Analytic statement format.
	//
	// For more information, see Log search overview and Log analysis overview.
	SearchQuery *string `json:"searchQuery,omitempty" xml:"searchQuery,omitempty"`
	// The topic of the logs.
	Topic *string `json:"topic,omitempty" xml:"topic,omitempty"`
}

func (UpdateSavedSearchRequest) GoString

func (s UpdateSavedSearchRequest) GoString() string

func (*UpdateSavedSearchRequest) SetDisplayName

func (*UpdateSavedSearchRequest) SetLogstore

func (*UpdateSavedSearchRequest) SetSavedsearchName

func (s *UpdateSavedSearchRequest) SetSavedsearchName(v string) *UpdateSavedSearchRequest

func (*UpdateSavedSearchRequest) SetSearchQuery

func (*UpdateSavedSearchRequest) SetTopic

func (UpdateSavedSearchRequest) String

func (s UpdateSavedSearchRequest) String() string

type UpdateSavedSearchResponse

type UpdateSavedSearchResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
}

func (UpdateSavedSearchResponse) GoString

func (s UpdateSavedSearchResponse) GoString() string

func (*UpdateSavedSearchResponse) SetHeaders

func (*UpdateSavedSearchResponse) SetStatusCode

func (UpdateSavedSearchResponse) String

func (s UpdateSavedSearchResponse) String() string

type UpsertCollectionPolicyRequest

type UpsertCollectionPolicyRequest struct {
	Attribute         *UpsertCollectionPolicyRequestAttribute        `json:"attribute,omitempty" xml:"attribute,omitempty" type:"Struct"`
	CentralizeConfig  *UpsertCollectionPolicyRequestCentralizeConfig `json:"centralizeConfig,omitempty" xml:"centralizeConfig,omitempty" type:"Struct"`
	CentralizeEnabled *bool                                          `json:"centralizeEnabled,omitempty" xml:"centralizeEnabled,omitempty"`
	DataCode          *string                                        `json:"dataCode,omitempty" xml:"dataCode,omitempty"`
	Enabled           *bool                                          `json:"enabled,omitempty" xml:"enabled,omitempty"`
	PolicyConfig      *UpsertCollectionPolicyRequestPolicyConfig     `json:"policyConfig,omitempty" xml:"policyConfig,omitempty" type:"Struct"`
	PolicyName        *string                                        `json:"policyName,omitempty" xml:"policyName,omitempty"`
	ProductCode       *string                                        `json:"productCode,omitempty" xml:"productCode,omitempty"`
}

func (UpsertCollectionPolicyRequest) GoString

func (*UpsertCollectionPolicyRequest) SetCentralizeEnabled

func (*UpsertCollectionPolicyRequest) SetDataCode

func (*UpsertCollectionPolicyRequest) SetEnabled

func (*UpsertCollectionPolicyRequest) SetPolicyName

func (*UpsertCollectionPolicyRequest) SetProductCode

func (UpsertCollectionPolicyRequest) String

type UpsertCollectionPolicyRequestAttribute

type UpsertCollectionPolicyRequestAttribute struct {
	App         *string `json:"app,omitempty" xml:"app,omitempty"`
	PolicyGroup *string `json:"policyGroup,omitempty" xml:"policyGroup,omitempty"`
}

func (UpsertCollectionPolicyRequestAttribute) GoString

func (*UpsertCollectionPolicyRequestAttribute) SetApp

func (*UpsertCollectionPolicyRequestAttribute) SetPolicyGroup

func (UpsertCollectionPolicyRequestAttribute) String

type UpsertCollectionPolicyRequestCentralizeConfig

type UpsertCollectionPolicyRequestCentralizeConfig struct {
	DestLogstore *string `json:"destLogstore,omitempty" xml:"destLogstore,omitempty"`
	DestProject  *string `json:"destProject,omitempty" xml:"destProject,omitempty"`
	DestRegion   *string `json:"destRegion,omitempty" xml:"destRegion,omitempty"`
	DestTTL      *int32  `json:"destTTL,omitempty" xml:"destTTL,omitempty"`
}

func (UpsertCollectionPolicyRequestCentralizeConfig) GoString

func (*UpsertCollectionPolicyRequestCentralizeConfig) SetDestLogstore

func (*UpsertCollectionPolicyRequestCentralizeConfig) SetDestProject

func (*UpsertCollectionPolicyRequestCentralizeConfig) SetDestRegion

func (*UpsertCollectionPolicyRequestCentralizeConfig) SetDestTTL

func (UpsertCollectionPolicyRequestCentralizeConfig) String

type UpsertCollectionPolicyRequestPolicyConfig

type UpsertCollectionPolicyRequestPolicyConfig struct {
	InstanceIds  []*string              `json:"instanceIds,omitempty" xml:"instanceIds,omitempty" type:"Repeated"`
	Regions      []*string              `json:"regions,omitempty" xml:"regions,omitempty" type:"Repeated"`
	ResourceMode *string                `json:"resourceMode,omitempty" xml:"resourceMode,omitempty"`
	ResourceTags map[string]interface{} `json:"resourceTags,omitempty" xml:"resourceTags,omitempty"`
}

func (UpsertCollectionPolicyRequestPolicyConfig) GoString

func (*UpsertCollectionPolicyRequestPolicyConfig) SetInstanceIds

func (*UpsertCollectionPolicyRequestPolicyConfig) SetRegions

func (*UpsertCollectionPolicyRequestPolicyConfig) SetResourceMode

func (*UpsertCollectionPolicyRequestPolicyConfig) SetResourceTags

func (UpsertCollectionPolicyRequestPolicyConfig) String

type UpsertCollectionPolicyResponse

type UpsertCollectionPolicyResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"`
	Body       *UpsertCollectionPolicyResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (UpsertCollectionPolicyResponse) GoString

func (*UpsertCollectionPolicyResponse) SetHeaders

func (*UpsertCollectionPolicyResponse) SetStatusCode

func (UpsertCollectionPolicyResponse) String

type UpsertCollectionPolicyResponseBody

type UpsertCollectionPolicyResponseBody struct {
	Message *string `json:"message,omitempty" xml:"message,omitempty"`
}

func (UpsertCollectionPolicyResponseBody) GoString

func (*UpsertCollectionPolicyResponseBody) SetMessage

func (UpsertCollectionPolicyResponseBody) String

Jump to

Keyboard shortcuts

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