log

package
v2.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alert

type Alert struct {
	pulumi.CustomResourceState

	// Alert description.
	AlertDescription pulumi.StringPtrOutput `pulumi:"alertDescription"`
	// Alert displayname.
	AlertDisplayname pulumi.StringOutput `pulumi:"alertDisplayname"`
	// Name of logstore for configuring alarm service.
	AlertName pulumi.StringOutput `pulumi:"alertName"`
	// Conditional expression, such as: count> 100.
	Condition pulumi.StringOutput `pulumi:"condition"`
	Dashboard pulumi.StringOutput `pulumi:"dashboard"`
	// Timestamp, notifications before closing again.
	MuteUntil pulumi.IntPtrOutput `pulumi:"muteUntil"`
	// Alarm information notification list.
	NotificationLists AlertNotificationListArrayOutput `pulumi:"notificationLists"`
	// Notification threshold, which is not notified until the number of triggers is reached. The default is 1.
	NotifyThreshold pulumi.IntPtrOutput `pulumi:"notifyThreshold"`
	// The project name.
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
	// Multiple conditions for configured alarm query.
	QueryLists AlertQueryListArrayOutput `pulumi:"queryLists"`
	// Execution interval. 60 seconds minimum, such as 60s, 1h.
	ScheduleInterval pulumi.StringPtrOutput `pulumi:"scheduleInterval"`
	// Default FixedRate. No need to configure this parameter.
	ScheduleType pulumi.StringPtrOutput `pulumi:"scheduleType"`
	// Notification interval, default is no interval. Support number + unit type, for example 60s, 1h.
	Throttling pulumi.StringPtrOutput `pulumi:"throttling"`
}

Log alert is a unit of log service, which is used to monitor and alert the user's logstore status information. Log Service enables you to configure alerts based on the charts in a dashboard to monitor the service status in real time.

> **NOTE:** Available in 1.78.0

func GetAlert

func GetAlert(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AlertState, opts ...pulumi.ResourceOption) (*Alert, error)

GetAlert gets an existing Alert resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAlert

func NewAlert(ctx *pulumi.Context,
	name string, args *AlertArgs, opts ...pulumi.ResourceOption) (*Alert, error)

NewAlert registers a new resource with the given unique name, arguments, and options.

type AlertArgs

type AlertArgs struct {
	// Alert description.
	AlertDescription pulumi.StringPtrInput
	// Alert displayname.
	AlertDisplayname pulumi.StringInput
	// Name of logstore for configuring alarm service.
	AlertName pulumi.StringInput
	// Conditional expression, such as: count> 100.
	Condition pulumi.StringInput
	Dashboard pulumi.StringInput
	// Timestamp, notifications before closing again.
	MuteUntil pulumi.IntPtrInput
	// Alarm information notification list.
	NotificationLists AlertNotificationListArrayInput
	// Notification threshold, which is not notified until the number of triggers is reached. The default is 1.
	NotifyThreshold pulumi.IntPtrInput
	// The project name.
	ProjectName pulumi.StringInput
	// Multiple conditions for configured alarm query.
	QueryLists AlertQueryListArrayInput
	// Execution interval. 60 seconds minimum, such as 60s, 1h.
	ScheduleInterval pulumi.StringPtrInput
	// Default FixedRate. No need to configure this parameter.
	ScheduleType pulumi.StringPtrInput
	// Notification interval, default is no interval. Support number + unit type, for example 60s, 1h.
	Throttling pulumi.StringPtrInput
}

The set of arguments for constructing a Alert resource.

func (AlertArgs) ElementType

func (AlertArgs) ElementType() reflect.Type

type AlertNotificationList

type AlertNotificationList struct {
	// Notice content of alarm.
	Content string `pulumi:"content"`
	// Email address list.
	EmailLists []string `pulumi:"emailLists"`
	// SMS sending mobile number.
	MobileLists []string `pulumi:"mobileLists"`
	// Request address.
	ServiceUri *string `pulumi:"serviceUri"`
	// Notification type. support Email, SMS, DingTalk.
	Type string `pulumi:"type"`
}

type AlertNotificationListArgs

type AlertNotificationListArgs struct {
	// Notice content of alarm.
	Content pulumi.StringInput `pulumi:"content"`
	// Email address list.
	EmailLists pulumi.StringArrayInput `pulumi:"emailLists"`
	// SMS sending mobile number.
	MobileLists pulumi.StringArrayInput `pulumi:"mobileLists"`
	// Request address.
	ServiceUri pulumi.StringPtrInput `pulumi:"serviceUri"`
	// Notification type. support Email, SMS, DingTalk.
	Type pulumi.StringInput `pulumi:"type"`
}

func (AlertNotificationListArgs) ElementType

func (AlertNotificationListArgs) ElementType() reflect.Type

func (AlertNotificationListArgs) ToAlertNotificationListOutput

func (i AlertNotificationListArgs) ToAlertNotificationListOutput() AlertNotificationListOutput

func (AlertNotificationListArgs) ToAlertNotificationListOutputWithContext

func (i AlertNotificationListArgs) ToAlertNotificationListOutputWithContext(ctx context.Context) AlertNotificationListOutput

type AlertNotificationListArray

type AlertNotificationListArray []AlertNotificationListInput

func (AlertNotificationListArray) ElementType

func (AlertNotificationListArray) ElementType() reflect.Type

func (AlertNotificationListArray) ToAlertNotificationListArrayOutput

func (i AlertNotificationListArray) ToAlertNotificationListArrayOutput() AlertNotificationListArrayOutput

func (AlertNotificationListArray) ToAlertNotificationListArrayOutputWithContext

func (i AlertNotificationListArray) ToAlertNotificationListArrayOutputWithContext(ctx context.Context) AlertNotificationListArrayOutput

type AlertNotificationListArrayInput

type AlertNotificationListArrayInput interface {
	pulumi.Input

	ToAlertNotificationListArrayOutput() AlertNotificationListArrayOutput
	ToAlertNotificationListArrayOutputWithContext(context.Context) AlertNotificationListArrayOutput
}

AlertNotificationListArrayInput is an input type that accepts AlertNotificationListArray and AlertNotificationListArrayOutput values. You can construct a concrete instance of `AlertNotificationListArrayInput` via:

AlertNotificationListArray{ AlertNotificationListArgs{...} }

type AlertNotificationListArrayOutput

type AlertNotificationListArrayOutput struct{ *pulumi.OutputState }

func (AlertNotificationListArrayOutput) ElementType

func (AlertNotificationListArrayOutput) Index

func (AlertNotificationListArrayOutput) ToAlertNotificationListArrayOutput

func (o AlertNotificationListArrayOutput) ToAlertNotificationListArrayOutput() AlertNotificationListArrayOutput

func (AlertNotificationListArrayOutput) ToAlertNotificationListArrayOutputWithContext

func (o AlertNotificationListArrayOutput) ToAlertNotificationListArrayOutputWithContext(ctx context.Context) AlertNotificationListArrayOutput

type AlertNotificationListInput

type AlertNotificationListInput interface {
	pulumi.Input

	ToAlertNotificationListOutput() AlertNotificationListOutput
	ToAlertNotificationListOutputWithContext(context.Context) AlertNotificationListOutput
}

AlertNotificationListInput is an input type that accepts AlertNotificationListArgs and AlertNotificationListOutput values. You can construct a concrete instance of `AlertNotificationListInput` via:

AlertNotificationListArgs{...}

type AlertNotificationListOutput

type AlertNotificationListOutput struct{ *pulumi.OutputState }

func (AlertNotificationListOutput) Content

Notice content of alarm.

func (AlertNotificationListOutput) ElementType

func (AlertNotificationListOutput) EmailLists

Email address list.

func (AlertNotificationListOutput) MobileLists

SMS sending mobile number.

func (AlertNotificationListOutput) ServiceUri

Request address.

func (AlertNotificationListOutput) ToAlertNotificationListOutput

func (o AlertNotificationListOutput) ToAlertNotificationListOutput() AlertNotificationListOutput

func (AlertNotificationListOutput) ToAlertNotificationListOutputWithContext

func (o AlertNotificationListOutput) ToAlertNotificationListOutputWithContext(ctx context.Context) AlertNotificationListOutput

func (AlertNotificationListOutput) Type

Notification type. support Email, SMS, DingTalk.

type AlertQueryList

type AlertQueryList struct {
	// chart title
	ChartTitle string `pulumi:"chartTitle"`
	// end time. example: 20s.
	End string `pulumi:"end"`
	// Query logstore
	Logstore string `pulumi:"logstore"`
	// query corresponding to chart. example: * AND aliyun.
	Query string `pulumi:"query"`
	// begin time. example: -60s.
	Start string `pulumi:"start"`
	// default Custom. No need to configure this parameter.
	TimeSpanType *string `pulumi:"timeSpanType"`
}

type AlertQueryListArgs

type AlertQueryListArgs struct {
	// chart title
	ChartTitle pulumi.StringInput `pulumi:"chartTitle"`
	// end time. example: 20s.
	End pulumi.StringInput `pulumi:"end"`
	// Query logstore
	Logstore pulumi.StringInput `pulumi:"logstore"`
	// query corresponding to chart. example: * AND aliyun.
	Query pulumi.StringInput `pulumi:"query"`
	// begin time. example: -60s.
	Start pulumi.StringInput `pulumi:"start"`
	// default Custom. No need to configure this parameter.
	TimeSpanType pulumi.StringPtrInput `pulumi:"timeSpanType"`
}

func (AlertQueryListArgs) ElementType

func (AlertQueryListArgs) ElementType() reflect.Type

func (AlertQueryListArgs) ToAlertQueryListOutput

func (i AlertQueryListArgs) ToAlertQueryListOutput() AlertQueryListOutput

func (AlertQueryListArgs) ToAlertQueryListOutputWithContext

func (i AlertQueryListArgs) ToAlertQueryListOutputWithContext(ctx context.Context) AlertQueryListOutput

type AlertQueryListArray

type AlertQueryListArray []AlertQueryListInput

func (AlertQueryListArray) ElementType

func (AlertQueryListArray) ElementType() reflect.Type

func (AlertQueryListArray) ToAlertQueryListArrayOutput

func (i AlertQueryListArray) ToAlertQueryListArrayOutput() AlertQueryListArrayOutput

func (AlertQueryListArray) ToAlertQueryListArrayOutputWithContext

func (i AlertQueryListArray) ToAlertQueryListArrayOutputWithContext(ctx context.Context) AlertQueryListArrayOutput

type AlertQueryListArrayInput

type AlertQueryListArrayInput interface {
	pulumi.Input

	ToAlertQueryListArrayOutput() AlertQueryListArrayOutput
	ToAlertQueryListArrayOutputWithContext(context.Context) AlertQueryListArrayOutput
}

AlertQueryListArrayInput is an input type that accepts AlertQueryListArray and AlertQueryListArrayOutput values. You can construct a concrete instance of `AlertQueryListArrayInput` via:

AlertQueryListArray{ AlertQueryListArgs{...} }

type AlertQueryListArrayOutput

type AlertQueryListArrayOutput struct{ *pulumi.OutputState }

func (AlertQueryListArrayOutput) ElementType

func (AlertQueryListArrayOutput) ElementType() reflect.Type

func (AlertQueryListArrayOutput) Index

func (AlertQueryListArrayOutput) ToAlertQueryListArrayOutput

func (o AlertQueryListArrayOutput) ToAlertQueryListArrayOutput() AlertQueryListArrayOutput

func (AlertQueryListArrayOutput) ToAlertQueryListArrayOutputWithContext

func (o AlertQueryListArrayOutput) ToAlertQueryListArrayOutputWithContext(ctx context.Context) AlertQueryListArrayOutput

type AlertQueryListInput

type AlertQueryListInput interface {
	pulumi.Input

	ToAlertQueryListOutput() AlertQueryListOutput
	ToAlertQueryListOutputWithContext(context.Context) AlertQueryListOutput
}

AlertQueryListInput is an input type that accepts AlertQueryListArgs and AlertQueryListOutput values. You can construct a concrete instance of `AlertQueryListInput` via:

AlertQueryListArgs{...}

type AlertQueryListOutput

type AlertQueryListOutput struct{ *pulumi.OutputState }

func (AlertQueryListOutput) ChartTitle

func (o AlertQueryListOutput) ChartTitle() pulumi.StringOutput

chart title

func (AlertQueryListOutput) ElementType

func (AlertQueryListOutput) ElementType() reflect.Type

func (AlertQueryListOutput) End

end time. example: 20s.

func (AlertQueryListOutput) Logstore

Query logstore

func (AlertQueryListOutput) Query

query corresponding to chart. example: * AND aliyun.

func (AlertQueryListOutput) Start

begin time. example: -60s.

func (AlertQueryListOutput) TimeSpanType

func (o AlertQueryListOutput) TimeSpanType() pulumi.StringPtrOutput

default Custom. No need to configure this parameter.

func (AlertQueryListOutput) ToAlertQueryListOutput

func (o AlertQueryListOutput) ToAlertQueryListOutput() AlertQueryListOutput

func (AlertQueryListOutput) ToAlertQueryListOutputWithContext

func (o AlertQueryListOutput) ToAlertQueryListOutputWithContext(ctx context.Context) AlertQueryListOutput

type AlertState

type AlertState struct {
	// Alert description.
	AlertDescription pulumi.StringPtrInput
	// Alert displayname.
	AlertDisplayname pulumi.StringPtrInput
	// Name of logstore for configuring alarm service.
	AlertName pulumi.StringPtrInput
	// Conditional expression, such as: count> 100.
	Condition pulumi.StringPtrInput
	Dashboard pulumi.StringPtrInput
	// Timestamp, notifications before closing again.
	MuteUntil pulumi.IntPtrInput
	// Alarm information notification list.
	NotificationLists AlertNotificationListArrayInput
	// Notification threshold, which is not notified until the number of triggers is reached. The default is 1.
	NotifyThreshold pulumi.IntPtrInput
	// The project name.
	ProjectName pulumi.StringPtrInput
	// Multiple conditions for configured alarm query.
	QueryLists AlertQueryListArrayInput
	// Execution interval. 60 seconds minimum, such as 60s, 1h.
	ScheduleInterval pulumi.StringPtrInput
	// Default FixedRate. No need to configure this parameter.
	ScheduleType pulumi.StringPtrInput
	// Notification interval, default is no interval. Support number + unit type, for example 60s, 1h.
	Throttling pulumi.StringPtrInput
}

func (AlertState) ElementType

func (AlertState) ElementType() reflect.Type

type Audit added in v2.3.3

type Audit struct {
	pulumi.CustomResourceState

	// Aliuid value of your account.
	Aliuid pulumi.StringOutput `pulumi:"aliuid"`
	// Name of SLS log audit.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Multi-account configuration, please fill in multiple aliuid.
	MultiAccounts pulumi.StringArrayOutput `pulumi:"multiAccounts"`
	// Log audit detailed configuration.
	VariableMap pulumi.MapOutput `pulumi:"variableMap"`
}

SLS log audit exists in the form of log service app.

In addition to inheriting all SLS functions, it also enhances the real-time automatic centralized collection of audit related logs across multi cloud products under multi accounts, and provides support for storage, query and information summary required by audit. It covers actiontrail, OSS, NAS, SLB, API gateway, RDS, WAF, cloud firewall, cloud security center and other products.

> **NOTE:** Available in 1.81.0

func GetAudit added in v2.3.3

func GetAudit(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AuditState, opts ...pulumi.ResourceOption) (*Audit, error)

GetAudit gets an existing Audit resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAudit added in v2.3.3

func NewAudit(ctx *pulumi.Context,
	name string, args *AuditArgs, opts ...pulumi.ResourceOption) (*Audit, error)

NewAudit registers a new resource with the given unique name, arguments, and options.

type AuditArgs added in v2.3.3

type AuditArgs struct {
	// Aliuid value of your account.
	Aliuid pulumi.StringInput
	// Name of SLS log audit.
	DisplayName pulumi.StringInput
	// Multi-account configuration, please fill in multiple aliuid.
	MultiAccounts pulumi.StringArrayInput
	// Log audit detailed configuration.
	VariableMap pulumi.MapInput
}

The set of arguments for constructing a Audit resource.

func (AuditArgs) ElementType added in v2.3.3

func (AuditArgs) ElementType() reflect.Type

type AuditState added in v2.3.3

type AuditState struct {
	// Aliuid value of your account.
	Aliuid pulumi.StringPtrInput
	// Name of SLS log audit.
	DisplayName pulumi.StringPtrInput
	// Multi-account configuration, please fill in multiple aliuid.
	MultiAccounts pulumi.StringArrayInput
	// Log audit detailed configuration.
	VariableMap pulumi.MapInput
}

func (AuditState) ElementType added in v2.3.3

func (AuditState) ElementType() reflect.Type

type Dashboard added in v2.8.0

type Dashboard struct {
	pulumi.CustomResourceState

	// Configuration of charts in the dashboard.
	CharList pulumi.StringOutput `pulumi:"charList"`
	// The name of the Log Dashboard.
	DashboardName pulumi.StringOutput `pulumi:"dashboardName"`
	// Dashboard alias.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// The name of the log project. It is the only in one Alicloud account.
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
}

The dashboard is a real-time data analysis platform provided by the log service. You can display frequently used query and analysis statements in the form of charts and save statistical charts to the dashboard. [Refer to details](https://www.alibabacloud.com/help/doc-detail/102530.htm).

> **NOTE:** Available in 1.86.0

func GetDashboard added in v2.8.0

func GetDashboard(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DashboardState, opts ...pulumi.ResourceOption) (*Dashboard, error)

GetDashboard gets an existing Dashboard resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDashboard added in v2.8.0

func NewDashboard(ctx *pulumi.Context,
	name string, args *DashboardArgs, opts ...pulumi.ResourceOption) (*Dashboard, error)

NewDashboard registers a new resource with the given unique name, arguments, and options.

type DashboardArgs added in v2.8.0

type DashboardArgs struct {
	// Configuration of charts in the dashboard.
	CharList pulumi.StringInput
	// The name of the Log Dashboard.
	DashboardName pulumi.StringInput
	// Dashboard alias.
	DisplayName pulumi.StringPtrInput
	// The name of the log project. It is the only in one Alicloud account.
	ProjectName pulumi.StringInput
}

The set of arguments for constructing a Dashboard resource.

func (DashboardArgs) ElementType added in v2.8.0

func (DashboardArgs) ElementType() reflect.Type

type DashboardState added in v2.8.0

type DashboardState struct {
	// Configuration of charts in the dashboard.
	CharList pulumi.StringPtrInput
	// The name of the Log Dashboard.
	DashboardName pulumi.StringPtrInput
	// Dashboard alias.
	DisplayName pulumi.StringPtrInput
	// The name of the log project. It is the only in one Alicloud account.
	ProjectName pulumi.StringPtrInput
}

func (DashboardState) ElementType added in v2.8.0

func (DashboardState) ElementType() reflect.Type

type LogTailAttachment

type LogTailAttachment struct {
	pulumi.CustomResourceState

	// The Logtail configuration name, which is unique in the same project.
	LogtailConfigName pulumi.StringOutput `pulumi:"logtailConfigName"`
	// The machine group name, which is unique in the same project.
	MachineGroupName pulumi.StringOutput `pulumi:"machineGroupName"`
	// The project name to the log store belongs.
	Project pulumi.StringOutput `pulumi:"project"`
}

The Logtail access service is a log collection agent provided by Log Service. You can use Logtail to collect logs from servers such as Alibaba Cloud Elastic Compute Service (ECS) instances in real time in the Log Service console. [Refer to details](https://www.alibabacloud.com/help/doc-detail/29058.htm)

This resource amis to attach one logtail configure to a machine group.

> **NOTE:** One logtail configure can be attached to multiple machine groups and one machine group can attach several logtail configures.

func GetLogTailAttachment

func GetLogTailAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LogTailAttachmentState, opts ...pulumi.ResourceOption) (*LogTailAttachment, error)

GetLogTailAttachment gets an existing LogTailAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLogTailAttachment

func NewLogTailAttachment(ctx *pulumi.Context,
	name string, args *LogTailAttachmentArgs, opts ...pulumi.ResourceOption) (*LogTailAttachment, error)

NewLogTailAttachment registers a new resource with the given unique name, arguments, and options.

type LogTailAttachmentArgs

type LogTailAttachmentArgs struct {
	// The Logtail configuration name, which is unique in the same project.
	LogtailConfigName pulumi.StringInput
	// The machine group name, which is unique in the same project.
	MachineGroupName pulumi.StringInput
	// The project name to the log store belongs.
	Project pulumi.StringInput
}

The set of arguments for constructing a LogTailAttachment resource.

func (LogTailAttachmentArgs) ElementType

func (LogTailAttachmentArgs) ElementType() reflect.Type

type LogTailAttachmentState

type LogTailAttachmentState struct {
	// The Logtail configuration name, which is unique in the same project.
	LogtailConfigName pulumi.StringPtrInput
	// The machine group name, which is unique in the same project.
	MachineGroupName pulumi.StringPtrInput
	// The project name to the log store belongs.
	Project pulumi.StringPtrInput
}

func (LogTailAttachmentState) ElementType

func (LogTailAttachmentState) ElementType() reflect.Type

type LogTailConfig

type LogTailConfig struct {
	pulumi.CustomResourceState

	// The logtail configure the required JSON files. ([Refer to details](https://www.alibabacloud.com/help/doc-detail/29058.htm))
	InputDetail pulumi.StringOutput `pulumi:"inputDetail"`
	// The input type. Currently only two types of files and plugin are supported.
	InputType pulumi.StringOutput `pulumi:"inputType"`
	// (Optional)The log sample of the Logtail configuration. The log size cannot exceed 1,000 bytes.
	LogSample pulumi.StringPtrOutput `pulumi:"logSample"`
	// The log store name to the query index belongs.
	Logstore pulumi.StringOutput `pulumi:"logstore"`
	// The Logtail configuration name, which is unique in the same project.
	Name pulumi.StringOutput `pulumi:"name"`
	// The output type. Currently, only LogService is supported.
	OutputType pulumi.StringOutput `pulumi:"outputType"`
	// The project name to the log store belongs.
	Project pulumi.StringOutput `pulumi:"project"`
}

func GetLogTailConfig

func GetLogTailConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LogTailConfigState, opts ...pulumi.ResourceOption) (*LogTailConfig, error)

GetLogTailConfig gets an existing LogTailConfig resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLogTailConfig

func NewLogTailConfig(ctx *pulumi.Context,
	name string, args *LogTailConfigArgs, opts ...pulumi.ResourceOption) (*LogTailConfig, error)

NewLogTailConfig registers a new resource with the given unique name, arguments, and options.

type LogTailConfigArgs

type LogTailConfigArgs struct {
	// The logtail configure the required JSON files. ([Refer to details](https://www.alibabacloud.com/help/doc-detail/29058.htm))
	InputDetail pulumi.StringInput
	// The input type. Currently only two types of files and plugin are supported.
	InputType pulumi.StringInput
	// (Optional)The log sample of the Logtail configuration. The log size cannot exceed 1,000 bytes.
	LogSample pulumi.StringPtrInput
	// The log store name to the query index belongs.
	Logstore pulumi.StringInput
	// The Logtail configuration name, which is unique in the same project.
	Name pulumi.StringPtrInput
	// The output type. Currently, only LogService is supported.
	OutputType pulumi.StringInput
	// The project name to the log store belongs.
	Project pulumi.StringInput
}

The set of arguments for constructing a LogTailConfig resource.

func (LogTailConfigArgs) ElementType

func (LogTailConfigArgs) ElementType() reflect.Type

type LogTailConfigState

type LogTailConfigState struct {
	// The logtail configure the required JSON files. ([Refer to details](https://www.alibabacloud.com/help/doc-detail/29058.htm))
	InputDetail pulumi.StringPtrInput
	// The input type. Currently only two types of files and plugin are supported.
	InputType pulumi.StringPtrInput
	// (Optional)The log sample of the Logtail configuration. The log size cannot exceed 1,000 bytes.
	LogSample pulumi.StringPtrInput
	// The log store name to the query index belongs.
	Logstore pulumi.StringPtrInput
	// The Logtail configuration name, which is unique in the same project.
	Name pulumi.StringPtrInput
	// The output type. Currently, only LogService is supported.
	OutputType pulumi.StringPtrInput
	// The project name to the log store belongs.
	Project pulumi.StringPtrInput
}

func (LogTailConfigState) ElementType

func (LogTailConfigState) ElementType() reflect.Type

type MachineGroup

type MachineGroup struct {
	pulumi.CustomResourceState

	// The specific machine identification, which can be an IP address or user-defined identity.
	IdentifyLists pulumi.StringArrayOutput `pulumi:"identifyLists"`
	// The machine identification type, including IP and user-defined identity. Valid values are "ip" and "userdefined". Default to "ip".
	IdentifyType pulumi.StringPtrOutput `pulumi:"identifyType"`
	// The machine group name, which is unique in the same project.
	Name pulumi.StringOutput `pulumi:"name"`
	// The project name to the machine group belongs.
	Project pulumi.StringOutput `pulumi:"project"`
	// The topic of a machine group.
	Topic pulumi.StringPtrOutput `pulumi:"topic"`
}

func GetMachineGroup

func GetMachineGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MachineGroupState, opts ...pulumi.ResourceOption) (*MachineGroup, error)

GetMachineGroup gets an existing MachineGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewMachineGroup

func NewMachineGroup(ctx *pulumi.Context,
	name string, args *MachineGroupArgs, opts ...pulumi.ResourceOption) (*MachineGroup, error)

NewMachineGroup registers a new resource with the given unique name, arguments, and options.

type MachineGroupArgs

type MachineGroupArgs struct {
	// The specific machine identification, which can be an IP address or user-defined identity.
	IdentifyLists pulumi.StringArrayInput
	// The machine identification type, including IP and user-defined identity. Valid values are "ip" and "userdefined". Default to "ip".
	IdentifyType pulumi.StringPtrInput
	// The machine group name, which is unique in the same project.
	Name pulumi.StringPtrInput
	// The project name to the machine group belongs.
	Project pulumi.StringInput
	// The topic of a machine group.
	Topic pulumi.StringPtrInput
}

The set of arguments for constructing a MachineGroup resource.

func (MachineGroupArgs) ElementType

func (MachineGroupArgs) ElementType() reflect.Type

type MachineGroupState

type MachineGroupState struct {
	// The specific machine identification, which can be an IP address or user-defined identity.
	IdentifyLists pulumi.StringArrayInput
	// The machine identification type, including IP and user-defined identity. Valid values are "ip" and "userdefined". Default to "ip".
	IdentifyType pulumi.StringPtrInput
	// The machine group name, which is unique in the same project.
	Name pulumi.StringPtrInput
	// The project name to the machine group belongs.
	Project pulumi.StringPtrInput
	// The topic of a machine group.
	Topic pulumi.StringPtrInput
}

func (MachineGroupState) ElementType

func (MachineGroupState) ElementType() reflect.Type

type Project

type Project struct {
	pulumi.CustomResourceState

	// Description of the log project.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the log project. It is the only in one Alicloud account.
	Name pulumi.StringOutput `pulumi:"name"`
}

func GetProject

func GetProject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)

GetProject gets an existing Project resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProject

func NewProject(ctx *pulumi.Context,
	name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)

NewProject registers a new resource with the given unique name, arguments, and options.

type ProjectArgs

type ProjectArgs struct {
	// Description of the log project.
	Description pulumi.StringPtrInput
	// The name of the log project. It is the only in one Alicloud account.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a Project resource.

func (ProjectArgs) ElementType

func (ProjectArgs) ElementType() reflect.Type

type ProjectState

type ProjectState struct {
	// Description of the log project.
	Description pulumi.StringPtrInput
	// The name of the log project. It is the only in one Alicloud account.
	Name pulumi.StringPtrInput
}

func (ProjectState) ElementType

func (ProjectState) ElementType() reflect.Type

type Store

type Store struct {
	pulumi.CustomResourceState

	// Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
	AppendMeta pulumi.BoolPtrOutput `pulumi:"appendMeta"`
	// Determines whether to automatically split a shard. Default to true.
	AutoSplit pulumi.BoolPtrOutput `pulumi:"autoSplit"`
	// Determines whether to enable Web Tracking. Default false.
	EnableWebTracking pulumi.BoolPtrOutput `pulumi:"enableWebTracking"`
	// The maximum number of shards for automatic split, which is in the range of 1 to 64. You must specify this parameter when autoSplit is true.
	MaxSplitShardCount pulumi.IntPtrOutput `pulumi:"maxSplitShardCount"`
	// The log store, which is unique in the same project.
	Name pulumi.StringOutput `pulumi:"name"`
	// The project name to the log store belongs.
	Project pulumi.StringOutput `pulumi:"project"`
	// The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is "3650".
	RetentionPeriod pulumi.IntPtrOutput `pulumi:"retentionPeriod"`
	// The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. [Refer to details](https://www.alibabacloud.com/help/doc-detail/28976.htm)
	ShardCount pulumi.IntPtrOutput   `pulumi:"shardCount"`
	Shards     StoreShardArrayOutput `pulumi:"shards"`
}

func GetStore

func GetStore(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StoreState, opts ...pulumi.ResourceOption) (*Store, error)

GetStore gets an existing Store resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStore

func NewStore(ctx *pulumi.Context,
	name string, args *StoreArgs, opts ...pulumi.ResourceOption) (*Store, error)

NewStore registers a new resource with the given unique name, arguments, and options.

type StoreArgs

type StoreArgs struct {
	// Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
	AppendMeta pulumi.BoolPtrInput
	// Determines whether to automatically split a shard. Default to true.
	AutoSplit pulumi.BoolPtrInput
	// Determines whether to enable Web Tracking. Default false.
	EnableWebTracking pulumi.BoolPtrInput
	// The maximum number of shards for automatic split, which is in the range of 1 to 64. You must specify this parameter when autoSplit is true.
	MaxSplitShardCount pulumi.IntPtrInput
	// The log store, which is unique in the same project.
	Name pulumi.StringPtrInput
	// The project name to the log store belongs.
	Project pulumi.StringInput
	// The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is "3650".
	RetentionPeriod pulumi.IntPtrInput
	// The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. [Refer to details](https://www.alibabacloud.com/help/doc-detail/28976.htm)
	ShardCount pulumi.IntPtrInput
}

The set of arguments for constructing a Store resource.

func (StoreArgs) ElementType

func (StoreArgs) ElementType() reflect.Type

type StoreIndex

type StoreIndex struct {
	pulumi.CustomResourceState

	// List configurations of field search index. Valid item as follows:
	FieldSearches StoreIndexFieldSearchArrayOutput `pulumi:"fieldSearches"`
	// The configuration of full text index. Valid item as follows:
	FullText StoreIndexFullTextPtrOutput `pulumi:"fullText"`
	// The log store name to the query index belongs.
	Logstore pulumi.StringOutput `pulumi:"logstore"`
	// The project name to the log store belongs.
	Project pulumi.StringOutput `pulumi:"project"`
}

func GetStoreIndex

func GetStoreIndex(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StoreIndexState, opts ...pulumi.ResourceOption) (*StoreIndex, error)

GetStoreIndex gets an existing StoreIndex resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewStoreIndex

func NewStoreIndex(ctx *pulumi.Context,
	name string, args *StoreIndexArgs, opts ...pulumi.ResourceOption) (*StoreIndex, error)

NewStoreIndex registers a new resource with the given unique name, arguments, and options.

type StoreIndexArgs

type StoreIndexArgs struct {
	// List configurations of field search index. Valid item as follows:
	FieldSearches StoreIndexFieldSearchArrayInput
	// The configuration of full text index. Valid item as follows:
	FullText StoreIndexFullTextPtrInput
	// The log store name to the query index belongs.
	Logstore pulumi.StringInput
	// The project name to the log store belongs.
	Project pulumi.StringInput
}

The set of arguments for constructing a StoreIndex resource.

func (StoreIndexArgs) ElementType

func (StoreIndexArgs) ElementType() reflect.Type

type StoreIndexFieldSearch

type StoreIndexFieldSearch struct {
	// The alias of one field.
	Alias *string `pulumi:"alias"`
	// Whether the case sensitive for the field. Default to false. It is valid when "type" is "text" or "json".
	CaseSensitive *bool `pulumi:"caseSensitive"`
	// Whether to enable field analytics. Default to true.
	EnableAnalytics *bool `pulumi:"enableAnalytics"`
	// Whether includes the chinese for the field. Default to false. It is valid when "type" is "text" or "json".
	IncludeChinese *bool `pulumi:"includeChinese"`
	// Use nested index when type is json
	JsonKeys []StoreIndexFieldSearchJsonKey `pulumi:"jsonKeys"`
	// When using the jsonKeys field, this field is required.
	Name string `pulumi:"name"`
	// The string of several split words, like "\r", "#". It is valid when "type" is "text" or "json".
	Token *string `pulumi:"token"`
	// The type of one field. Valid values: ["long", "text", "double"]. Default to "long"
	Type *string `pulumi:"type"`
}

type StoreIndexFieldSearchArgs

type StoreIndexFieldSearchArgs struct {
	// The alias of one field.
	Alias pulumi.StringPtrInput `pulumi:"alias"`
	// Whether the case sensitive for the field. Default to false. It is valid when "type" is "text" or "json".
	CaseSensitive pulumi.BoolPtrInput `pulumi:"caseSensitive"`
	// Whether to enable field analytics. Default to true.
	EnableAnalytics pulumi.BoolPtrInput `pulumi:"enableAnalytics"`
	// Whether includes the chinese for the field. Default to false. It is valid when "type" is "text" or "json".
	IncludeChinese pulumi.BoolPtrInput `pulumi:"includeChinese"`
	// Use nested index when type is json
	JsonKeys StoreIndexFieldSearchJsonKeyArrayInput `pulumi:"jsonKeys"`
	// When using the jsonKeys field, this field is required.
	Name pulumi.StringInput `pulumi:"name"`
	// The string of several split words, like "\r", "#". It is valid when "type" is "text" or "json".
	Token pulumi.StringPtrInput `pulumi:"token"`
	// The type of one field. Valid values: ["long", "text", "double"]. Default to "long"
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (StoreIndexFieldSearchArgs) ElementType

func (StoreIndexFieldSearchArgs) ElementType() reflect.Type

func (StoreIndexFieldSearchArgs) ToStoreIndexFieldSearchOutput

func (i StoreIndexFieldSearchArgs) ToStoreIndexFieldSearchOutput() StoreIndexFieldSearchOutput

func (StoreIndexFieldSearchArgs) ToStoreIndexFieldSearchOutputWithContext

func (i StoreIndexFieldSearchArgs) ToStoreIndexFieldSearchOutputWithContext(ctx context.Context) StoreIndexFieldSearchOutput

type StoreIndexFieldSearchArray

type StoreIndexFieldSearchArray []StoreIndexFieldSearchInput

func (StoreIndexFieldSearchArray) ElementType

func (StoreIndexFieldSearchArray) ElementType() reflect.Type

func (StoreIndexFieldSearchArray) ToStoreIndexFieldSearchArrayOutput

func (i StoreIndexFieldSearchArray) ToStoreIndexFieldSearchArrayOutput() StoreIndexFieldSearchArrayOutput

func (StoreIndexFieldSearchArray) ToStoreIndexFieldSearchArrayOutputWithContext

func (i StoreIndexFieldSearchArray) ToStoreIndexFieldSearchArrayOutputWithContext(ctx context.Context) StoreIndexFieldSearchArrayOutput

type StoreIndexFieldSearchArrayInput

type StoreIndexFieldSearchArrayInput interface {
	pulumi.Input

	ToStoreIndexFieldSearchArrayOutput() StoreIndexFieldSearchArrayOutput
	ToStoreIndexFieldSearchArrayOutputWithContext(context.Context) StoreIndexFieldSearchArrayOutput
}

StoreIndexFieldSearchArrayInput is an input type that accepts StoreIndexFieldSearchArray and StoreIndexFieldSearchArrayOutput values. You can construct a concrete instance of `StoreIndexFieldSearchArrayInput` via:

StoreIndexFieldSearchArray{ StoreIndexFieldSearchArgs{...} }

type StoreIndexFieldSearchArrayOutput

type StoreIndexFieldSearchArrayOutput struct{ *pulumi.OutputState }

func (StoreIndexFieldSearchArrayOutput) ElementType

func (StoreIndexFieldSearchArrayOutput) Index

func (StoreIndexFieldSearchArrayOutput) ToStoreIndexFieldSearchArrayOutput

func (o StoreIndexFieldSearchArrayOutput) ToStoreIndexFieldSearchArrayOutput() StoreIndexFieldSearchArrayOutput

func (StoreIndexFieldSearchArrayOutput) ToStoreIndexFieldSearchArrayOutputWithContext

func (o StoreIndexFieldSearchArrayOutput) ToStoreIndexFieldSearchArrayOutputWithContext(ctx context.Context) StoreIndexFieldSearchArrayOutput

type StoreIndexFieldSearchInput

type StoreIndexFieldSearchInput interface {
	pulumi.Input

	ToStoreIndexFieldSearchOutput() StoreIndexFieldSearchOutput
	ToStoreIndexFieldSearchOutputWithContext(context.Context) StoreIndexFieldSearchOutput
}

StoreIndexFieldSearchInput is an input type that accepts StoreIndexFieldSearchArgs and StoreIndexFieldSearchOutput values. You can construct a concrete instance of `StoreIndexFieldSearchInput` via:

StoreIndexFieldSearchArgs{...}

type StoreIndexFieldSearchJsonKey

type StoreIndexFieldSearchJsonKey struct {
	// The alias of one field.
	Alias *string `pulumi:"alias"`
	// Whether to enable statistics. default to true.
	DocValue *bool `pulumi:"docValue"`
	// When using the jsonKeys field, this field is required.
	Name string `pulumi:"name"`
	// The type of one field. Valid values: ["long", "text", "double"]. Default to "long"
	Type *string `pulumi:"type"`
}

type StoreIndexFieldSearchJsonKeyArgs

type StoreIndexFieldSearchJsonKeyArgs struct {
	// The alias of one field.
	Alias pulumi.StringPtrInput `pulumi:"alias"`
	// Whether to enable statistics. default to true.
	DocValue pulumi.BoolPtrInput `pulumi:"docValue"`
	// When using the jsonKeys field, this field is required.
	Name pulumi.StringInput `pulumi:"name"`
	// The type of one field. Valid values: ["long", "text", "double"]. Default to "long"
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (StoreIndexFieldSearchJsonKeyArgs) ElementType

func (StoreIndexFieldSearchJsonKeyArgs) ToStoreIndexFieldSearchJsonKeyOutput

func (i StoreIndexFieldSearchJsonKeyArgs) ToStoreIndexFieldSearchJsonKeyOutput() StoreIndexFieldSearchJsonKeyOutput

func (StoreIndexFieldSearchJsonKeyArgs) ToStoreIndexFieldSearchJsonKeyOutputWithContext

func (i StoreIndexFieldSearchJsonKeyArgs) ToStoreIndexFieldSearchJsonKeyOutputWithContext(ctx context.Context) StoreIndexFieldSearchJsonKeyOutput

type StoreIndexFieldSearchJsonKeyArray

type StoreIndexFieldSearchJsonKeyArray []StoreIndexFieldSearchJsonKeyInput

func (StoreIndexFieldSearchJsonKeyArray) ElementType

func (StoreIndexFieldSearchJsonKeyArray) ToStoreIndexFieldSearchJsonKeyArrayOutput

func (i StoreIndexFieldSearchJsonKeyArray) ToStoreIndexFieldSearchJsonKeyArrayOutput() StoreIndexFieldSearchJsonKeyArrayOutput

func (StoreIndexFieldSearchJsonKeyArray) ToStoreIndexFieldSearchJsonKeyArrayOutputWithContext

func (i StoreIndexFieldSearchJsonKeyArray) ToStoreIndexFieldSearchJsonKeyArrayOutputWithContext(ctx context.Context) StoreIndexFieldSearchJsonKeyArrayOutput

type StoreIndexFieldSearchJsonKeyArrayInput

type StoreIndexFieldSearchJsonKeyArrayInput interface {
	pulumi.Input

	ToStoreIndexFieldSearchJsonKeyArrayOutput() StoreIndexFieldSearchJsonKeyArrayOutput
	ToStoreIndexFieldSearchJsonKeyArrayOutputWithContext(context.Context) StoreIndexFieldSearchJsonKeyArrayOutput
}

StoreIndexFieldSearchJsonKeyArrayInput is an input type that accepts StoreIndexFieldSearchJsonKeyArray and StoreIndexFieldSearchJsonKeyArrayOutput values. You can construct a concrete instance of `StoreIndexFieldSearchJsonKeyArrayInput` via:

StoreIndexFieldSearchJsonKeyArray{ StoreIndexFieldSearchJsonKeyArgs{...} }

type StoreIndexFieldSearchJsonKeyArrayOutput

type StoreIndexFieldSearchJsonKeyArrayOutput struct{ *pulumi.OutputState }

func (StoreIndexFieldSearchJsonKeyArrayOutput) ElementType

func (StoreIndexFieldSearchJsonKeyArrayOutput) Index

func (StoreIndexFieldSearchJsonKeyArrayOutput) ToStoreIndexFieldSearchJsonKeyArrayOutput

func (o StoreIndexFieldSearchJsonKeyArrayOutput) ToStoreIndexFieldSearchJsonKeyArrayOutput() StoreIndexFieldSearchJsonKeyArrayOutput

func (StoreIndexFieldSearchJsonKeyArrayOutput) ToStoreIndexFieldSearchJsonKeyArrayOutputWithContext

func (o StoreIndexFieldSearchJsonKeyArrayOutput) ToStoreIndexFieldSearchJsonKeyArrayOutputWithContext(ctx context.Context) StoreIndexFieldSearchJsonKeyArrayOutput

type StoreIndexFieldSearchJsonKeyInput

type StoreIndexFieldSearchJsonKeyInput interface {
	pulumi.Input

	ToStoreIndexFieldSearchJsonKeyOutput() StoreIndexFieldSearchJsonKeyOutput
	ToStoreIndexFieldSearchJsonKeyOutputWithContext(context.Context) StoreIndexFieldSearchJsonKeyOutput
}

StoreIndexFieldSearchJsonKeyInput is an input type that accepts StoreIndexFieldSearchJsonKeyArgs and StoreIndexFieldSearchJsonKeyOutput values. You can construct a concrete instance of `StoreIndexFieldSearchJsonKeyInput` via:

StoreIndexFieldSearchJsonKeyArgs{...}

type StoreIndexFieldSearchJsonKeyOutput

type StoreIndexFieldSearchJsonKeyOutput struct{ *pulumi.OutputState }

func (StoreIndexFieldSearchJsonKeyOutput) Alias

The alias of one field.

func (StoreIndexFieldSearchJsonKeyOutput) DocValue

Whether to enable statistics. default to true.

func (StoreIndexFieldSearchJsonKeyOutput) ElementType

func (StoreIndexFieldSearchJsonKeyOutput) Name

When using the jsonKeys field, this field is required.

func (StoreIndexFieldSearchJsonKeyOutput) ToStoreIndexFieldSearchJsonKeyOutput

func (o StoreIndexFieldSearchJsonKeyOutput) ToStoreIndexFieldSearchJsonKeyOutput() StoreIndexFieldSearchJsonKeyOutput

func (StoreIndexFieldSearchJsonKeyOutput) ToStoreIndexFieldSearchJsonKeyOutputWithContext

func (o StoreIndexFieldSearchJsonKeyOutput) ToStoreIndexFieldSearchJsonKeyOutputWithContext(ctx context.Context) StoreIndexFieldSearchJsonKeyOutput

func (StoreIndexFieldSearchJsonKeyOutput) Type

The type of one field. Valid values: ["long", "text", "double"]. Default to "long"

type StoreIndexFieldSearchOutput

type StoreIndexFieldSearchOutput struct{ *pulumi.OutputState }

func (StoreIndexFieldSearchOutput) Alias

The alias of one field.

func (StoreIndexFieldSearchOutput) CaseSensitive

Whether the case sensitive for the field. Default to false. It is valid when "type" is "text" or "json".

func (StoreIndexFieldSearchOutput) ElementType

func (StoreIndexFieldSearchOutput) EnableAnalytics

func (o StoreIndexFieldSearchOutput) EnableAnalytics() pulumi.BoolPtrOutput

Whether to enable field analytics. Default to true.

func (StoreIndexFieldSearchOutput) IncludeChinese

Whether includes the chinese for the field. Default to false. It is valid when "type" is "text" or "json".

func (StoreIndexFieldSearchOutput) JsonKeys

Use nested index when type is json

func (StoreIndexFieldSearchOutput) Name

When using the jsonKeys field, this field is required.

func (StoreIndexFieldSearchOutput) ToStoreIndexFieldSearchOutput

func (o StoreIndexFieldSearchOutput) ToStoreIndexFieldSearchOutput() StoreIndexFieldSearchOutput

func (StoreIndexFieldSearchOutput) ToStoreIndexFieldSearchOutputWithContext

func (o StoreIndexFieldSearchOutput) ToStoreIndexFieldSearchOutputWithContext(ctx context.Context) StoreIndexFieldSearchOutput

func (StoreIndexFieldSearchOutput) Token

The string of several split words, like "\r", "#". It is valid when "type" is "text" or "json".

func (StoreIndexFieldSearchOutput) Type

The type of one field. Valid values: ["long", "text", "double"]. Default to "long"

type StoreIndexFullText

type StoreIndexFullText struct {
	// Whether the case sensitive for the field. Default to false. It is valid when "type" is "text" or "json".
	CaseSensitive *bool `pulumi:"caseSensitive"`
	// Whether includes the chinese for the field. Default to false. It is valid when "type" is "text" or "json".
	IncludeChinese *bool `pulumi:"includeChinese"`
	// The string of several split words, like "\r", "#". It is valid when "type" is "text" or "json".
	Token *string `pulumi:"token"`
}

type StoreIndexFullTextArgs

type StoreIndexFullTextArgs struct {
	// Whether the case sensitive for the field. Default to false. It is valid when "type" is "text" or "json".
	CaseSensitive pulumi.BoolPtrInput `pulumi:"caseSensitive"`
	// Whether includes the chinese for the field. Default to false. It is valid when "type" is "text" or "json".
	IncludeChinese pulumi.BoolPtrInput `pulumi:"includeChinese"`
	// The string of several split words, like "\r", "#". It is valid when "type" is "text" or "json".
	Token pulumi.StringPtrInput `pulumi:"token"`
}

func (StoreIndexFullTextArgs) ElementType

func (StoreIndexFullTextArgs) ElementType() reflect.Type

func (StoreIndexFullTextArgs) ToStoreIndexFullTextOutput

func (i StoreIndexFullTextArgs) ToStoreIndexFullTextOutput() StoreIndexFullTextOutput

func (StoreIndexFullTextArgs) ToStoreIndexFullTextOutputWithContext

func (i StoreIndexFullTextArgs) ToStoreIndexFullTextOutputWithContext(ctx context.Context) StoreIndexFullTextOutput

func (StoreIndexFullTextArgs) ToStoreIndexFullTextPtrOutput

func (i StoreIndexFullTextArgs) ToStoreIndexFullTextPtrOutput() StoreIndexFullTextPtrOutput

func (StoreIndexFullTextArgs) ToStoreIndexFullTextPtrOutputWithContext

func (i StoreIndexFullTextArgs) ToStoreIndexFullTextPtrOutputWithContext(ctx context.Context) StoreIndexFullTextPtrOutput

type StoreIndexFullTextInput

type StoreIndexFullTextInput interface {
	pulumi.Input

	ToStoreIndexFullTextOutput() StoreIndexFullTextOutput
	ToStoreIndexFullTextOutputWithContext(context.Context) StoreIndexFullTextOutput
}

StoreIndexFullTextInput is an input type that accepts StoreIndexFullTextArgs and StoreIndexFullTextOutput values. You can construct a concrete instance of `StoreIndexFullTextInput` via:

StoreIndexFullTextArgs{...}

type StoreIndexFullTextOutput

type StoreIndexFullTextOutput struct{ *pulumi.OutputState }

func (StoreIndexFullTextOutput) CaseSensitive

func (o StoreIndexFullTextOutput) CaseSensitive() pulumi.BoolPtrOutput

Whether the case sensitive for the field. Default to false. It is valid when "type" is "text" or "json".

func (StoreIndexFullTextOutput) ElementType

func (StoreIndexFullTextOutput) ElementType() reflect.Type

func (StoreIndexFullTextOutput) IncludeChinese

func (o StoreIndexFullTextOutput) IncludeChinese() pulumi.BoolPtrOutput

Whether includes the chinese for the field. Default to false. It is valid when "type" is "text" or "json".

func (StoreIndexFullTextOutput) ToStoreIndexFullTextOutput

func (o StoreIndexFullTextOutput) ToStoreIndexFullTextOutput() StoreIndexFullTextOutput

func (StoreIndexFullTextOutput) ToStoreIndexFullTextOutputWithContext

func (o StoreIndexFullTextOutput) ToStoreIndexFullTextOutputWithContext(ctx context.Context) StoreIndexFullTextOutput

func (StoreIndexFullTextOutput) ToStoreIndexFullTextPtrOutput

func (o StoreIndexFullTextOutput) ToStoreIndexFullTextPtrOutput() StoreIndexFullTextPtrOutput

func (StoreIndexFullTextOutput) ToStoreIndexFullTextPtrOutputWithContext

func (o StoreIndexFullTextOutput) ToStoreIndexFullTextPtrOutputWithContext(ctx context.Context) StoreIndexFullTextPtrOutput

func (StoreIndexFullTextOutput) Token

The string of several split words, like "\r", "#". It is valid when "type" is "text" or "json".

type StoreIndexFullTextPtrInput

type StoreIndexFullTextPtrInput interface {
	pulumi.Input

	ToStoreIndexFullTextPtrOutput() StoreIndexFullTextPtrOutput
	ToStoreIndexFullTextPtrOutputWithContext(context.Context) StoreIndexFullTextPtrOutput
}

StoreIndexFullTextPtrInput is an input type that accepts StoreIndexFullTextArgs, StoreIndexFullTextPtr and StoreIndexFullTextPtrOutput values. You can construct a concrete instance of `StoreIndexFullTextPtrInput` via:

		 StoreIndexFullTextArgs{...}

 or:

		 nil

type StoreIndexFullTextPtrOutput

type StoreIndexFullTextPtrOutput struct{ *pulumi.OutputState }

func (StoreIndexFullTextPtrOutput) CaseSensitive

Whether the case sensitive for the field. Default to false. It is valid when "type" is "text" or "json".

func (StoreIndexFullTextPtrOutput) Elem

func (StoreIndexFullTextPtrOutput) ElementType

func (StoreIndexFullTextPtrOutput) IncludeChinese

Whether includes the chinese for the field. Default to false. It is valid when "type" is "text" or "json".

func (StoreIndexFullTextPtrOutput) ToStoreIndexFullTextPtrOutput

func (o StoreIndexFullTextPtrOutput) ToStoreIndexFullTextPtrOutput() StoreIndexFullTextPtrOutput

func (StoreIndexFullTextPtrOutput) ToStoreIndexFullTextPtrOutputWithContext

func (o StoreIndexFullTextPtrOutput) ToStoreIndexFullTextPtrOutputWithContext(ctx context.Context) StoreIndexFullTextPtrOutput

func (StoreIndexFullTextPtrOutput) Token

The string of several split words, like "\r", "#". It is valid when "type" is "text" or "json".

type StoreIndexState

type StoreIndexState struct {
	// List configurations of field search index. Valid item as follows:
	FieldSearches StoreIndexFieldSearchArrayInput
	// The configuration of full text index. Valid item as follows:
	FullText StoreIndexFullTextPtrInput
	// The log store name to the query index belongs.
	Logstore pulumi.StringPtrInput
	// The project name to the log store belongs.
	Project pulumi.StringPtrInput
}

func (StoreIndexState) ElementType

func (StoreIndexState) ElementType() reflect.Type

type StoreShard

type StoreShard struct {
	BeginKey *string `pulumi:"beginKey"`
	EndKey   *string `pulumi:"endKey"`
	// The ID of the log project. It formats of `<project>:<name>`.
	Id     *int    `pulumi:"id"`
	Status *string `pulumi:"status"`
}

type StoreShardArgs

type StoreShardArgs struct {
	BeginKey pulumi.StringPtrInput `pulumi:"beginKey"`
	EndKey   pulumi.StringPtrInput `pulumi:"endKey"`
	// The ID of the log project. It formats of `<project>:<name>`.
	Id     pulumi.IntPtrInput    `pulumi:"id"`
	Status pulumi.StringPtrInput `pulumi:"status"`
}

func (StoreShardArgs) ElementType

func (StoreShardArgs) ElementType() reflect.Type

func (StoreShardArgs) ToStoreShardOutput

func (i StoreShardArgs) ToStoreShardOutput() StoreShardOutput

func (StoreShardArgs) ToStoreShardOutputWithContext

func (i StoreShardArgs) ToStoreShardOutputWithContext(ctx context.Context) StoreShardOutput

type StoreShardArray

type StoreShardArray []StoreShardInput

func (StoreShardArray) ElementType

func (StoreShardArray) ElementType() reflect.Type

func (StoreShardArray) ToStoreShardArrayOutput

func (i StoreShardArray) ToStoreShardArrayOutput() StoreShardArrayOutput

func (StoreShardArray) ToStoreShardArrayOutputWithContext

func (i StoreShardArray) ToStoreShardArrayOutputWithContext(ctx context.Context) StoreShardArrayOutput

type StoreShardArrayInput

type StoreShardArrayInput interface {
	pulumi.Input

	ToStoreShardArrayOutput() StoreShardArrayOutput
	ToStoreShardArrayOutputWithContext(context.Context) StoreShardArrayOutput
}

StoreShardArrayInput is an input type that accepts StoreShardArray and StoreShardArrayOutput values. You can construct a concrete instance of `StoreShardArrayInput` via:

StoreShardArray{ StoreShardArgs{...} }

type StoreShardArrayOutput

type StoreShardArrayOutput struct{ *pulumi.OutputState }

func (StoreShardArrayOutput) ElementType

func (StoreShardArrayOutput) ElementType() reflect.Type

func (StoreShardArrayOutput) Index

func (StoreShardArrayOutput) ToStoreShardArrayOutput

func (o StoreShardArrayOutput) ToStoreShardArrayOutput() StoreShardArrayOutput

func (StoreShardArrayOutput) ToStoreShardArrayOutputWithContext

func (o StoreShardArrayOutput) ToStoreShardArrayOutputWithContext(ctx context.Context) StoreShardArrayOutput

type StoreShardInput

type StoreShardInput interface {
	pulumi.Input

	ToStoreShardOutput() StoreShardOutput
	ToStoreShardOutputWithContext(context.Context) StoreShardOutput
}

StoreShardInput is an input type that accepts StoreShardArgs and StoreShardOutput values. You can construct a concrete instance of `StoreShardInput` via:

StoreShardArgs{...}

type StoreShardOutput

type StoreShardOutput struct{ *pulumi.OutputState }

func (StoreShardOutput) BeginKey

func (StoreShardOutput) ElementType

func (StoreShardOutput) ElementType() reflect.Type

func (StoreShardOutput) EndKey

func (StoreShardOutput) Id

The ID of the log project. It formats of `<project>:<name>`.

func (StoreShardOutput) Status

func (StoreShardOutput) ToStoreShardOutput

func (o StoreShardOutput) ToStoreShardOutput() StoreShardOutput

func (StoreShardOutput) ToStoreShardOutputWithContext

func (o StoreShardOutput) ToStoreShardOutputWithContext(ctx context.Context) StoreShardOutput

type StoreState

type StoreState struct {
	// Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to true.
	AppendMeta pulumi.BoolPtrInput
	// Determines whether to automatically split a shard. Default to true.
	AutoSplit pulumi.BoolPtrInput
	// Determines whether to enable Web Tracking. Default false.
	EnableWebTracking pulumi.BoolPtrInput
	// The maximum number of shards for automatic split, which is in the range of 1 to 64. You must specify this parameter when autoSplit is true.
	MaxSplitShardCount pulumi.IntPtrInput
	// The log store, which is unique in the same project.
	Name pulumi.StringPtrInput
	// The project name to the log store belongs.
	Project pulumi.StringPtrInput
	// The data retention time (in days). Valid values: [1-3650]. Default to 30. Log store data will be stored permanently when the value is "3650".
	RetentionPeriod pulumi.IntPtrInput
	// The number of shards in this log store. Default to 2. You can modify it by "Split" or "Merge" operations. [Refer to details](https://www.alibabacloud.com/help/doc-detail/28976.htm)
	ShardCount pulumi.IntPtrInput
	Shards     StoreShardArrayInput
}

func (StoreState) ElementType

func (StoreState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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