log

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.1

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

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"`
	// Annotations for new alert.
	Annotations AlertAnnotationArrayOutput `pulumi:"annotations"`
	// whether to add automatic annotation, default is false.
	AutoAnnotation pulumi.BoolPtrOutput `pulumi:"autoAnnotation"`
	// Join condition.
	//
	// Deprecated: Deprecated from 1.161.0+, use eval_condition in severity_configurations
	Condition pulumi.StringPtrOutput `pulumi:"condition"`
	// Deprecated: Deprecated from 1.161.0+, use dashboardId in query_list
	Dashboard pulumi.StringPtrOutput `pulumi:"dashboard"`
	// Group configuration for new alert.
	GroupConfiguration AlertGroupConfigurationPtrOutput `pulumi:"groupConfiguration"`
	// Join configuration for different queries.
	JoinConfigurations AlertJoinConfigurationArrayOutput `pulumi:"joinConfigurations"`
	// Labels for new alert.
	Labels AlertLabelArrayOutput `pulumi:"labels"`
	// Timestamp, notifications before closing again.
	MuteUntil pulumi.IntOutput `pulumi:"muteUntil"`
	// Switch for whether new alert fires when no data happens, default is false.
	NoDataFire pulumi.BoolPtrOutput `pulumi:"noDataFire"`
	// when no data happens, the severity of new alert.
	NoDataSeverity pulumi.IntPtrOutput `pulumi:"noDataSeverity"`
	// Alarm information notification list, Deprecated from 1.161.0+.
	//
	// Deprecated: Deprecated from 1.161.0+, use policy_configuration for notification
	NotificationLists AlertNotificationListArrayOutput `pulumi:"notificationLists"`
	// Notification threshold, which is not notified until the number of triggers is reached. The default is 1, Deprecated from 1.161.0+.
	//
	// Deprecated: Deprecated from 1.161.0+, use threshold
	NotifyThreshold pulumi.IntPtrOutput `pulumi:"notifyThreshold"`
	// Policy configuration for new alert.
	PolicyConfiguration AlertPolicyConfigurationPtrOutput `pulumi:"policyConfiguration"`
	// The project name.
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
	// Multiple conditions for configured alarm query.
	QueryLists AlertQueryListArrayOutput `pulumi:"queryLists"`
	// schedule for alert.
	Schedule AlertSchedulePtrOutput `pulumi:"schedule"`
	// Execution interval. 60 seconds minimum, such as 60s, 1h. Deprecated from 1.176.0+. use interval in schedule.
	//
	// Deprecated: Field 'schedule_interval' has been deprecated from provider version 1.176.0. New field 'schedule' instead.
	ScheduleInterval pulumi.StringOutput `pulumi:"scheduleInterval"`
	// Default FixedRate. No need to configure this parameter. Deprecated from 1.176.0+. use type in schedule.
	//
	// Deprecated: Field 'schedule_type' has been deprecated from provider version 1.176.0. New field 'schedule' instead.
	ScheduleType pulumi.StringOutput `pulumi:"scheduleType"`
	// when new alert is resolved, whether to notify, default is false.
	SendResolved pulumi.BoolPtrOutput `pulumi:"sendResolved"`
	// Severity configuration for new alert.
	SeverityConfigurations AlertSeverityConfigurationArrayOutput `pulumi:"severityConfigurations"`
	// Evaluation threshold, alert will not fire until the number of triggers is reached. The default is 1.
	Threshold pulumi.IntOutput `pulumi:"threshold"`
	// Notification interval, default is no interval. Support number + unit type, for example 60s, 1h, Deprecated from 1.161.0+.
	//
	// Deprecated: Deprecated from 1.161.0+, use repeat_interval in policy_configuration
	Throttling pulumi.StringPtrOutput `pulumi:"throttling"`
	// including FixedRate,Hourly,Daily,Weekly,Cron.
	Type pulumi.StringPtrOutput `pulumi:"type"`
	// The version of alert, new alert is 2.0.
	Version pulumi.StringPtrOutput `pulumi:"version"`
}

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.

For information about SLS Alert and how to use it, see [SLS Alert Overview](https://www.alibabacloud.com/help/en/doc-detail/209202.html)

> **NOTE:** Available in 1.78.0

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/log"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/log"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := log.NewProject(ctx, "exampleProject", &log.ProjectArgs{
			Description: pulumi.String("create by terraform"),
		})
		if err != nil {
			return err
		}
		_, err = log.NewStore(ctx, "exampleStore", &log.StoreArgs{
			Project:            exampleProject.Name,
			RetentionPeriod:    pulumi.Int(3650),
			ShardCount:         pulumi.Int(3),
			AutoSplit:          pulumi.Bool(true),
			MaxSplitShardCount: pulumi.Int(60),
			AppendMeta:         pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = log.NewAlert(ctx, "exampleAlert", &log.AlertArgs{
			ProjectName:      exampleProject.Name,
			AlertName:        pulumi.String("tf-test-alert"),
			AlertDisplayname: pulumi.String("tf-test-alert-displayname"),
			Condition:        pulumi.String("count> 100"),
			Dashboard:        pulumi.String("tf-test-dashboard"),
			Schedule: &log.AlertScheduleArgs{
				Type:           pulumi.String("FixedRate"),
				Interval:       pulumi.String("5m"),
				Hour:           pulumi.Int(0),
				DayOfWeek:      pulumi.Int(0),
				Delay:          pulumi.Int(0),
				RunImmediately: pulumi.Bool(false),
			},
			QueryLists: log.AlertQueryListArray{
				&log.AlertQueryListArgs{
					Logstore:   pulumi.String("tf-test-logstore"),
					ChartTitle: pulumi.String("chart_title"),
					Start:      pulumi.String("-60s"),
					End:        pulumi.String("20s"),
					Query:      pulumi.String("* AND aliyun"),
				},
			},
			NotificationLists: log.AlertNotificationListArray{
				&log.AlertNotificationListArgs{
					Type: pulumi.String("SMS"),
					MobileLists: pulumi.StringArray{
						pulumi.String("12345678"),
						pulumi.String("87654321"),
					},
					Content: pulumi.String("alert content"),
				},
				&log.AlertNotificationListArgs{
					Type: pulumi.String("Email"),
					EmailLists: pulumi.StringArray{
						pulumi.String("aliyun@alibaba-inc.com"),
						pulumi.String("tf-test@123.com"),
					},
					Content: pulumi.String("alert content"),
				},
				&log.AlertNotificationListArgs{
					Type:       pulumi.String("DingTalk"),
					ServiceUri: pulumi.String("www.aliyun.com"),
					Content:    pulumi.String("alert content"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Basic Usage for new alert

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/log"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/log"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := log.NewProject(ctx, "exampleProject", &log.ProjectArgs{
			Description: pulumi.String("create by terraform"),
		})
		if err != nil {
			return err
		}
		_, err = log.NewStore(ctx, "exampleStore", &log.StoreArgs{
			Project:            exampleProject.Name,
			RetentionPeriod:    pulumi.Int(3650),
			ShardCount:         pulumi.Int(3),
			AutoSplit:          pulumi.Bool(true),
			MaxSplitShardCount: pulumi.Int(60),
			AppendMeta:         pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = log.NewAlert(ctx, "example-2", &log.AlertArgs{
			Version:          pulumi.String("2.0"),
			Type:             pulumi.String("default"),
			ProjectName:      exampleProject.Name,
			AlertName:        pulumi.String("tf-test-alert-2"),
			AlertDisplayname: pulumi.String("tf-test-alert-displayname-2"),
			Dashboard:        pulumi.String("tf-test-dashboard"),
			MuteUntil:        pulumi.Int(1632486684),
			NoDataFire:       pulumi.Bool(false),
			NoDataSeverity:   pulumi.Int(8),
			SendResolved:     pulumi.Bool(true),
			AutoAnnotation:   pulumi.Bool(true),
			Schedule: &log.AlertScheduleArgs{
				Type:           pulumi.String("FixedRate"),
				Interval:       pulumi.String("5m"),
				Hour:           pulumi.Int(0),
				DayOfWeek:      pulumi.Int(0),
				Delay:          pulumi.Int(0),
				RunImmediately: pulumi.Bool(false),
			},
			QueryLists: log.AlertQueryListArray{
				&log.AlertQueryListArgs{
					Store:        pulumi.String("tf-test-logstore"),
					StoreType:    pulumi.String("log"),
					Project:      exampleProject.Name,
					Region:       pulumi.String("cn-heyuan"),
					ChartTitle:   pulumi.String("chart_title"),
					Start:        pulumi.String("-60s"),
					End:          pulumi.String("20s"),
					Query:        pulumi.String("* AND aliyun | select count(1) as cnt"),
					PowerSqlMode: pulumi.String("auto"),
				},
				&log.AlertQueryListArgs{
					Store:        pulumi.String("tf-test-logstore"),
					StoreType:    pulumi.String("log"),
					Project:      exampleProject.Name,
					Region:       pulumi.String("cn-heyuan"),
					ChartTitle:   pulumi.String("chart_title"),
					Start:        pulumi.String("-60s"),
					End:          pulumi.String("20s"),
					Query:        pulumi.String("error | select count(1) as error_cnt"),
					PowerSqlMode: pulumi.String("enable"),
				},
			},
			Labels: log.AlertLabelArray{
				&log.AlertLabelArgs{
					Key:   pulumi.String("env"),
					Value: pulumi.String("test"),
				},
			},
			Annotations: log.AlertAnnotationArray{
				&log.AlertAnnotationArgs{
					Key:   pulumi.String("title"),
					Value: pulumi.String("alert title"),
				},
				&log.AlertAnnotationArgs{
					Key:   pulumi.String("desc"),
					Value: pulumi.String("alert desc"),
				},
				&log.AlertAnnotationArgs{
					Key:   pulumi.String("test_key"),
					Value: pulumi.String("test value"),
				},
			},
			GroupConfiguration: &log.AlertGroupConfigurationArgs{
				Type: pulumi.String("custom"),
				Fields: pulumi.StringArray{
					pulumi.String("cnt"),
				},
			},
			PolicyConfiguration: &log.AlertPolicyConfigurationArgs{
				AlertPolicyId:  pulumi.String("sls.bultin"),
				ActionPolicyId: pulumi.String("sls_test_action"),
				RepeatInterval: pulumi.String("4h"),
			},
			SeverityConfigurations: log.AlertSeverityConfigurationArray{
				&log.AlertSeverityConfigurationArgs{
					Severity: pulumi.Int(8),
					EvalCondition: pulumi.StringMap{
						"condition":       pulumi.String("cnt > 3"),
						"count_condition": pulumi.String("__count__ > 3"),
					},
				},
				&log.AlertSeverityConfigurationArgs{
					Severity: pulumi.Int(6),
					EvalCondition: pulumi.StringMap{
						"condition":       pulumi.String(""),
						"count_condition": pulumi.String("__count__ > 0"),
					},
				},
				&log.AlertSeverityConfigurationArgs{
					Severity: pulumi.Int(2),
					EvalCondition: pulumi.StringMap{
						"condition":       pulumi.String(""),
						"count_condition": pulumi.String(""),
					},
				},
			},
			JoinConfigurations: log.AlertJoinConfigurationArray{
				&log.AlertJoinConfigurationArgs{
					Type:      pulumi.String("cross_join"),
					Condition: pulumi.String(""),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Log alert can be imported using the id, e.g.

```sh

$ pulumi import alicloud:log/alert:Alert example tf-log:tf-log-alert

```

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.

func (*Alert) ElementType

func (*Alert) ElementType() reflect.Type

func (*Alert) ToAlertOutput

func (i *Alert) ToAlertOutput() AlertOutput

func (*Alert) ToAlertOutputWithContext

func (i *Alert) ToAlertOutputWithContext(ctx context.Context) AlertOutput

type AlertAnnotation

type AlertAnnotation struct {
	// Annotations's key for new alert.
	Key string `pulumi:"key"`
	// Annotations's value for new alert.
	Value string `pulumi:"value"`
}

type AlertAnnotationArgs

type AlertAnnotationArgs struct {
	// Annotations's key for new alert.
	Key pulumi.StringInput `pulumi:"key"`
	// Annotations's value for new alert.
	Value pulumi.StringInput `pulumi:"value"`
}

func (AlertAnnotationArgs) ElementType

func (AlertAnnotationArgs) ElementType() reflect.Type

func (AlertAnnotationArgs) ToAlertAnnotationOutput

func (i AlertAnnotationArgs) ToAlertAnnotationOutput() AlertAnnotationOutput

func (AlertAnnotationArgs) ToAlertAnnotationOutputWithContext

func (i AlertAnnotationArgs) ToAlertAnnotationOutputWithContext(ctx context.Context) AlertAnnotationOutput

type AlertAnnotationArray

type AlertAnnotationArray []AlertAnnotationInput

func (AlertAnnotationArray) ElementType

func (AlertAnnotationArray) ElementType() reflect.Type

func (AlertAnnotationArray) ToAlertAnnotationArrayOutput

func (i AlertAnnotationArray) ToAlertAnnotationArrayOutput() AlertAnnotationArrayOutput

func (AlertAnnotationArray) ToAlertAnnotationArrayOutputWithContext

func (i AlertAnnotationArray) ToAlertAnnotationArrayOutputWithContext(ctx context.Context) AlertAnnotationArrayOutput

type AlertAnnotationArrayInput

type AlertAnnotationArrayInput interface {
	pulumi.Input

	ToAlertAnnotationArrayOutput() AlertAnnotationArrayOutput
	ToAlertAnnotationArrayOutputWithContext(context.Context) AlertAnnotationArrayOutput
}

AlertAnnotationArrayInput is an input type that accepts AlertAnnotationArray and AlertAnnotationArrayOutput values. You can construct a concrete instance of `AlertAnnotationArrayInput` via:

AlertAnnotationArray{ AlertAnnotationArgs{...} }

type AlertAnnotationArrayOutput

type AlertAnnotationArrayOutput struct{ *pulumi.OutputState }

func (AlertAnnotationArrayOutput) ElementType

func (AlertAnnotationArrayOutput) ElementType() reflect.Type

func (AlertAnnotationArrayOutput) Index

func (AlertAnnotationArrayOutput) ToAlertAnnotationArrayOutput

func (o AlertAnnotationArrayOutput) ToAlertAnnotationArrayOutput() AlertAnnotationArrayOutput

func (AlertAnnotationArrayOutput) ToAlertAnnotationArrayOutputWithContext

func (o AlertAnnotationArrayOutput) ToAlertAnnotationArrayOutputWithContext(ctx context.Context) AlertAnnotationArrayOutput

type AlertAnnotationInput

type AlertAnnotationInput interface {
	pulumi.Input

	ToAlertAnnotationOutput() AlertAnnotationOutput
	ToAlertAnnotationOutputWithContext(context.Context) AlertAnnotationOutput
}

AlertAnnotationInput is an input type that accepts AlertAnnotationArgs and AlertAnnotationOutput values. You can construct a concrete instance of `AlertAnnotationInput` via:

AlertAnnotationArgs{...}

type AlertAnnotationOutput

type AlertAnnotationOutput struct{ *pulumi.OutputState }

func (AlertAnnotationOutput) ElementType

func (AlertAnnotationOutput) ElementType() reflect.Type

func (AlertAnnotationOutput) Key

Annotations's key for new alert.

func (AlertAnnotationOutput) ToAlertAnnotationOutput

func (o AlertAnnotationOutput) ToAlertAnnotationOutput() AlertAnnotationOutput

func (AlertAnnotationOutput) ToAlertAnnotationOutputWithContext

func (o AlertAnnotationOutput) ToAlertAnnotationOutputWithContext(ctx context.Context) AlertAnnotationOutput

func (AlertAnnotationOutput) Value

Annotations's value for new alert.

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
	// Annotations for new alert.
	Annotations AlertAnnotationArrayInput
	// whether to add automatic annotation, default is false.
	AutoAnnotation pulumi.BoolPtrInput
	// Join condition.
	//
	// Deprecated: Deprecated from 1.161.0+, use eval_condition in severity_configurations
	Condition pulumi.StringPtrInput
	// Deprecated: Deprecated from 1.161.0+, use dashboardId in query_list
	Dashboard pulumi.StringPtrInput
	// Group configuration for new alert.
	GroupConfiguration AlertGroupConfigurationPtrInput
	// Join configuration for different queries.
	JoinConfigurations AlertJoinConfigurationArrayInput
	// Labels for new alert.
	Labels AlertLabelArrayInput
	// Timestamp, notifications before closing again.
	MuteUntil pulumi.IntPtrInput
	// Switch for whether new alert fires when no data happens, default is false.
	NoDataFire pulumi.BoolPtrInput
	// when no data happens, the severity of new alert.
	NoDataSeverity pulumi.IntPtrInput
	// Alarm information notification list, Deprecated from 1.161.0+.
	//
	// Deprecated: Deprecated from 1.161.0+, use policy_configuration for notification
	NotificationLists AlertNotificationListArrayInput
	// Notification threshold, which is not notified until the number of triggers is reached. The default is 1, Deprecated from 1.161.0+.
	//
	// Deprecated: Deprecated from 1.161.0+, use threshold
	NotifyThreshold pulumi.IntPtrInput
	// Policy configuration for new alert.
	PolicyConfiguration AlertPolicyConfigurationPtrInput
	// The project name.
	ProjectName pulumi.StringInput
	// Multiple conditions for configured alarm query.
	QueryLists AlertQueryListArrayInput
	// schedule for alert.
	Schedule AlertSchedulePtrInput
	// Execution interval. 60 seconds minimum, such as 60s, 1h. Deprecated from 1.176.0+. use interval in schedule.
	//
	// Deprecated: Field 'schedule_interval' has been deprecated from provider version 1.176.0. New field 'schedule' instead.
	ScheduleInterval pulumi.StringPtrInput
	// Default FixedRate. No need to configure this parameter. Deprecated from 1.176.0+. use type in schedule.
	//
	// Deprecated: Field 'schedule_type' has been deprecated from provider version 1.176.0. New field 'schedule' instead.
	ScheduleType pulumi.StringPtrInput
	// when new alert is resolved, whether to notify, default is false.
	SendResolved pulumi.BoolPtrInput
	// Severity configuration for new alert.
	SeverityConfigurations AlertSeverityConfigurationArrayInput
	// Evaluation threshold, alert will not fire until the number of triggers is reached. The default is 1.
	Threshold pulumi.IntPtrInput
	// Notification interval, default is no interval. Support number + unit type, for example 60s, 1h, Deprecated from 1.161.0+.
	//
	// Deprecated: Deprecated from 1.161.0+, use repeat_interval in policy_configuration
	Throttling pulumi.StringPtrInput
	// including FixedRate,Hourly,Daily,Weekly,Cron.
	Type pulumi.StringPtrInput
	// The version of alert, new alert is 2.0.
	Version pulumi.StringPtrInput
}

The set of arguments for constructing a Alert resource.

func (AlertArgs) ElementType

func (AlertArgs) ElementType() reflect.Type

type AlertArray

type AlertArray []AlertInput

func (AlertArray) ElementType

func (AlertArray) ElementType() reflect.Type

func (AlertArray) ToAlertArrayOutput

func (i AlertArray) ToAlertArrayOutput() AlertArrayOutput

func (AlertArray) ToAlertArrayOutputWithContext

func (i AlertArray) ToAlertArrayOutputWithContext(ctx context.Context) AlertArrayOutput

type AlertArrayInput

type AlertArrayInput interface {
	pulumi.Input

	ToAlertArrayOutput() AlertArrayOutput
	ToAlertArrayOutputWithContext(context.Context) AlertArrayOutput
}

AlertArrayInput is an input type that accepts AlertArray and AlertArrayOutput values. You can construct a concrete instance of `AlertArrayInput` via:

AlertArray{ AlertArgs{...} }

type AlertArrayOutput

type AlertArrayOutput struct{ *pulumi.OutputState }

func (AlertArrayOutput) ElementType

func (AlertArrayOutput) ElementType() reflect.Type

func (AlertArrayOutput) Index

func (AlertArrayOutput) ToAlertArrayOutput

func (o AlertArrayOutput) ToAlertArrayOutput() AlertArrayOutput

func (AlertArrayOutput) ToAlertArrayOutputWithContext

func (o AlertArrayOutput) ToAlertArrayOutputWithContext(ctx context.Context) AlertArrayOutput

type AlertGroupConfiguration

type AlertGroupConfiguration struct {
	Fields []string `pulumi:"fields"`
	// including FixedRate,Hourly,Daily,Weekly,Cron.
	Type string `pulumi:"type"`
}

type AlertGroupConfigurationArgs

type AlertGroupConfigurationArgs struct {
	Fields pulumi.StringArrayInput `pulumi:"fields"`
	// including FixedRate,Hourly,Daily,Weekly,Cron.
	Type pulumi.StringInput `pulumi:"type"`
}

func (AlertGroupConfigurationArgs) ElementType

func (AlertGroupConfigurationArgs) ToAlertGroupConfigurationOutput

func (i AlertGroupConfigurationArgs) ToAlertGroupConfigurationOutput() AlertGroupConfigurationOutput

func (AlertGroupConfigurationArgs) ToAlertGroupConfigurationOutputWithContext

func (i AlertGroupConfigurationArgs) ToAlertGroupConfigurationOutputWithContext(ctx context.Context) AlertGroupConfigurationOutput

func (AlertGroupConfigurationArgs) ToAlertGroupConfigurationPtrOutput

func (i AlertGroupConfigurationArgs) ToAlertGroupConfigurationPtrOutput() AlertGroupConfigurationPtrOutput

func (AlertGroupConfigurationArgs) ToAlertGroupConfigurationPtrOutputWithContext

func (i AlertGroupConfigurationArgs) ToAlertGroupConfigurationPtrOutputWithContext(ctx context.Context) AlertGroupConfigurationPtrOutput

type AlertGroupConfigurationInput

type AlertGroupConfigurationInput interface {
	pulumi.Input

	ToAlertGroupConfigurationOutput() AlertGroupConfigurationOutput
	ToAlertGroupConfigurationOutputWithContext(context.Context) AlertGroupConfigurationOutput
}

AlertGroupConfigurationInput is an input type that accepts AlertGroupConfigurationArgs and AlertGroupConfigurationOutput values. You can construct a concrete instance of `AlertGroupConfigurationInput` via:

AlertGroupConfigurationArgs{...}

type AlertGroupConfigurationOutput

type AlertGroupConfigurationOutput struct{ *pulumi.OutputState }

func (AlertGroupConfigurationOutput) ElementType

func (AlertGroupConfigurationOutput) Fields

func (AlertGroupConfigurationOutput) ToAlertGroupConfigurationOutput

func (o AlertGroupConfigurationOutput) ToAlertGroupConfigurationOutput() AlertGroupConfigurationOutput

func (AlertGroupConfigurationOutput) ToAlertGroupConfigurationOutputWithContext

func (o AlertGroupConfigurationOutput) ToAlertGroupConfigurationOutputWithContext(ctx context.Context) AlertGroupConfigurationOutput

func (AlertGroupConfigurationOutput) ToAlertGroupConfigurationPtrOutput

func (o AlertGroupConfigurationOutput) ToAlertGroupConfigurationPtrOutput() AlertGroupConfigurationPtrOutput

func (AlertGroupConfigurationOutput) ToAlertGroupConfigurationPtrOutputWithContext

func (o AlertGroupConfigurationOutput) ToAlertGroupConfigurationPtrOutputWithContext(ctx context.Context) AlertGroupConfigurationPtrOutput

func (AlertGroupConfigurationOutput) Type

including FixedRate,Hourly,Daily,Weekly,Cron.

type AlertGroupConfigurationPtrInput

type AlertGroupConfigurationPtrInput interface {
	pulumi.Input

	ToAlertGroupConfigurationPtrOutput() AlertGroupConfigurationPtrOutput
	ToAlertGroupConfigurationPtrOutputWithContext(context.Context) AlertGroupConfigurationPtrOutput
}

AlertGroupConfigurationPtrInput is an input type that accepts AlertGroupConfigurationArgs, AlertGroupConfigurationPtr and AlertGroupConfigurationPtrOutput values. You can construct a concrete instance of `AlertGroupConfigurationPtrInput` via:

        AlertGroupConfigurationArgs{...}

or:

        nil

type AlertGroupConfigurationPtrOutput

type AlertGroupConfigurationPtrOutput struct{ *pulumi.OutputState }

func (AlertGroupConfigurationPtrOutput) Elem

func (AlertGroupConfigurationPtrOutput) ElementType

func (AlertGroupConfigurationPtrOutput) Fields

func (AlertGroupConfigurationPtrOutput) ToAlertGroupConfigurationPtrOutput

func (o AlertGroupConfigurationPtrOutput) ToAlertGroupConfigurationPtrOutput() AlertGroupConfigurationPtrOutput

func (AlertGroupConfigurationPtrOutput) ToAlertGroupConfigurationPtrOutputWithContext

func (o AlertGroupConfigurationPtrOutput) ToAlertGroupConfigurationPtrOutputWithContext(ctx context.Context) AlertGroupConfigurationPtrOutput

func (AlertGroupConfigurationPtrOutput) Type

including FixedRate,Hourly,Daily,Weekly,Cron.

type AlertInput

type AlertInput interface {
	pulumi.Input

	ToAlertOutput() AlertOutput
	ToAlertOutputWithContext(ctx context.Context) AlertOutput
}

type AlertJoinConfiguration

type AlertJoinConfiguration struct {
	// Join condition.
	Condition string `pulumi:"condition"`
	// including FixedRate,Hourly,Daily,Weekly,Cron.
	Type string `pulumi:"type"`
}

type AlertJoinConfigurationArgs

type AlertJoinConfigurationArgs struct {
	// Join condition.
	Condition pulumi.StringInput `pulumi:"condition"`
	// including FixedRate,Hourly,Daily,Weekly,Cron.
	Type pulumi.StringInput `pulumi:"type"`
}

func (AlertJoinConfigurationArgs) ElementType

func (AlertJoinConfigurationArgs) ElementType() reflect.Type

func (AlertJoinConfigurationArgs) ToAlertJoinConfigurationOutput

func (i AlertJoinConfigurationArgs) ToAlertJoinConfigurationOutput() AlertJoinConfigurationOutput

func (AlertJoinConfigurationArgs) ToAlertJoinConfigurationOutputWithContext

func (i AlertJoinConfigurationArgs) ToAlertJoinConfigurationOutputWithContext(ctx context.Context) AlertJoinConfigurationOutput

type AlertJoinConfigurationArray

type AlertJoinConfigurationArray []AlertJoinConfigurationInput

func (AlertJoinConfigurationArray) ElementType

func (AlertJoinConfigurationArray) ToAlertJoinConfigurationArrayOutput

func (i AlertJoinConfigurationArray) ToAlertJoinConfigurationArrayOutput() AlertJoinConfigurationArrayOutput

func (AlertJoinConfigurationArray) ToAlertJoinConfigurationArrayOutputWithContext

func (i AlertJoinConfigurationArray) ToAlertJoinConfigurationArrayOutputWithContext(ctx context.Context) AlertJoinConfigurationArrayOutput

type AlertJoinConfigurationArrayInput

type AlertJoinConfigurationArrayInput interface {
	pulumi.Input

	ToAlertJoinConfigurationArrayOutput() AlertJoinConfigurationArrayOutput
	ToAlertJoinConfigurationArrayOutputWithContext(context.Context) AlertJoinConfigurationArrayOutput
}

AlertJoinConfigurationArrayInput is an input type that accepts AlertJoinConfigurationArray and AlertJoinConfigurationArrayOutput values. You can construct a concrete instance of `AlertJoinConfigurationArrayInput` via:

AlertJoinConfigurationArray{ AlertJoinConfigurationArgs{...} }

type AlertJoinConfigurationArrayOutput

type AlertJoinConfigurationArrayOutput struct{ *pulumi.OutputState }

func (AlertJoinConfigurationArrayOutput) ElementType

func (AlertJoinConfigurationArrayOutput) Index

func (AlertJoinConfigurationArrayOutput) ToAlertJoinConfigurationArrayOutput

func (o AlertJoinConfigurationArrayOutput) ToAlertJoinConfigurationArrayOutput() AlertJoinConfigurationArrayOutput

func (AlertJoinConfigurationArrayOutput) ToAlertJoinConfigurationArrayOutputWithContext

func (o AlertJoinConfigurationArrayOutput) ToAlertJoinConfigurationArrayOutputWithContext(ctx context.Context) AlertJoinConfigurationArrayOutput

type AlertJoinConfigurationInput

type AlertJoinConfigurationInput interface {
	pulumi.Input

	ToAlertJoinConfigurationOutput() AlertJoinConfigurationOutput
	ToAlertJoinConfigurationOutputWithContext(context.Context) AlertJoinConfigurationOutput
}

AlertJoinConfigurationInput is an input type that accepts AlertJoinConfigurationArgs and AlertJoinConfigurationOutput values. You can construct a concrete instance of `AlertJoinConfigurationInput` via:

AlertJoinConfigurationArgs{...}

type AlertJoinConfigurationOutput

type AlertJoinConfigurationOutput struct{ *pulumi.OutputState }

func (AlertJoinConfigurationOutput) Condition

Join condition.

func (AlertJoinConfigurationOutput) ElementType

func (AlertJoinConfigurationOutput) ToAlertJoinConfigurationOutput

func (o AlertJoinConfigurationOutput) ToAlertJoinConfigurationOutput() AlertJoinConfigurationOutput

func (AlertJoinConfigurationOutput) ToAlertJoinConfigurationOutputWithContext

func (o AlertJoinConfigurationOutput) ToAlertJoinConfigurationOutputWithContext(ctx context.Context) AlertJoinConfigurationOutput

func (AlertJoinConfigurationOutput) Type

including FixedRate,Hourly,Daily,Weekly,Cron.

type AlertLabel

type AlertLabel struct {
	// Annotations's key for new alert.
	Key string `pulumi:"key"`
	// Annotations's value for new alert.
	Value string `pulumi:"value"`
}

type AlertLabelArgs

type AlertLabelArgs struct {
	// Annotations's key for new alert.
	Key pulumi.StringInput `pulumi:"key"`
	// Annotations's value for new alert.
	Value pulumi.StringInput `pulumi:"value"`
}

func (AlertLabelArgs) ElementType

func (AlertLabelArgs) ElementType() reflect.Type

func (AlertLabelArgs) ToAlertLabelOutput

func (i AlertLabelArgs) ToAlertLabelOutput() AlertLabelOutput

func (AlertLabelArgs) ToAlertLabelOutputWithContext

func (i AlertLabelArgs) ToAlertLabelOutputWithContext(ctx context.Context) AlertLabelOutput

type AlertLabelArray

type AlertLabelArray []AlertLabelInput

func (AlertLabelArray) ElementType

func (AlertLabelArray) ElementType() reflect.Type

func (AlertLabelArray) ToAlertLabelArrayOutput

func (i AlertLabelArray) ToAlertLabelArrayOutput() AlertLabelArrayOutput

func (AlertLabelArray) ToAlertLabelArrayOutputWithContext

func (i AlertLabelArray) ToAlertLabelArrayOutputWithContext(ctx context.Context) AlertLabelArrayOutput

type AlertLabelArrayInput

type AlertLabelArrayInput interface {
	pulumi.Input

	ToAlertLabelArrayOutput() AlertLabelArrayOutput
	ToAlertLabelArrayOutputWithContext(context.Context) AlertLabelArrayOutput
}

AlertLabelArrayInput is an input type that accepts AlertLabelArray and AlertLabelArrayOutput values. You can construct a concrete instance of `AlertLabelArrayInput` via:

AlertLabelArray{ AlertLabelArgs{...} }

type AlertLabelArrayOutput

type AlertLabelArrayOutput struct{ *pulumi.OutputState }

func (AlertLabelArrayOutput) ElementType

func (AlertLabelArrayOutput) ElementType() reflect.Type

func (AlertLabelArrayOutput) Index

func (AlertLabelArrayOutput) ToAlertLabelArrayOutput

func (o AlertLabelArrayOutput) ToAlertLabelArrayOutput() AlertLabelArrayOutput

func (AlertLabelArrayOutput) ToAlertLabelArrayOutputWithContext

func (o AlertLabelArrayOutput) ToAlertLabelArrayOutputWithContext(ctx context.Context) AlertLabelArrayOutput

type AlertLabelInput

type AlertLabelInput interface {
	pulumi.Input

	ToAlertLabelOutput() AlertLabelOutput
	ToAlertLabelOutputWithContext(context.Context) AlertLabelOutput
}

AlertLabelInput is an input type that accepts AlertLabelArgs and AlertLabelOutput values. You can construct a concrete instance of `AlertLabelInput` via:

AlertLabelArgs{...}

type AlertLabelOutput

type AlertLabelOutput struct{ *pulumi.OutputState }

func (AlertLabelOutput) ElementType

func (AlertLabelOutput) ElementType() reflect.Type

func (AlertLabelOutput) Key

Annotations's key for new alert.

func (AlertLabelOutput) ToAlertLabelOutput

func (o AlertLabelOutput) ToAlertLabelOutput() AlertLabelOutput

func (AlertLabelOutput) ToAlertLabelOutputWithContext

func (o AlertLabelOutput) ToAlertLabelOutputWithContext(ctx context.Context) AlertLabelOutput

func (AlertLabelOutput) Value

Annotations's value for new alert.

type AlertMap

type AlertMap map[string]AlertInput

func (AlertMap) ElementType

func (AlertMap) ElementType() reflect.Type

func (AlertMap) ToAlertMapOutput

func (i AlertMap) ToAlertMapOutput() AlertMapOutput

func (AlertMap) ToAlertMapOutputWithContext

func (i AlertMap) ToAlertMapOutputWithContext(ctx context.Context) AlertMapOutput

type AlertMapInput

type AlertMapInput interface {
	pulumi.Input

	ToAlertMapOutput() AlertMapOutput
	ToAlertMapOutputWithContext(context.Context) AlertMapOutput
}

AlertMapInput is an input type that accepts AlertMap and AlertMapOutput values. You can construct a concrete instance of `AlertMapInput` via:

AlertMap{ "key": AlertArgs{...} }

type AlertMapOutput

type AlertMapOutput struct{ *pulumi.OutputState }

func (AlertMapOutput) ElementType

func (AlertMapOutput) ElementType() reflect.Type

func (AlertMapOutput) MapIndex

func (AlertMapOutput) ToAlertMapOutput

func (o AlertMapOutput) ToAlertMapOutput() AlertMapOutput

func (AlertMapOutput) ToAlertMapOutputWithContext

func (o AlertMapOutput) ToAlertMapOutputWithContext(ctx context.Context) AlertMapOutput

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"`
	// including FixedRate,Hourly,Daily,Weekly,Cron.
	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"`
	// including FixedRate,Hourly,Daily,Weekly,Cron.
	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

including FixedRate,Hourly,Daily,Weekly,Cron.

type AlertOutput

type AlertOutput struct{ *pulumi.OutputState }

func (AlertOutput) AlertDescription

func (o AlertOutput) AlertDescription() pulumi.StringPtrOutput

Alert description.

func (AlertOutput) AlertDisplayname

func (o AlertOutput) AlertDisplayname() pulumi.StringOutput

Alert displayname.

func (AlertOutput) AlertName

func (o AlertOutput) AlertName() pulumi.StringOutput

Name of logstore for configuring alarm service.

func (AlertOutput) Annotations

func (o AlertOutput) Annotations() AlertAnnotationArrayOutput

Annotations for new alert.

func (AlertOutput) AutoAnnotation

func (o AlertOutput) AutoAnnotation() pulumi.BoolPtrOutput

whether to add automatic annotation, default is false.

func (AlertOutput) Condition deprecated

func (o AlertOutput) Condition() pulumi.StringPtrOutput

Join condition.

Deprecated: Deprecated from 1.161.0+, use eval_condition in severity_configurations

func (AlertOutput) Dashboard deprecated

func (o AlertOutput) Dashboard() pulumi.StringPtrOutput

Deprecated: Deprecated from 1.161.0+, use dashboardId in query_list

func (AlertOutput) ElementType

func (AlertOutput) ElementType() reflect.Type

func (AlertOutput) GroupConfiguration

func (o AlertOutput) GroupConfiguration() AlertGroupConfigurationPtrOutput

Group configuration for new alert.

func (AlertOutput) JoinConfigurations

func (o AlertOutput) JoinConfigurations() AlertJoinConfigurationArrayOutput

Join configuration for different queries.

func (AlertOutput) Labels

Labels for new alert.

func (AlertOutput) MuteUntil

func (o AlertOutput) MuteUntil() pulumi.IntOutput

Timestamp, notifications before closing again.

func (AlertOutput) NoDataFire

func (o AlertOutput) NoDataFire() pulumi.BoolPtrOutput

Switch for whether new alert fires when no data happens, default is false.

func (AlertOutput) NoDataSeverity

func (o AlertOutput) NoDataSeverity() pulumi.IntPtrOutput

when no data happens, the severity of new alert.

func (AlertOutput) NotificationLists deprecated

func (o AlertOutput) NotificationLists() AlertNotificationListArrayOutput

Alarm information notification list, Deprecated from 1.161.0+.

Deprecated: Deprecated from 1.161.0+, use policy_configuration for notification

func (AlertOutput) NotifyThreshold deprecated

func (o AlertOutput) NotifyThreshold() pulumi.IntPtrOutput

Notification threshold, which is not notified until the number of triggers is reached. The default is 1, Deprecated from 1.161.0+.

Deprecated: Deprecated from 1.161.0+, use threshold

func (AlertOutput) PolicyConfiguration

func (o AlertOutput) PolicyConfiguration() AlertPolicyConfigurationPtrOutput

Policy configuration for new alert.

func (AlertOutput) ProjectName

func (o AlertOutput) ProjectName() pulumi.StringOutput

The project name.

func (AlertOutput) QueryLists

func (o AlertOutput) QueryLists() AlertQueryListArrayOutput

Multiple conditions for configured alarm query.

func (AlertOutput) Schedule

func (o AlertOutput) Schedule() AlertSchedulePtrOutput

schedule for alert.

func (AlertOutput) ScheduleInterval deprecated

func (o AlertOutput) ScheduleInterval() pulumi.StringOutput

Execution interval. 60 seconds minimum, such as 60s, 1h. Deprecated from 1.176.0+. use interval in schedule.

Deprecated: Field 'schedule_interval' has been deprecated from provider version 1.176.0. New field 'schedule' instead.

func (AlertOutput) ScheduleType deprecated

func (o AlertOutput) ScheduleType() pulumi.StringOutput

Default FixedRate. No need to configure this parameter. Deprecated from 1.176.0+. use type in schedule.

Deprecated: Field 'schedule_type' has been deprecated from provider version 1.176.0. New field 'schedule' instead.

func (AlertOutput) SendResolved

func (o AlertOutput) SendResolved() pulumi.BoolPtrOutput

when new alert is resolved, whether to notify, default is false.

func (AlertOutput) SeverityConfigurations

func (o AlertOutput) SeverityConfigurations() AlertSeverityConfigurationArrayOutput

Severity configuration for new alert.

func (AlertOutput) Threshold

func (o AlertOutput) Threshold() pulumi.IntOutput

Evaluation threshold, alert will not fire until the number of triggers is reached. The default is 1.

func (AlertOutput) Throttling deprecated

func (o AlertOutput) Throttling() pulumi.StringPtrOutput

Notification interval, default is no interval. Support number + unit type, for example 60s, 1h, Deprecated from 1.161.0+.

Deprecated: Deprecated from 1.161.0+, use repeat_interval in policy_configuration

func (AlertOutput) ToAlertOutput

func (o AlertOutput) ToAlertOutput() AlertOutput

func (AlertOutput) ToAlertOutputWithContext

func (o AlertOutput) ToAlertOutputWithContext(ctx context.Context) AlertOutput

func (AlertOutput) Type

including FixedRate,Hourly,Daily,Weekly,Cron.

func (AlertOutput) Version

func (o AlertOutput) Version() pulumi.StringPtrOutput

The version of alert, new alert is 2.0.

type AlertPolicyConfiguration

type AlertPolicyConfiguration struct {
	// Action Policy Id.
	ActionPolicyId *string `pulumi:"actionPolicyId"`
	// Alert Policy Id.
	AlertPolicyId string `pulumi:"alertPolicyId"`
	// Repeat interval used by alert policy, 1h, 1m.e.g.
	RepeatInterval string `pulumi:"repeatInterval"`
}

type AlertPolicyConfigurationArgs

type AlertPolicyConfigurationArgs struct {
	// Action Policy Id.
	ActionPolicyId pulumi.StringPtrInput `pulumi:"actionPolicyId"`
	// Alert Policy Id.
	AlertPolicyId pulumi.StringInput `pulumi:"alertPolicyId"`
	// Repeat interval used by alert policy, 1h, 1m.e.g.
	RepeatInterval pulumi.StringInput `pulumi:"repeatInterval"`
}

func (AlertPolicyConfigurationArgs) ElementType

func (AlertPolicyConfigurationArgs) ToAlertPolicyConfigurationOutput

func (i AlertPolicyConfigurationArgs) ToAlertPolicyConfigurationOutput() AlertPolicyConfigurationOutput

func (AlertPolicyConfigurationArgs) ToAlertPolicyConfigurationOutputWithContext

func (i AlertPolicyConfigurationArgs) ToAlertPolicyConfigurationOutputWithContext(ctx context.Context) AlertPolicyConfigurationOutput

func (AlertPolicyConfigurationArgs) ToAlertPolicyConfigurationPtrOutput

func (i AlertPolicyConfigurationArgs) ToAlertPolicyConfigurationPtrOutput() AlertPolicyConfigurationPtrOutput

func (AlertPolicyConfigurationArgs) ToAlertPolicyConfigurationPtrOutputWithContext

func (i AlertPolicyConfigurationArgs) ToAlertPolicyConfigurationPtrOutputWithContext(ctx context.Context) AlertPolicyConfigurationPtrOutput

type AlertPolicyConfigurationInput

type AlertPolicyConfigurationInput interface {
	pulumi.Input

	ToAlertPolicyConfigurationOutput() AlertPolicyConfigurationOutput
	ToAlertPolicyConfigurationOutputWithContext(context.Context) AlertPolicyConfigurationOutput
}

AlertPolicyConfigurationInput is an input type that accepts AlertPolicyConfigurationArgs and AlertPolicyConfigurationOutput values. You can construct a concrete instance of `AlertPolicyConfigurationInput` via:

AlertPolicyConfigurationArgs{...}

type AlertPolicyConfigurationOutput

type AlertPolicyConfigurationOutput struct{ *pulumi.OutputState }

func (AlertPolicyConfigurationOutput) ActionPolicyId

Action Policy Id.

func (AlertPolicyConfigurationOutput) AlertPolicyId

Alert Policy Id.

func (AlertPolicyConfigurationOutput) ElementType

func (AlertPolicyConfigurationOutput) RepeatInterval

Repeat interval used by alert policy, 1h, 1m.e.g.

func (AlertPolicyConfigurationOutput) ToAlertPolicyConfigurationOutput

func (o AlertPolicyConfigurationOutput) ToAlertPolicyConfigurationOutput() AlertPolicyConfigurationOutput

func (AlertPolicyConfigurationOutput) ToAlertPolicyConfigurationOutputWithContext

func (o AlertPolicyConfigurationOutput) ToAlertPolicyConfigurationOutputWithContext(ctx context.Context) AlertPolicyConfigurationOutput

func (AlertPolicyConfigurationOutput) ToAlertPolicyConfigurationPtrOutput

func (o AlertPolicyConfigurationOutput) ToAlertPolicyConfigurationPtrOutput() AlertPolicyConfigurationPtrOutput

func (AlertPolicyConfigurationOutput) ToAlertPolicyConfigurationPtrOutputWithContext

func (o AlertPolicyConfigurationOutput) ToAlertPolicyConfigurationPtrOutputWithContext(ctx context.Context) AlertPolicyConfigurationPtrOutput

type AlertPolicyConfigurationPtrInput

type AlertPolicyConfigurationPtrInput interface {
	pulumi.Input

	ToAlertPolicyConfigurationPtrOutput() AlertPolicyConfigurationPtrOutput
	ToAlertPolicyConfigurationPtrOutputWithContext(context.Context) AlertPolicyConfigurationPtrOutput
}

AlertPolicyConfigurationPtrInput is an input type that accepts AlertPolicyConfigurationArgs, AlertPolicyConfigurationPtr and AlertPolicyConfigurationPtrOutput values. You can construct a concrete instance of `AlertPolicyConfigurationPtrInput` via:

        AlertPolicyConfigurationArgs{...}

or:

        nil

type AlertPolicyConfigurationPtrOutput

type AlertPolicyConfigurationPtrOutput struct{ *pulumi.OutputState }

func (AlertPolicyConfigurationPtrOutput) ActionPolicyId

Action Policy Id.

func (AlertPolicyConfigurationPtrOutput) AlertPolicyId

Alert Policy Id.

func (AlertPolicyConfigurationPtrOutput) Elem

func (AlertPolicyConfigurationPtrOutput) ElementType

func (AlertPolicyConfigurationPtrOutput) RepeatInterval

Repeat interval used by alert policy, 1h, 1m.e.g.

func (AlertPolicyConfigurationPtrOutput) ToAlertPolicyConfigurationPtrOutput

func (o AlertPolicyConfigurationPtrOutput) ToAlertPolicyConfigurationPtrOutput() AlertPolicyConfigurationPtrOutput

func (AlertPolicyConfigurationPtrOutput) ToAlertPolicyConfigurationPtrOutputWithContext

func (o AlertPolicyConfigurationPtrOutput) ToAlertPolicyConfigurationPtrOutputWithContext(ctx context.Context) AlertPolicyConfigurationPtrOutput

type AlertQueryList

type AlertQueryList struct {
	// Chart title, optional from 1.161.0+.
	ChartTitle *string `pulumi:"chartTitle"`
	// Query dashboard id.
	DashboardId *string `pulumi:"dashboardId"`
	// End time. example: 20s.
	End string `pulumi:"end"`
	// Query logstore, use store for new alert, Deprecated from 1.161.0+.
	//
	// Deprecated: Deprecated from 1.161.0+, use store
	Logstore *string `pulumi:"logstore"`
	// default disable, whether to use power sql. support auto, enable, disable.
	PowerSqlMode *string `pulumi:"powerSqlMode"`
	// Query project.
	Project *string `pulumi:"project"`
	// Query corresponding to chart. example: * AND aliyun.
	Query string `pulumi:"query"`
	// Query project region.
	Region *string `pulumi:"region"`
	// Query project store's ARN.
	RoleArn *string `pulumi:"roleArn"`
	// Begin time. example: -60s.
	Start string `pulumi:"start"`
	// Query store for new alert.
	Store *string `pulumi:"store"`
	// Query store type for new alert, including log,metric,meta.
	StoreType *string `pulumi:"storeType"`
	// default Custom. No need to configure this parameter.
	TimeSpanType *string `pulumi:"timeSpanType"`
}

type AlertQueryListArgs

type AlertQueryListArgs struct {
	// Chart title, optional from 1.161.0+.
	ChartTitle pulumi.StringPtrInput `pulumi:"chartTitle"`
	// Query dashboard id.
	DashboardId pulumi.StringPtrInput `pulumi:"dashboardId"`
	// End time. example: 20s.
	End pulumi.StringInput `pulumi:"end"`
	// Query logstore, use store for new alert, Deprecated from 1.161.0+.
	//
	// Deprecated: Deprecated from 1.161.0+, use store
	Logstore pulumi.StringPtrInput `pulumi:"logstore"`
	// default disable, whether to use power sql. support auto, enable, disable.
	PowerSqlMode pulumi.StringPtrInput `pulumi:"powerSqlMode"`
	// Query project.
	Project pulumi.StringPtrInput `pulumi:"project"`
	// Query corresponding to chart. example: * AND aliyun.
	Query pulumi.StringInput `pulumi:"query"`
	// Query project region.
	Region pulumi.StringPtrInput `pulumi:"region"`
	// Query project store's ARN.
	RoleArn pulumi.StringPtrInput `pulumi:"roleArn"`
	// Begin time. example: -60s.
	Start pulumi.StringInput `pulumi:"start"`
	// Query store for new alert.
	Store pulumi.StringPtrInput `pulumi:"store"`
	// Query store type for new alert, including log,metric,meta.
	StoreType pulumi.StringPtrInput `pulumi:"storeType"`
	// 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

Chart title, optional from 1.161.0+.

func (AlertQueryListOutput) DashboardId

Query dashboard id.

func (AlertQueryListOutput) ElementType

func (AlertQueryListOutput) ElementType() reflect.Type

func (AlertQueryListOutput) End

End time. example: 20s.

func (AlertQueryListOutput) Logstore deprecated

Query logstore, use store for new alert, Deprecated from 1.161.0+.

Deprecated: Deprecated from 1.161.0+, use store

func (AlertQueryListOutput) PowerSqlMode

func (o AlertQueryListOutput) PowerSqlMode() pulumi.StringPtrOutput

default disable, whether to use power sql. support auto, enable, disable.

func (AlertQueryListOutput) Project

Query project.

func (AlertQueryListOutput) Query

Query corresponding to chart. example: * AND aliyun.

func (AlertQueryListOutput) Region

Query project region.

func (AlertQueryListOutput) RoleArn

Query project store's ARN.

func (AlertQueryListOutput) Start

Begin time. example: -60s.

func (AlertQueryListOutput) Store

Query store for new alert.

func (AlertQueryListOutput) StoreType

Query store type for new alert, including log,metric,meta.

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 AlertSchedule

type AlertSchedule struct {
	// Cron expression when type is Cron.
	CronExpression *string `pulumi:"cronExpression"`
	// Day of week when type is Weekly, including 0,1,2,3,4,5,6, 0 for Sunday, 1 for Monday
	DayOfWeek *int `pulumi:"dayOfWeek"`
	Delay     *int `pulumi:"delay"`
	// Hour of day when type is Weekly/Daily.
	Hour *int `pulumi:"hour"`
	// Execution interval. 60 seconds minimum, such as 60s, 1h. used when type is FixedRate.
	Interval       *string `pulumi:"interval"`
	RunImmediately *bool   `pulumi:"runImmediately"`
	// Time zone for schedule.
	TimeZone *string `pulumi:"timeZone"`
	// including FixedRate,Hourly,Daily,Weekly,Cron.
	Type string `pulumi:"type"`
}

type AlertScheduleArgs

type AlertScheduleArgs struct {
	// Cron expression when type is Cron.
	CronExpression pulumi.StringPtrInput `pulumi:"cronExpression"`
	// Day of week when type is Weekly, including 0,1,2,3,4,5,6, 0 for Sunday, 1 for Monday
	DayOfWeek pulumi.IntPtrInput `pulumi:"dayOfWeek"`
	Delay     pulumi.IntPtrInput `pulumi:"delay"`
	// Hour of day when type is Weekly/Daily.
	Hour pulumi.IntPtrInput `pulumi:"hour"`
	// Execution interval. 60 seconds minimum, such as 60s, 1h. used when type is FixedRate.
	Interval       pulumi.StringPtrInput `pulumi:"interval"`
	RunImmediately pulumi.BoolPtrInput   `pulumi:"runImmediately"`
	// Time zone for schedule.
	TimeZone pulumi.StringPtrInput `pulumi:"timeZone"`
	// including FixedRate,Hourly,Daily,Weekly,Cron.
	Type pulumi.StringInput `pulumi:"type"`
}

func (AlertScheduleArgs) ElementType

func (AlertScheduleArgs) ElementType() reflect.Type

func (AlertScheduleArgs) ToAlertScheduleOutput

func (i AlertScheduleArgs) ToAlertScheduleOutput() AlertScheduleOutput

func (AlertScheduleArgs) ToAlertScheduleOutputWithContext

func (i AlertScheduleArgs) ToAlertScheduleOutputWithContext(ctx context.Context) AlertScheduleOutput

func (AlertScheduleArgs) ToAlertSchedulePtrOutput

func (i AlertScheduleArgs) ToAlertSchedulePtrOutput() AlertSchedulePtrOutput

func (AlertScheduleArgs) ToAlertSchedulePtrOutputWithContext

func (i AlertScheduleArgs) ToAlertSchedulePtrOutputWithContext(ctx context.Context) AlertSchedulePtrOutput

type AlertScheduleInput

type AlertScheduleInput interface {
	pulumi.Input

	ToAlertScheduleOutput() AlertScheduleOutput
	ToAlertScheduleOutputWithContext(context.Context) AlertScheduleOutput
}

AlertScheduleInput is an input type that accepts AlertScheduleArgs and AlertScheduleOutput values. You can construct a concrete instance of `AlertScheduleInput` via:

AlertScheduleArgs{...}

type AlertScheduleOutput

type AlertScheduleOutput struct{ *pulumi.OutputState }

func (AlertScheduleOutput) CronExpression

func (o AlertScheduleOutput) CronExpression() pulumi.StringPtrOutput

Cron expression when type is Cron.

func (AlertScheduleOutput) DayOfWeek

func (o AlertScheduleOutput) DayOfWeek() pulumi.IntPtrOutput

Day of week when type is Weekly, including 0,1,2,3,4,5,6, 0 for Sunday, 1 for Monday

func (AlertScheduleOutput) Delay

func (AlertScheduleOutput) ElementType

func (AlertScheduleOutput) ElementType() reflect.Type

func (AlertScheduleOutput) Hour

Hour of day when type is Weekly/Daily.

func (AlertScheduleOutput) Interval

Execution interval. 60 seconds minimum, such as 60s, 1h. used when type is FixedRate.

func (AlertScheduleOutput) RunImmediately

func (o AlertScheduleOutput) RunImmediately() pulumi.BoolPtrOutput

func (AlertScheduleOutput) TimeZone

Time zone for schedule.

func (AlertScheduleOutput) ToAlertScheduleOutput

func (o AlertScheduleOutput) ToAlertScheduleOutput() AlertScheduleOutput

func (AlertScheduleOutput) ToAlertScheduleOutputWithContext

func (o AlertScheduleOutput) ToAlertScheduleOutputWithContext(ctx context.Context) AlertScheduleOutput

func (AlertScheduleOutput) ToAlertSchedulePtrOutput

func (o AlertScheduleOutput) ToAlertSchedulePtrOutput() AlertSchedulePtrOutput

func (AlertScheduleOutput) ToAlertSchedulePtrOutputWithContext

func (o AlertScheduleOutput) ToAlertSchedulePtrOutputWithContext(ctx context.Context) AlertSchedulePtrOutput

func (AlertScheduleOutput) Type

including FixedRate,Hourly,Daily,Weekly,Cron.

type AlertSchedulePtrInput

type AlertSchedulePtrInput interface {
	pulumi.Input

	ToAlertSchedulePtrOutput() AlertSchedulePtrOutput
	ToAlertSchedulePtrOutputWithContext(context.Context) AlertSchedulePtrOutput
}

AlertSchedulePtrInput is an input type that accepts AlertScheduleArgs, AlertSchedulePtr and AlertSchedulePtrOutput values. You can construct a concrete instance of `AlertSchedulePtrInput` via:

        AlertScheduleArgs{...}

or:

        nil

type AlertSchedulePtrOutput

type AlertSchedulePtrOutput struct{ *pulumi.OutputState }

func (AlertSchedulePtrOutput) CronExpression

func (o AlertSchedulePtrOutput) CronExpression() pulumi.StringPtrOutput

Cron expression when type is Cron.

func (AlertSchedulePtrOutput) DayOfWeek

Day of week when type is Weekly, including 0,1,2,3,4,5,6, 0 for Sunday, 1 for Monday

func (AlertSchedulePtrOutput) Delay

func (AlertSchedulePtrOutput) Elem

func (AlertSchedulePtrOutput) ElementType

func (AlertSchedulePtrOutput) ElementType() reflect.Type

func (AlertSchedulePtrOutput) Hour

Hour of day when type is Weekly/Daily.

func (AlertSchedulePtrOutput) Interval

Execution interval. 60 seconds minimum, such as 60s, 1h. used when type is FixedRate.

func (AlertSchedulePtrOutput) RunImmediately

func (o AlertSchedulePtrOutput) RunImmediately() pulumi.BoolPtrOutput

func (AlertSchedulePtrOutput) TimeZone

Time zone for schedule.

func (AlertSchedulePtrOutput) ToAlertSchedulePtrOutput

func (o AlertSchedulePtrOutput) ToAlertSchedulePtrOutput() AlertSchedulePtrOutput

func (AlertSchedulePtrOutput) ToAlertSchedulePtrOutputWithContext

func (o AlertSchedulePtrOutput) ToAlertSchedulePtrOutputWithContext(ctx context.Context) AlertSchedulePtrOutput

func (AlertSchedulePtrOutput) Type

including FixedRate,Hourly,Daily,Weekly,Cron.

type AlertSeverityConfiguration

type AlertSeverityConfiguration struct {
	// Severity when this condition is met.
	EvalCondition map[string]string `pulumi:"evalCondition"`
	// Severity for new alert, including 2,4,6,8,10 for Report,Low,Medium,High,Critical.
	Severity int `pulumi:"severity"`
}

type AlertSeverityConfigurationArgs

type AlertSeverityConfigurationArgs struct {
	// Severity when this condition is met.
	EvalCondition pulumi.StringMapInput `pulumi:"evalCondition"`
	// Severity for new alert, including 2,4,6,8,10 for Report,Low,Medium,High,Critical.
	Severity pulumi.IntInput `pulumi:"severity"`
}

func (AlertSeverityConfigurationArgs) ElementType

func (AlertSeverityConfigurationArgs) ToAlertSeverityConfigurationOutput

func (i AlertSeverityConfigurationArgs) ToAlertSeverityConfigurationOutput() AlertSeverityConfigurationOutput

func (AlertSeverityConfigurationArgs) ToAlertSeverityConfigurationOutputWithContext

func (i AlertSeverityConfigurationArgs) ToAlertSeverityConfigurationOutputWithContext(ctx context.Context) AlertSeverityConfigurationOutput

type AlertSeverityConfigurationArray

type AlertSeverityConfigurationArray []AlertSeverityConfigurationInput

func (AlertSeverityConfigurationArray) ElementType

func (AlertSeverityConfigurationArray) ToAlertSeverityConfigurationArrayOutput

func (i AlertSeverityConfigurationArray) ToAlertSeverityConfigurationArrayOutput() AlertSeverityConfigurationArrayOutput

func (AlertSeverityConfigurationArray) ToAlertSeverityConfigurationArrayOutputWithContext

func (i AlertSeverityConfigurationArray) ToAlertSeverityConfigurationArrayOutputWithContext(ctx context.Context) AlertSeverityConfigurationArrayOutput

type AlertSeverityConfigurationArrayInput

type AlertSeverityConfigurationArrayInput interface {
	pulumi.Input

	ToAlertSeverityConfigurationArrayOutput() AlertSeverityConfigurationArrayOutput
	ToAlertSeverityConfigurationArrayOutputWithContext(context.Context) AlertSeverityConfigurationArrayOutput
}

AlertSeverityConfigurationArrayInput is an input type that accepts AlertSeverityConfigurationArray and AlertSeverityConfigurationArrayOutput values. You can construct a concrete instance of `AlertSeverityConfigurationArrayInput` via:

AlertSeverityConfigurationArray{ AlertSeverityConfigurationArgs{...} }

type AlertSeverityConfigurationArrayOutput

type AlertSeverityConfigurationArrayOutput struct{ *pulumi.OutputState }

func (AlertSeverityConfigurationArrayOutput) ElementType

func (AlertSeverityConfigurationArrayOutput) Index

func (AlertSeverityConfigurationArrayOutput) ToAlertSeverityConfigurationArrayOutput

func (o AlertSeverityConfigurationArrayOutput) ToAlertSeverityConfigurationArrayOutput() AlertSeverityConfigurationArrayOutput

func (AlertSeverityConfigurationArrayOutput) ToAlertSeverityConfigurationArrayOutputWithContext

func (o AlertSeverityConfigurationArrayOutput) ToAlertSeverityConfigurationArrayOutputWithContext(ctx context.Context) AlertSeverityConfigurationArrayOutput

type AlertSeverityConfigurationInput

type AlertSeverityConfigurationInput interface {
	pulumi.Input

	ToAlertSeverityConfigurationOutput() AlertSeverityConfigurationOutput
	ToAlertSeverityConfigurationOutputWithContext(context.Context) AlertSeverityConfigurationOutput
}

AlertSeverityConfigurationInput is an input type that accepts AlertSeverityConfigurationArgs and AlertSeverityConfigurationOutput values. You can construct a concrete instance of `AlertSeverityConfigurationInput` via:

AlertSeverityConfigurationArgs{...}

type AlertSeverityConfigurationOutput

type AlertSeverityConfigurationOutput struct{ *pulumi.OutputState }

func (AlertSeverityConfigurationOutput) ElementType

func (AlertSeverityConfigurationOutput) EvalCondition

Severity when this condition is met.

func (AlertSeverityConfigurationOutput) Severity

Severity for new alert, including 2,4,6,8,10 for Report,Low,Medium,High,Critical.

func (AlertSeverityConfigurationOutput) ToAlertSeverityConfigurationOutput

func (o AlertSeverityConfigurationOutput) ToAlertSeverityConfigurationOutput() AlertSeverityConfigurationOutput

func (AlertSeverityConfigurationOutput) ToAlertSeverityConfigurationOutputWithContext

func (o AlertSeverityConfigurationOutput) ToAlertSeverityConfigurationOutputWithContext(ctx context.Context) AlertSeverityConfigurationOutput

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
	// Annotations for new alert.
	Annotations AlertAnnotationArrayInput
	// whether to add automatic annotation, default is false.
	AutoAnnotation pulumi.BoolPtrInput
	// Join condition.
	//
	// Deprecated: Deprecated from 1.161.0+, use eval_condition in severity_configurations
	Condition pulumi.StringPtrInput
	// Deprecated: Deprecated from 1.161.0+, use dashboardId in query_list
	Dashboard pulumi.StringPtrInput
	// Group configuration for new alert.
	GroupConfiguration AlertGroupConfigurationPtrInput
	// Join configuration for different queries.
	JoinConfigurations AlertJoinConfigurationArrayInput
	// Labels for new alert.
	Labels AlertLabelArrayInput
	// Timestamp, notifications before closing again.
	MuteUntil pulumi.IntPtrInput
	// Switch for whether new alert fires when no data happens, default is false.
	NoDataFire pulumi.BoolPtrInput
	// when no data happens, the severity of new alert.
	NoDataSeverity pulumi.IntPtrInput
	// Alarm information notification list, Deprecated from 1.161.0+.
	//
	// Deprecated: Deprecated from 1.161.0+, use policy_configuration for notification
	NotificationLists AlertNotificationListArrayInput
	// Notification threshold, which is not notified until the number of triggers is reached. The default is 1, Deprecated from 1.161.0+.
	//
	// Deprecated: Deprecated from 1.161.0+, use threshold
	NotifyThreshold pulumi.IntPtrInput
	// Policy configuration for new alert.
	PolicyConfiguration AlertPolicyConfigurationPtrInput
	// The project name.
	ProjectName pulumi.StringPtrInput
	// Multiple conditions for configured alarm query.
	QueryLists AlertQueryListArrayInput
	// schedule for alert.
	Schedule AlertSchedulePtrInput
	// Execution interval. 60 seconds minimum, such as 60s, 1h. Deprecated from 1.176.0+. use interval in schedule.
	//
	// Deprecated: Field 'schedule_interval' has been deprecated from provider version 1.176.0. New field 'schedule' instead.
	ScheduleInterval pulumi.StringPtrInput
	// Default FixedRate. No need to configure this parameter. Deprecated from 1.176.0+. use type in schedule.
	//
	// Deprecated: Field 'schedule_type' has been deprecated from provider version 1.176.0. New field 'schedule' instead.
	ScheduleType pulumi.StringPtrInput
	// when new alert is resolved, whether to notify, default is false.
	SendResolved pulumi.BoolPtrInput
	// Severity configuration for new alert.
	SeverityConfigurations AlertSeverityConfigurationArrayInput
	// Evaluation threshold, alert will not fire until the number of triggers is reached. The default is 1.
	Threshold pulumi.IntPtrInput
	// Notification interval, default is no interval. Support number + unit type, for example 60s, 1h, Deprecated from 1.161.0+.
	//
	// Deprecated: Deprecated from 1.161.0+, use repeat_interval in policy_configuration
	Throttling pulumi.StringPtrInput
	// including FixedRate,Hourly,Daily,Weekly,Cron.
	Type pulumi.StringPtrInput
	// The version of alert, new alert is 2.0.
	Version pulumi.StringPtrInput
}

func (AlertState) ElementType

func (AlertState) ElementType() reflect.Type

type Audit

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"`
	// Resource Directory type. Optional values are all or custom. If the value is custom, argument multiAccount should be provided.
	ResourceDirectoryType pulumi.StringPtrOutput `pulumi:"resourceDirectoryType"`
	// 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

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/log"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := log.NewAudit(ctx, "example", &log.AuditArgs{
			Aliuid:      pulumi.String("12345678"),
			DisplayName: pulumi.String("tf-audit-test"),
			VariableMap: pulumi.AnyMap{
				"actiontrail_enabled":             pulumi.Any("true"),
				"actiontrail_ti_enabled":          pulumi.Any("false"),
				"actiontrail_ttl":                 pulumi.Any("180"),
				"apigateway_enabled":              pulumi.Any("true"),
				"apigateway_ti_enabled":           pulumi.Any("false"),
				"apigateway_ttl":                  pulumi.Any("180"),
				"appconnect_enabled":              pulumi.Any("false"),
				"appconnect_ttl":                  pulumi.Any("180"),
				"bastion_enabled":                 pulumi.Any("true"),
				"bastion_ti_enabled":              pulumi.Any("false"),
				"bastion_ttl":                     pulumi.Any("180"),
				"cloudfirewall_enabled":           pulumi.Any("true"),
				"cloudfirewall_ti_enabled":        pulumi.Any("false"),
				"cloudfirewall_ttl":               pulumi.Any("180"),
				"cps_enabled":                     pulumi.Any("true"),
				"cps_ti_enabled":                  pulumi.Any("false"),
				"cps_ttl":                         pulumi.Any("180"),
				"ddos_bgp_access_enabled":         pulumi.Any("false"),
				"ddos_bgp_access_ttl":             pulumi.Any("180"),
				"ddos_coo_access_enabled":         pulumi.Any("false"),
				"ddos_coo_access_ti_enabled":      pulumi.Any("false"),
				"ddos_coo_access_ttl":             pulumi.Any("180"),
				"ddos_dip_access_enabled":         pulumi.Any("false"),
				"ddos_dip_access_ti_enabled":      pulumi.Any("false"),
				"ddos_dip_access_ttl":             pulumi.Any("180"),
				"drds_audit_collection_policy":    pulumi.Any(""),
				"drds_audit_enabled":              pulumi.Any("true"),
				"drds_audit_ti_enabled":           pulumi.Any("false"),
				"drds_audit_ttl":                  pulumi.Any("7"),
				"drds_sync_enabled":               pulumi.Any("true"),
				"drds_sync_ttl":                   pulumi.Any("180"),
				"k8s_audit_collection_policy":     pulumi.Any(""),
				"k8s_audit_enabled":               pulumi.Any("true"),
				"k8s_audit_ttl":                   pulumi.Any("180"),
				"k8s_event_collection_policy":     pulumi.Any(""),
				"k8s_event_enabled":               pulumi.Any("true"),
				"k8s_event_ttl":                   pulumi.Any("180"),
				"k8s_ingress_collection_policy":   pulumi.Any(""),
				"k8s_ingress_enabled":             pulumi.Any("true"),
				"k8s_ingress_ttl":                 pulumi.Any("180"),
				"nas_enabled":                     pulumi.Any("true"),
				"nas_ti_enabled":                  pulumi.Any("false"),
				"nas_ttl":                         pulumi.Any("180"),
				"oss_access_enabled":              pulumi.Any("true"),
				"oss_access_ti_enabled":           pulumi.Any("false"),
				"oss_access_ttl":                  pulumi.Any("7"),
				"oss_metering_enabled":            pulumi.Any("true"),
				"oss_metering_ttl":                pulumi.Any("180"),
				"oss_sync_enabled":                pulumi.Any("true"),
				"oss_sync_ttl":                    pulumi.Any("180"),
				"polardb_audit_collection_policy": pulumi.Any(""),
				"polardb_enabled":                 pulumi.Any("true"),
				"polardb_perf_collection_policy":  pulumi.Any(""),
				"polardb_perf_enabled":            pulumi.Any("false"),
				"polardb_perf_ttl":                pulumi.Any("180"),
				"polardb_slow_collection_policy":  pulumi.Any(""),
				"polardb_slow_enabled":            pulumi.Any("false"),
				"polardb_slow_ttl":                pulumi.Any("180"),
				"polardb_ti_enabled":              pulumi.Any("false"),
				"polardb_ttl":                     pulumi.Any("180"),
				"rds_audit_collection_policy":     pulumi.Any(""),
				"rds_enabled":                     pulumi.Any("true"),
				"rds_perf_collection_policy":      pulumi.Any(""),
				"rds_perf_enabled":                pulumi.Any("false"),
				"rds_perf_ttl":                    pulumi.Any("180"),
				"rds_slow_collection_policy":      pulumi.Any(""),
				"rds_slow_enabled":                pulumi.Any("false"),
				"rds_slow_ttl":                    pulumi.Any("180"),
				"rds_ti_enabled":                  pulumi.Any("false"),
				"rds_ttl":                         pulumi.Any("180"),
				"sas_crack_enabled":               pulumi.Any("true"),
				"sas_dns_enabled":                 pulumi.Any("true"),
				"sas_http_enabled":                pulumi.Any("true"),
				"sas_local_dns_enabled":           pulumi.Any("true"),
				"sas_login_enabled":               pulumi.Any("true"),
				"sas_network_enabled":             pulumi.Any("true"),
				"sas_process_enabled":             pulumi.Any("true"),
				"sas_security_alert_enabled":      pulumi.Any("true"),
				"sas_security_hc_enabled":         pulumi.Any("true"),
				"sas_security_vul_enabled":        pulumi.Any("true"),
				"sas_session_enabled":             pulumi.Any("true"),
				"sas_snapshot_account_enabled":    pulumi.Any("true"),
				"sas_snapshot_port_enabled":       pulumi.Any("true"),
				"sas_snapshot_process_enabled":    pulumi.Any("true"),
				"sas_ti_enabled":                  pulumi.Any("false"),
				"sas_ttl":                         pulumi.Any("180"),
				"slb_access_collection_policy":    pulumi.Any(""),
				"slb_access_enabled":              pulumi.Any("true"),
				"slb_access_ti_enabled":           pulumi.Any("false"),
				"slb_access_ttl":                  pulumi.Any("7"),
				"slb_sync_enabled":                pulumi.Any("true"),
				"slb_sync_ttl":                    pulumi.Any("180"),
				"vpc_flow_collection_policy":      pulumi.Any(""),
				"vpc_flow_enabled":                pulumi.Any("false"),
				"vpc_flow_ttl":                    pulumi.Any("7"),
				"vpc_sync_enabled":                pulumi.Any("true"),
				"vpc_sync_ttl":                    pulumi.Any("180"),
				"waf_enabled":                     pulumi.Any("true"),
				"waf_ti_enabled":                  pulumi.Any("false"),
				"waf_ttl":                         pulumi.Any("180"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` Multiple accounts Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/log"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := log.NewAudit(ctx, "example", &log.AuditArgs{
			Aliuid:      pulumi.String("12345678"),
			DisplayName: pulumi.String("tf-audit-test"),
			MultiAccounts: pulumi.StringArray{
				pulumi.String("123456789123"),
				pulumi.String("12345678912300123"),
			},
			VariableMap: pulumi.AnyMap{
				"actiontrail_enabled": pulumi.Any("true"),
				"actiontrail_ttl":     pulumi.Any("180"),
				"oss_access_enabled":  pulumi.Any("true"),
				"oss_access_ttl":      pulumi.Any("180"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` Resource Directory Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/log"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := log.NewAudit(ctx, "example", &log.AuditArgs{
			Aliuid:                pulumi.String("12345678"),
			DisplayName:           pulumi.String("tf-audit-test"),
			ResourceDirectoryType: pulumi.String("all"),
			VariableMap: pulumi.AnyMap{
				"actiontrail_enabled": pulumi.Any("true"),
				"actiontrail_ttl":     pulumi.Any("180"),
				"oss_access_enabled":  pulumi.Any("true"),
				"oss_access_ttl":      pulumi.Any("180"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/log"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := log.NewAudit(ctx, "example", &log.AuditArgs{
			Aliuid:      pulumi.String("12345678"),
			DisplayName: pulumi.String("tf-audit-test"),
			MultiAccounts: pulumi.StringArray{
				pulumi.String("123456789123"),
				pulumi.String("12345678912300123"),
			},
			ResourceDirectoryType: pulumi.String("custom"),
			VariableMap: pulumi.AnyMap{
				"actiontrail_enabled": pulumi.Any("true"),
				"actiontrail_ttl":     pulumi.Any("180"),
				"oss_access_enabled":  pulumi.Any("true"),
				"oss_access_ttl":      pulumi.Any("180"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Log audit can be imported using the id, e.g.

```sh

$ pulumi import alicloud:log/audit:Audit example tf-audit-test

```

func GetAudit

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

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.

func (*Audit) ElementType

func (*Audit) ElementType() reflect.Type

func (*Audit) ToAuditOutput

func (i *Audit) ToAuditOutput() AuditOutput

func (*Audit) ToAuditOutputWithContext

func (i *Audit) ToAuditOutputWithContext(ctx context.Context) AuditOutput

type AuditArgs

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
	// Resource Directory type. Optional values are all or custom. If the value is custom, argument multiAccount should be provided.
	ResourceDirectoryType pulumi.StringPtrInput
	// Log audit detailed configuration.
	VariableMap pulumi.MapInput
}

The set of arguments for constructing a Audit resource.

func (AuditArgs) ElementType

func (AuditArgs) ElementType() reflect.Type

type AuditArray

type AuditArray []AuditInput

func (AuditArray) ElementType

func (AuditArray) ElementType() reflect.Type

func (AuditArray) ToAuditArrayOutput

func (i AuditArray) ToAuditArrayOutput() AuditArrayOutput

func (AuditArray) ToAuditArrayOutputWithContext

func (i AuditArray) ToAuditArrayOutputWithContext(ctx context.Context) AuditArrayOutput

type AuditArrayInput

type AuditArrayInput interface {
	pulumi.Input

	ToAuditArrayOutput() AuditArrayOutput
	ToAuditArrayOutputWithContext(context.Context) AuditArrayOutput
}

AuditArrayInput is an input type that accepts AuditArray and AuditArrayOutput values. You can construct a concrete instance of `AuditArrayInput` via:

AuditArray{ AuditArgs{...} }

type AuditArrayOutput

type AuditArrayOutput struct{ *pulumi.OutputState }

func (AuditArrayOutput) ElementType

func (AuditArrayOutput) ElementType() reflect.Type

func (AuditArrayOutput) Index

func (AuditArrayOutput) ToAuditArrayOutput

func (o AuditArrayOutput) ToAuditArrayOutput() AuditArrayOutput

func (AuditArrayOutput) ToAuditArrayOutputWithContext

func (o AuditArrayOutput) ToAuditArrayOutputWithContext(ctx context.Context) AuditArrayOutput

type AuditInput

type AuditInput interface {
	pulumi.Input

	ToAuditOutput() AuditOutput
	ToAuditOutputWithContext(ctx context.Context) AuditOutput
}

type AuditMap

type AuditMap map[string]AuditInput

func (AuditMap) ElementType

func (AuditMap) ElementType() reflect.Type

func (AuditMap) ToAuditMapOutput

func (i AuditMap) ToAuditMapOutput() AuditMapOutput

func (AuditMap) ToAuditMapOutputWithContext

func (i AuditMap) ToAuditMapOutputWithContext(ctx context.Context) AuditMapOutput

type AuditMapInput

type AuditMapInput interface {
	pulumi.Input

	ToAuditMapOutput() AuditMapOutput
	ToAuditMapOutputWithContext(context.Context) AuditMapOutput
}

AuditMapInput is an input type that accepts AuditMap and AuditMapOutput values. You can construct a concrete instance of `AuditMapInput` via:

AuditMap{ "key": AuditArgs{...} }

type AuditMapOutput

type AuditMapOutput struct{ *pulumi.OutputState }

func (AuditMapOutput) ElementType

func (AuditMapOutput) ElementType() reflect.Type

func (AuditMapOutput) MapIndex

func (AuditMapOutput) ToAuditMapOutput

func (o AuditMapOutput) ToAuditMapOutput() AuditMapOutput

func (AuditMapOutput) ToAuditMapOutputWithContext

func (o AuditMapOutput) ToAuditMapOutputWithContext(ctx context.Context) AuditMapOutput

type AuditOutput

type AuditOutput struct{ *pulumi.OutputState }

func (AuditOutput) Aliuid

func (o AuditOutput) Aliuid() pulumi.StringOutput

Aliuid value of your account.

func (AuditOutput) DisplayName

func (o AuditOutput) DisplayName() pulumi.StringOutput

Name of SLS log audit.

func (AuditOutput) ElementType

func (AuditOutput) ElementType() reflect.Type

func (AuditOutput) MultiAccounts

func (o AuditOutput) MultiAccounts() pulumi.StringArrayOutput

Multi-account configuration, please fill in multiple aliuid.

func (AuditOutput) ResourceDirectoryType

func (o AuditOutput) ResourceDirectoryType() pulumi.StringPtrOutput

Resource Directory type. Optional values are all or custom. If the value is custom, argument multiAccount should be provided.

func (AuditOutput) ToAuditOutput

func (o AuditOutput) ToAuditOutput() AuditOutput

func (AuditOutput) ToAuditOutputWithContext

func (o AuditOutput) ToAuditOutputWithContext(ctx context.Context) AuditOutput

func (AuditOutput) VariableMap

func (o AuditOutput) VariableMap() pulumi.MapOutput

Log audit detailed configuration.

type AuditState

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
	// Resource Directory type. Optional values are all or custom. If the value is custom, argument multiAccount should be provided.
	ResourceDirectoryType pulumi.StringPtrInput
	// Log audit detailed configuration.
	VariableMap pulumi.MapInput
}

func (AuditState) ElementType

func (AuditState) ElementType() reflect.Type

type Dashboard

type Dashboard struct {
	pulumi.CustomResourceState

	// Dashboard attribute.
	Attribute pulumi.StringOutput `pulumi:"attribute"`
	// 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, parameter "action" in charList is supported since 1.164.0+.

## Example Usage

Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/log"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := log.NewProject(ctx, "defaultProject", &log.ProjectArgs{
			Description: pulumi.String("tf unit test"),
		})
		if err != nil {
			return err
		}
		_, err = log.NewStore(ctx, "defaultStore", &log.StoreArgs{
			Project:         pulumi.String("tf-project"),
			RetentionPeriod: pulumi.Int(3000),
			ShardCount:      pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		_, err = log.NewDashboard(ctx, "example", &log.DashboardArgs{
			Attribute: pulumi.String("{\"type\":\"grid\"}"),
			CharList: pulumi.String(fmt.Sprintf(`  [
    {
      "action": {},
      "title":"new_title",
      "type":"map",
      "search":{
        "logstore":"tf-logstore",
        "topic":"new_topic",
        "query":"* | SELECT COUNT(name) as ct_name, COUNT(product) as ct_product, name,product GROUP BY name,product",
        "start":"-86400s",
        "end":"now"
      },
      "display":{
        "xAxis":[
          "ct_name"
        ],
        "yAxis":[
          "ct_product"
        ],
        "xPos":0,
        "yPos":0,
        "width":10,
        "height":12,
        "displayName":"xixihaha911"
      }
    }
  ]

`)),

			DashboardName: pulumi.String("tf-dashboard"),
			ProjectName:   pulumi.String("tf-project"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Log Dashboard can be imported using the id or name, e.g.

```sh

$ pulumi import alicloud:log/dashboard:Dashboard example tf-project:tf-logstore:tf-dashboard

```

func GetDashboard

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

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.

func (*Dashboard) ElementType

func (*Dashboard) ElementType() reflect.Type

func (*Dashboard) ToDashboardOutput

func (i *Dashboard) ToDashboardOutput() DashboardOutput

func (*Dashboard) ToDashboardOutputWithContext

func (i *Dashboard) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput

type DashboardArgs

type DashboardArgs struct {
	// Dashboard attribute.
	Attribute pulumi.StringPtrInput
	// 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

func (DashboardArgs) ElementType() reflect.Type

type DashboardArray

type DashboardArray []DashboardInput

func (DashboardArray) ElementType

func (DashboardArray) ElementType() reflect.Type

func (DashboardArray) ToDashboardArrayOutput

func (i DashboardArray) ToDashboardArrayOutput() DashboardArrayOutput

func (DashboardArray) ToDashboardArrayOutputWithContext

func (i DashboardArray) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput

type DashboardArrayInput

type DashboardArrayInput interface {
	pulumi.Input

	ToDashboardArrayOutput() DashboardArrayOutput
	ToDashboardArrayOutputWithContext(context.Context) DashboardArrayOutput
}

DashboardArrayInput is an input type that accepts DashboardArray and DashboardArrayOutput values. You can construct a concrete instance of `DashboardArrayInput` via:

DashboardArray{ DashboardArgs{...} }

type DashboardArrayOutput

type DashboardArrayOutput struct{ *pulumi.OutputState }

func (DashboardArrayOutput) ElementType

func (DashboardArrayOutput) ElementType() reflect.Type

func (DashboardArrayOutput) Index

func (DashboardArrayOutput) ToDashboardArrayOutput

func (o DashboardArrayOutput) ToDashboardArrayOutput() DashboardArrayOutput

func (DashboardArrayOutput) ToDashboardArrayOutputWithContext

func (o DashboardArrayOutput) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput

type DashboardInput

type DashboardInput interface {
	pulumi.Input

	ToDashboardOutput() DashboardOutput
	ToDashboardOutputWithContext(ctx context.Context) DashboardOutput
}

type DashboardMap

type DashboardMap map[string]DashboardInput

func (DashboardMap) ElementType

func (DashboardMap) ElementType() reflect.Type

func (DashboardMap) ToDashboardMapOutput

func (i DashboardMap) ToDashboardMapOutput() DashboardMapOutput

func (DashboardMap) ToDashboardMapOutputWithContext

func (i DashboardMap) ToDashboardMapOutputWithContext(ctx context.Context) DashboardMapOutput

type DashboardMapInput

type DashboardMapInput interface {
	pulumi.Input

	ToDashboardMapOutput() DashboardMapOutput
	ToDashboardMapOutputWithContext(context.Context) DashboardMapOutput
}

DashboardMapInput is an input type that accepts DashboardMap and DashboardMapOutput values. You can construct a concrete instance of `DashboardMapInput` via:

DashboardMap{ "key": DashboardArgs{...} }

type DashboardMapOutput

type DashboardMapOutput struct{ *pulumi.OutputState }

func (DashboardMapOutput) ElementType

func (DashboardMapOutput) ElementType() reflect.Type

func (DashboardMapOutput) MapIndex

func (DashboardMapOutput) ToDashboardMapOutput

func (o DashboardMapOutput) ToDashboardMapOutput() DashboardMapOutput

func (DashboardMapOutput) ToDashboardMapOutputWithContext

func (o DashboardMapOutput) ToDashboardMapOutputWithContext(ctx context.Context) DashboardMapOutput

type DashboardOutput

type DashboardOutput struct{ *pulumi.OutputState }

func (DashboardOutput) Attribute

func (o DashboardOutput) Attribute() pulumi.StringOutput

Dashboard attribute.

func (DashboardOutput) CharList

func (o DashboardOutput) CharList() pulumi.StringOutput

Configuration of charts in the dashboard.

func (DashboardOutput) DashboardName

func (o DashboardOutput) DashboardName() pulumi.StringOutput

The name of the Log Dashboard.

func (DashboardOutput) DisplayName

func (o DashboardOutput) DisplayName() pulumi.StringPtrOutput

Dashboard alias.

func (DashboardOutput) ElementType

func (DashboardOutput) ElementType() reflect.Type

func (DashboardOutput) ProjectName

func (o DashboardOutput) ProjectName() pulumi.StringOutput

The name of the log project. It is the only in one Alicloud account.

func (DashboardOutput) ToDashboardOutput

func (o DashboardOutput) ToDashboardOutput() DashboardOutput

func (DashboardOutput) ToDashboardOutputWithContext

func (o DashboardOutput) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput

type DashboardState

type DashboardState struct {
	// Dashboard attribute.
	Attribute pulumi.StringPtrInput
	// 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

func (DashboardState) ElementType() reflect.Type

type Etl

type Etl struct {
	pulumi.CustomResourceState

	// Delivery target logstore access key id.
	AccessKeyId pulumi.StringPtrOutput `pulumi:"accessKeyId"`
	// Delivery target logstore access key secret.
	AccessKeySecret pulumi.StringPtrOutput `pulumi:"accessKeySecret"`
	// The etl job create time.
	CreateTime pulumi.IntOutput `pulumi:"createTime"`
	// Description of the log etl job.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Log service etl job alias.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The name of the log etl job.
	EtlName pulumi.StringOutput `pulumi:"etlName"`
	// Target logstore configuration for delivery after data processing.
	EtlSinks EtlEtlSinkArrayOutput `pulumi:"etlSinks"`
	// Log service etl type, the default value is `ETL`.
	EtlType pulumi.StringPtrOutput `pulumi:"etlType"`
	// The start time of the processing job, if not set the value is 0, indicates to start processing from the oldest data.
	FromTime pulumi.IntPtrOutput `pulumi:"fromTime"`
	// An KMS encrypts access key id used to a log etl job. If the `accessKeyId` is filled in, this field will be ignored.
	KmsEncryptedAccessKeyId pulumi.StringPtrOutput `pulumi:"kmsEncryptedAccessKeyId"`
	// An KMS encrypts access key secret used to a log etl job. If the `accessKeySecret` is filled in, this field will be ignored.
	KmsEncryptedAccessKeySecret pulumi.StringPtrOutput `pulumi:"kmsEncryptedAccessKeySecret"`
	// An KMS encryption context used to decrypt `kmsEncryptedAccessKeyId` before creating or updating an instance with `kmsEncryptedAccessKeyId`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. When it is changed, the instance will reboot to make the change take effect.
	KmsEncryptionAccessKeyIdContext pulumi.MapOutput `pulumi:"kmsEncryptionAccessKeyIdContext"`
	// An KMS encryption context used to decrypt `kmsEncryptedAccessKeySecret` before creating or updating an instance with `kmsEncryptedAccessKeySecret`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. When it is changed, the instance will reboot to make the change take effect.
	KmsEncryptionAccessKeySecretContext pulumi.MapOutput `pulumi:"kmsEncryptionAccessKeySecretContext"`
	// ETL job last modified time.
	LastModifiedTime pulumi.IntOutput `pulumi:"lastModifiedTime"`
	// Delivery target logstore.
	Logstore pulumi.StringOutput `pulumi:"logstore"`
	// Advanced parameter configuration of processing operations.
	Parameters pulumi.StringMapOutput `pulumi:"parameters"`
	// The project where the target logstore is delivered.
	Project pulumi.StringOutput `pulumi:"project"`
	// Sts role info under delivery target logstore. `roleArn` and `(access_key_id, access_key_secret)` fill in at most one. If you do not fill in both, then you must fill in `(kms_encrypted_access_key_id, kms_encrypted_access_key_secret, kms_encryption_access_key_id_context, kms_encryption_access_key_secret_context)` to use KMS to get the key pair.
	RoleArn pulumi.StringPtrOutput `pulumi:"roleArn"`
	// Job scheduling type, the default value is Resident.
	Schedule pulumi.StringPtrOutput `pulumi:"schedule"`
	// Processing operation grammar.
	Script pulumi.StringOutput `pulumi:"script"`
	// Log project tags. the default value is RUNNING, Only 4 values are supported: `STARTING`,`RUNNING`,`STOPPING`,`STOPPED`.
	Status pulumi.StringOutput `pulumi:"status"`
	// Deadline of processing job, if not set the value is 0, indicates that new data will be processed continuously.
	ToTime pulumi.IntPtrOutput `pulumi:"toTime"`
	// Log etl job version. the default value is `2`.
	Version pulumi.IntPtrOutput `pulumi:"version"`
}

The data transformation of the log service is a hosted, highly available, and scalable data processing service, which is widely applicable to scenarios such as data regularization, enrichment, distribution, aggregation, and index reconstruction. [Refer to details](https://www.alibabacloud.com/help/zh/doc-detail/125384.htm).

> **NOTE:** Available in 1.120.0

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/log"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/log"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := log.NewProject(ctx, "exampleProject", &log.ProjectArgs{
			Description: pulumi.String("created by terraform"),
		})
		if err != nil {
			return err
		}
		exampleStore, err := log.NewStore(ctx, "exampleStore", &log.StoreArgs{
			Project:            exampleProject.Name,
			RetentionPeriod:    pulumi.Int(3650),
			ShardCount:         pulumi.Int(3),
			AutoSplit:          pulumi.Bool(true),
			MaxSplitShardCount: pulumi.Int(60),
			AppendMeta:         pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		example2, err := log.NewStore(ctx, "example2", &log.StoreArgs{
			Project:            exampleProject.Name,
			RetentionPeriod:    pulumi.Int(3650),
			ShardCount:         pulumi.Int(3),
			AutoSplit:          pulumi.Bool(true),
			MaxSplitShardCount: pulumi.Int(60),
			AppendMeta:         pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		example3, err := log.NewStore(ctx, "example3", &log.StoreArgs{
			Project:            exampleProject.Name,
			RetentionPeriod:    pulumi.Int(3650),
			ShardCount:         pulumi.Int(3),
			AutoSplit:          pulumi.Bool(true),
			MaxSplitShardCount: pulumi.Int(60),
			AppendMeta:         pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = log.NewEtl(ctx, "exampleEtl", &log.EtlArgs{
			EtlName:         pulumi.String("etl_name"),
			Project:         exampleProject.Name,
			DisplayName:     pulumi.String("display_name"),
			Description:     pulumi.String("etl_description"),
			AccessKeyId:     pulumi.String("access_key_id"),
			AccessKeySecret: pulumi.String("access_key_secret"),
			Script:          pulumi.String("e_set('new','key')"),
			Logstore:        exampleStore.Name,
			EtlSinks: log.EtlEtlSinkArray{
				&log.EtlEtlSinkArgs{
					Name:            pulumi.String("target_name"),
					AccessKeyId:     pulumi.String("example2_access_key_id"),
					AccessKeySecret: pulumi.String("example2_access_key_secret"),
					Endpoint:        pulumi.String("cn-hangzhou.log.aliyuncs.com"),
					Project:         exampleProject.Name,
					Logstore:        example2.Name,
				},
				&log.EtlEtlSinkArgs{
					Name:            pulumi.String("target_name2"),
					AccessKeyId:     pulumi.String("example3_access_key_id"),
					AccessKeySecret: pulumi.String("example3_access_key_secret"),
					Endpoint:        pulumi.String("cn-hangzhou.log.aliyuncs.com"),
					Project:         exampleProject.Name,
					Logstore:        example3.Name,
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` Stop the task in progress ```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/log"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/log"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := log.NewEtl(ctx, "example", &log.EtlArgs{
			Status:          pulumi.Any(STOPPED),
			EtlName:         pulumi.String("etl_name"),
			Project:         pulumi.Any(alicloud_log_project.Example.Name),
			DisplayName:     pulumi.String("display_name"),
			Description:     pulumi.String("etl_description"),
			AccessKeyId:     pulumi.String("access_key_id"),
			AccessKeySecret: pulumi.String("access_key_secret"),
			Script:          pulumi.String("e_set('new','key')"),
			Logstore:        pulumi.Any(alicloud_log_store.Example.Name),
			EtlSinks: log.EtlEtlSinkArray{
				&log.EtlEtlSinkArgs{
					Name:            pulumi.String("target_name"),
					AccessKeyId:     pulumi.String("example2_access_key_id"),
					AccessKeySecret: pulumi.String("example2_access_key_secret"),
					Endpoint:        pulumi.String("cn-hangzhou.log.aliyuncs.com"),
					Project:         pulumi.Any(alicloud_log_project.Example.Name),
					Logstore:        pulumi.Any(alicloud_log_store.Example2.Name),
				},
				&log.EtlEtlSinkArgs{
					Name:            pulumi.String("target_name2"),
					AccessKeyId:     pulumi.String("example3_access_key_id"),
					AccessKeySecret: pulumi.String("example3_access_key_secret"),
					Endpoint:        pulumi.String("cn-hangzhou.log.aliyuncs.com"),
					Project:         pulumi.Any(alicloud_log_project.Example.Name),
					Logstore:        pulumi.Any(alicloud_log_store.Example3.Name),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ReStart the stopped task ```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/log"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/log"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := log.NewEtl(ctx, "example", &log.EtlArgs{
			Status:          pulumi.Any(RUNNING),
			EtlName:         pulumi.String("etl_name"),
			Project:         pulumi.Any(alicloud_log_project.Example.Name),
			DisplayName:     pulumi.String("display_name"),
			Description:     pulumi.String("etl_description"),
			AccessKeyId:     pulumi.String("access_key_id"),
			AccessKeySecret: pulumi.String("access_key_secret"),
			Script:          pulumi.String("e_set('new','key')"),
			Logstore:        pulumi.Any(alicloud_log_store.Example.Name),
			EtlSinks: log.EtlEtlSinkArray{
				&log.EtlEtlSinkArgs{
					Name:            pulumi.String("target_name"),
					AccessKeyId:     pulumi.String("example2_access_key_id"),
					AccessKeySecret: pulumi.String("example2_access_key_secret"),
					Endpoint:        pulumi.String("cn-hangzhou.log.aliyuncs.com"),
					Project:         pulumi.Any(alicloud_log_project.Example.Name),
					Logstore:        pulumi.Any(alicloud_log_store.Example2.Name),
				},
				&log.EtlEtlSinkArgs{
					Name:            pulumi.String("target_name2"),
					AccessKeyId:     pulumi.String("example3_access_key_id"),
					AccessKeySecret: pulumi.String("example3_access_key_secret"),
					Endpoint:        pulumi.String("cn-hangzhou.log.aliyuncs.com"),
					Project:         pulumi.Any(alicloud_log_project.Example.Name),
					Logstore:        pulumi.Any(alicloud_log_store.Example3.Name),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Log etl can be imported using the id, e.g.

```sh

$ pulumi import alicloud:log/etl:Etl example tf-log-project:tf-log-etl-name

```

func GetEtl

func GetEtl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EtlState, opts ...pulumi.ResourceOption) (*Etl, error)

GetEtl gets an existing Etl 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 NewEtl

func NewEtl(ctx *pulumi.Context,
	name string, args *EtlArgs, opts ...pulumi.ResourceOption) (*Etl, error)

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

func (*Etl) ElementType

func (*Etl) ElementType() reflect.Type

func (*Etl) ToEtlOutput

func (i *Etl) ToEtlOutput() EtlOutput

func (*Etl) ToEtlOutputWithContext

func (i *Etl) ToEtlOutputWithContext(ctx context.Context) EtlOutput

type EtlArgs

type EtlArgs struct {
	// Delivery target logstore access key id.
	AccessKeyId pulumi.StringPtrInput
	// Delivery target logstore access key secret.
	AccessKeySecret pulumi.StringPtrInput
	// The etl job create time.
	CreateTime pulumi.IntPtrInput
	// Description of the log etl job.
	Description pulumi.StringPtrInput
	// Log service etl job alias.
	DisplayName pulumi.StringInput
	// The name of the log etl job.
	EtlName pulumi.StringInput
	// Target logstore configuration for delivery after data processing.
	EtlSinks EtlEtlSinkArrayInput
	// Log service etl type, the default value is `ETL`.
	EtlType pulumi.StringPtrInput
	// The start time of the processing job, if not set the value is 0, indicates to start processing from the oldest data.
	FromTime pulumi.IntPtrInput
	// An KMS encrypts access key id used to a log etl job. If the `accessKeyId` is filled in, this field will be ignored.
	KmsEncryptedAccessKeyId pulumi.StringPtrInput
	// An KMS encrypts access key secret used to a log etl job. If the `accessKeySecret` is filled in, this field will be ignored.
	KmsEncryptedAccessKeySecret pulumi.StringPtrInput
	// An KMS encryption context used to decrypt `kmsEncryptedAccessKeyId` before creating or updating an instance with `kmsEncryptedAccessKeyId`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. When it is changed, the instance will reboot to make the change take effect.
	KmsEncryptionAccessKeyIdContext pulumi.MapInput
	// An KMS encryption context used to decrypt `kmsEncryptedAccessKeySecret` before creating or updating an instance with `kmsEncryptedAccessKeySecret`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. When it is changed, the instance will reboot to make the change take effect.
	KmsEncryptionAccessKeySecretContext pulumi.MapInput
	// ETL job last modified time.
	LastModifiedTime pulumi.IntPtrInput
	// Delivery target logstore.
	Logstore pulumi.StringInput
	// Advanced parameter configuration of processing operations.
	Parameters pulumi.StringMapInput
	// The project where the target logstore is delivered.
	Project pulumi.StringInput
	// Sts role info under delivery target logstore. `roleArn` and `(access_key_id, access_key_secret)` fill in at most one. If you do not fill in both, then you must fill in `(kms_encrypted_access_key_id, kms_encrypted_access_key_secret, kms_encryption_access_key_id_context, kms_encryption_access_key_secret_context)` to use KMS to get the key pair.
	RoleArn pulumi.StringPtrInput
	// Job scheduling type, the default value is Resident.
	Schedule pulumi.StringPtrInput
	// Processing operation grammar.
	Script pulumi.StringInput
	// Log project tags. the default value is RUNNING, Only 4 values are supported: `STARTING`,`RUNNING`,`STOPPING`,`STOPPED`.
	Status pulumi.StringPtrInput
	// Deadline of processing job, if not set the value is 0, indicates that new data will be processed continuously.
	ToTime pulumi.IntPtrInput
	// Log etl job version. the default value is `2`.
	Version pulumi.IntPtrInput
}

The set of arguments for constructing a Etl resource.

func (EtlArgs) ElementType

func (EtlArgs) ElementType() reflect.Type

type EtlArray

type EtlArray []EtlInput

func (EtlArray) ElementType

func (EtlArray) ElementType() reflect.Type

func (EtlArray) ToEtlArrayOutput

func (i EtlArray) ToEtlArrayOutput() EtlArrayOutput

func (EtlArray) ToEtlArrayOutputWithContext

func (i EtlArray) ToEtlArrayOutputWithContext(ctx context.Context) EtlArrayOutput

type EtlArrayInput

type EtlArrayInput interface {
	pulumi.Input

	ToEtlArrayOutput() EtlArrayOutput
	ToEtlArrayOutputWithContext(context.Context) EtlArrayOutput
}

EtlArrayInput is an input type that accepts EtlArray and EtlArrayOutput values. You can construct a concrete instance of `EtlArrayInput` via:

EtlArray{ EtlArgs{...} }

type EtlArrayOutput

type EtlArrayOutput struct{ *pulumi.OutputState }

func (EtlArrayOutput) ElementType

func (EtlArrayOutput) ElementType() reflect.Type

func (EtlArrayOutput) Index

func (EtlArrayOutput) ToEtlArrayOutput

func (o EtlArrayOutput) ToEtlArrayOutput() EtlArrayOutput

func (EtlArrayOutput) ToEtlArrayOutputWithContext

func (o EtlArrayOutput) ToEtlArrayOutputWithContext(ctx context.Context) EtlArrayOutput

type EtlEtlSink

type EtlEtlSink struct {
	// Delivery target logstore access key id.
	AccessKeyId *string `pulumi:"accessKeyId"`
	// Delivery target logstore access key secret.
	AccessKeySecret *string `pulumi:"accessKeySecret"`
	// Delivery target logstore region.
	Endpoint string `pulumi:"endpoint"`
	// An KMS encrypts access key id used to a log etl job. If the `accessKeyId` is filled in, this field will be ignored.
	KmsEncryptedAccessKeyId *string `pulumi:"kmsEncryptedAccessKeyId"`
	// An KMS encrypts access key secret used to a log etl job. If the `accessKeySecret` is filled in, this field will be ignored.
	KmsEncryptedAccessKeySecret *string `pulumi:"kmsEncryptedAccessKeySecret"`
	// Delivery target logstore.
	Logstore string `pulumi:"logstore"`
	// Delivery target name.
	Name string `pulumi:"name"`
	// The project where the target logstore is delivered.
	Project string `pulumi:"project"`
	// Sts role info under delivery target logstore. `roleArn` and `(access_key_id, access_key_secret)` fill in at most one. If you do not fill in both, then you must fill in `(kms_encrypted_access_key_id, kms_encrypted_access_key_secret, kms_encryption_access_key_id_context, kms_encryption_access_key_secret_context)` to use KMS to get the key pair.
	RoleArn *string `pulumi:"roleArn"`
	// ETL sinks type, the default value is AliyunLOG.
	Type *string `pulumi:"type"`
}

type EtlEtlSinkArgs

type EtlEtlSinkArgs struct {
	// Delivery target logstore access key id.
	AccessKeyId pulumi.StringPtrInput `pulumi:"accessKeyId"`
	// Delivery target logstore access key secret.
	AccessKeySecret pulumi.StringPtrInput `pulumi:"accessKeySecret"`
	// Delivery target logstore region.
	Endpoint pulumi.StringInput `pulumi:"endpoint"`
	// An KMS encrypts access key id used to a log etl job. If the `accessKeyId` is filled in, this field will be ignored.
	KmsEncryptedAccessKeyId pulumi.StringPtrInput `pulumi:"kmsEncryptedAccessKeyId"`
	// An KMS encrypts access key secret used to a log etl job. If the `accessKeySecret` is filled in, this field will be ignored.
	KmsEncryptedAccessKeySecret pulumi.StringPtrInput `pulumi:"kmsEncryptedAccessKeySecret"`
	// Delivery target logstore.
	Logstore pulumi.StringInput `pulumi:"logstore"`
	// Delivery target name.
	Name pulumi.StringInput `pulumi:"name"`
	// The project where the target logstore is delivered.
	Project pulumi.StringInput `pulumi:"project"`
	// Sts role info under delivery target logstore. `roleArn` and `(access_key_id, access_key_secret)` fill in at most one. If you do not fill in both, then you must fill in `(kms_encrypted_access_key_id, kms_encrypted_access_key_secret, kms_encryption_access_key_id_context, kms_encryption_access_key_secret_context)` to use KMS to get the key pair.
	RoleArn pulumi.StringPtrInput `pulumi:"roleArn"`
	// ETL sinks type, the default value is AliyunLOG.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (EtlEtlSinkArgs) ElementType

func (EtlEtlSinkArgs) ElementType() reflect.Type

func (EtlEtlSinkArgs) ToEtlEtlSinkOutput

func (i EtlEtlSinkArgs) ToEtlEtlSinkOutput() EtlEtlSinkOutput

func (EtlEtlSinkArgs) ToEtlEtlSinkOutputWithContext

func (i EtlEtlSinkArgs) ToEtlEtlSinkOutputWithContext(ctx context.Context) EtlEtlSinkOutput

type EtlEtlSinkArray

type EtlEtlSinkArray []EtlEtlSinkInput

func (EtlEtlSinkArray) ElementType

func (EtlEtlSinkArray) ElementType() reflect.Type

func (EtlEtlSinkArray) ToEtlEtlSinkArrayOutput

func (i EtlEtlSinkArray) ToEtlEtlSinkArrayOutput() EtlEtlSinkArrayOutput

func (EtlEtlSinkArray) ToEtlEtlSinkArrayOutputWithContext

func (i EtlEtlSinkArray) ToEtlEtlSinkArrayOutputWithContext(ctx context.Context) EtlEtlSinkArrayOutput

type EtlEtlSinkArrayInput

type EtlEtlSinkArrayInput interface {
	pulumi.Input

	ToEtlEtlSinkArrayOutput() EtlEtlSinkArrayOutput
	ToEtlEtlSinkArrayOutputWithContext(context.Context) EtlEtlSinkArrayOutput
}

EtlEtlSinkArrayInput is an input type that accepts EtlEtlSinkArray and EtlEtlSinkArrayOutput values. You can construct a concrete instance of `EtlEtlSinkArrayInput` via:

EtlEtlSinkArray{ EtlEtlSinkArgs{...} }

type EtlEtlSinkArrayOutput

type EtlEtlSinkArrayOutput struct{ *pulumi.OutputState }

func (EtlEtlSinkArrayOutput) ElementType

func (EtlEtlSinkArrayOutput) ElementType() reflect.Type

func (EtlEtlSinkArrayOutput) Index

func (EtlEtlSinkArrayOutput) ToEtlEtlSinkArrayOutput

func (o EtlEtlSinkArrayOutput) ToEtlEtlSinkArrayOutput() EtlEtlSinkArrayOutput

func (EtlEtlSinkArrayOutput) ToEtlEtlSinkArrayOutputWithContext

func (o EtlEtlSinkArrayOutput) ToEtlEtlSinkArrayOutputWithContext(ctx context.Context) EtlEtlSinkArrayOutput

type EtlEtlSinkInput

type EtlEtlSinkInput interface {
	pulumi.Input

	ToEtlEtlSinkOutput() EtlEtlSinkOutput
	ToEtlEtlSinkOutputWithContext(context.Context) EtlEtlSinkOutput
}

EtlEtlSinkInput is an input type that accepts EtlEtlSinkArgs and EtlEtlSinkOutput values. You can construct a concrete instance of `EtlEtlSinkInput` via:

EtlEtlSinkArgs{...}

type EtlEtlSinkOutput

type EtlEtlSinkOutput struct{ *pulumi.OutputState }

func (EtlEtlSinkOutput) AccessKeyId

func (o EtlEtlSinkOutput) AccessKeyId() pulumi.StringPtrOutput

Delivery target logstore access key id.

func (EtlEtlSinkOutput) AccessKeySecret

func (o EtlEtlSinkOutput) AccessKeySecret() pulumi.StringPtrOutput

Delivery target logstore access key secret.

func (EtlEtlSinkOutput) ElementType

func (EtlEtlSinkOutput) ElementType() reflect.Type

func (EtlEtlSinkOutput) Endpoint

func (o EtlEtlSinkOutput) Endpoint() pulumi.StringOutput

Delivery target logstore region.

func (EtlEtlSinkOutput) KmsEncryptedAccessKeyId

func (o EtlEtlSinkOutput) KmsEncryptedAccessKeyId() pulumi.StringPtrOutput

An KMS encrypts access key id used to a log etl job. If the `accessKeyId` is filled in, this field will be ignored.

func (EtlEtlSinkOutput) KmsEncryptedAccessKeySecret

func (o EtlEtlSinkOutput) KmsEncryptedAccessKeySecret() pulumi.StringPtrOutput

An KMS encrypts access key secret used to a log etl job. If the `accessKeySecret` is filled in, this field will be ignored.

func (EtlEtlSinkOutput) Logstore

func (o EtlEtlSinkOutput) Logstore() pulumi.StringOutput

Delivery target logstore.

func (EtlEtlSinkOutput) Name

Delivery target name.

func (EtlEtlSinkOutput) Project

func (o EtlEtlSinkOutput) Project() pulumi.StringOutput

The project where the target logstore is delivered.

func (EtlEtlSinkOutput) RoleArn

Sts role info under delivery target logstore. `roleArn` and `(access_key_id, access_key_secret)` fill in at most one. If you do not fill in both, then you must fill in `(kms_encrypted_access_key_id, kms_encrypted_access_key_secret, kms_encryption_access_key_id_context, kms_encryption_access_key_secret_context)` to use KMS to get the key pair.

func (EtlEtlSinkOutput) ToEtlEtlSinkOutput

func (o EtlEtlSinkOutput) ToEtlEtlSinkOutput() EtlEtlSinkOutput

func (EtlEtlSinkOutput) ToEtlEtlSinkOutputWithContext

func (o EtlEtlSinkOutput) ToEtlEtlSinkOutputWithContext(ctx context.Context) EtlEtlSinkOutput

func (EtlEtlSinkOutput) Type

ETL sinks type, the default value is AliyunLOG.

type EtlInput

type EtlInput interface {
	pulumi.Input

	ToEtlOutput() EtlOutput
	ToEtlOutputWithContext(ctx context.Context) EtlOutput
}

type EtlMap

type EtlMap map[string]EtlInput

func (EtlMap) ElementType

func (EtlMap) ElementType() reflect.Type

func (EtlMap) ToEtlMapOutput

func (i EtlMap) ToEtlMapOutput() EtlMapOutput

func (EtlMap) ToEtlMapOutputWithContext

func (i EtlMap) ToEtlMapOutputWithContext(ctx context.Context) EtlMapOutput

type EtlMapInput

type EtlMapInput interface {
	pulumi.Input

	ToEtlMapOutput() EtlMapOutput
	ToEtlMapOutputWithContext(context.Context) EtlMapOutput
}

EtlMapInput is an input type that accepts EtlMap and EtlMapOutput values. You can construct a concrete instance of `EtlMapInput` via:

EtlMap{ "key": EtlArgs{...} }

type EtlMapOutput

type EtlMapOutput struct{ *pulumi.OutputState }

func (EtlMapOutput) ElementType

func (EtlMapOutput) ElementType() reflect.Type

func (EtlMapOutput) MapIndex

func (o EtlMapOutput) MapIndex(k pulumi.StringInput) EtlOutput

func (EtlMapOutput) ToEtlMapOutput

func (o EtlMapOutput) ToEtlMapOutput() EtlMapOutput

func (EtlMapOutput) ToEtlMapOutputWithContext

func (o EtlMapOutput) ToEtlMapOutputWithContext(ctx context.Context) EtlMapOutput

type EtlOutput

type EtlOutput struct{ *pulumi.OutputState }

func (EtlOutput) AccessKeyId

func (o EtlOutput) AccessKeyId() pulumi.StringPtrOutput

Delivery target logstore access key id.

func (EtlOutput) AccessKeySecret

func (o EtlOutput) AccessKeySecret() pulumi.StringPtrOutput

Delivery target logstore access key secret.

func (EtlOutput) CreateTime

func (o EtlOutput) CreateTime() pulumi.IntOutput

The etl job create time.

func (EtlOutput) Description

func (o EtlOutput) Description() pulumi.StringPtrOutput

Description of the log etl job.

func (EtlOutput) DisplayName

func (o EtlOutput) DisplayName() pulumi.StringOutput

Log service etl job alias.

func (EtlOutput) ElementType

func (EtlOutput) ElementType() reflect.Type

func (EtlOutput) EtlName

func (o EtlOutput) EtlName() pulumi.StringOutput

The name of the log etl job.

func (EtlOutput) EtlSinks

func (o EtlOutput) EtlSinks() EtlEtlSinkArrayOutput

Target logstore configuration for delivery after data processing.

func (EtlOutput) EtlType

func (o EtlOutput) EtlType() pulumi.StringPtrOutput

Log service etl type, the default value is `ETL`.

func (EtlOutput) FromTime

func (o EtlOutput) FromTime() pulumi.IntPtrOutput

The start time of the processing job, if not set the value is 0, indicates to start processing from the oldest data.

func (EtlOutput) KmsEncryptedAccessKeyId

func (o EtlOutput) KmsEncryptedAccessKeyId() pulumi.StringPtrOutput

An KMS encrypts access key id used to a log etl job. If the `accessKeyId` is filled in, this field will be ignored.

func (EtlOutput) KmsEncryptedAccessKeySecret

func (o EtlOutput) KmsEncryptedAccessKeySecret() pulumi.StringPtrOutput

An KMS encrypts access key secret used to a log etl job. If the `accessKeySecret` is filled in, this field will be ignored.

func (EtlOutput) KmsEncryptionAccessKeyIdContext

func (o EtlOutput) KmsEncryptionAccessKeyIdContext() pulumi.MapOutput

An KMS encryption context used to decrypt `kmsEncryptedAccessKeyId` before creating or updating an instance with `kmsEncryptedAccessKeyId`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. When it is changed, the instance will reboot to make the change take effect.

func (EtlOutput) KmsEncryptionAccessKeySecretContext

func (o EtlOutput) KmsEncryptionAccessKeySecretContext() pulumi.MapOutput

An KMS encryption context used to decrypt `kmsEncryptedAccessKeySecret` before creating or updating an instance with `kmsEncryptedAccessKeySecret`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. When it is changed, the instance will reboot to make the change take effect.

func (EtlOutput) LastModifiedTime

func (o EtlOutput) LastModifiedTime() pulumi.IntOutput

ETL job last modified time.

func (EtlOutput) Logstore

func (o EtlOutput) Logstore() pulumi.StringOutput

Delivery target logstore.

func (EtlOutput) Parameters

func (o EtlOutput) Parameters() pulumi.StringMapOutput

Advanced parameter configuration of processing operations.

func (EtlOutput) Project

func (o EtlOutput) Project() pulumi.StringOutput

The project where the target logstore is delivered.

func (EtlOutput) RoleArn

func (o EtlOutput) RoleArn() pulumi.StringPtrOutput

Sts role info under delivery target logstore. `roleArn` and `(access_key_id, access_key_secret)` fill in at most one. If you do not fill in both, then you must fill in `(kms_encrypted_access_key_id, kms_encrypted_access_key_secret, kms_encryption_access_key_id_context, kms_encryption_access_key_secret_context)` to use KMS to get the key pair.

func (EtlOutput) Schedule

func (o EtlOutput) Schedule() pulumi.StringPtrOutput

Job scheduling type, the default value is Resident.

func (EtlOutput) Script

func (o EtlOutput) Script() pulumi.StringOutput

Processing operation grammar.

func (EtlOutput) Status

func (o EtlOutput) Status() pulumi.StringOutput

Log project tags. the default value is RUNNING, Only 4 values are supported: `STARTING`,`RUNNING`,`STOPPING`,`STOPPED`.

func (EtlOutput) ToEtlOutput

func (o EtlOutput) ToEtlOutput() EtlOutput

func (EtlOutput) ToEtlOutputWithContext

func (o EtlOutput) ToEtlOutputWithContext(ctx context.Context) EtlOutput

func (EtlOutput) ToTime

func (o EtlOutput) ToTime() pulumi.IntPtrOutput

Deadline of processing job, if not set the value is 0, indicates that new data will be processed continuously.

func (EtlOutput) Version

func (o EtlOutput) Version() pulumi.IntPtrOutput

Log etl job version. the default value is `2`.

type EtlState

type EtlState struct {
	// Delivery target logstore access key id.
	AccessKeyId pulumi.StringPtrInput
	// Delivery target logstore access key secret.
	AccessKeySecret pulumi.StringPtrInput
	// The etl job create time.
	CreateTime pulumi.IntPtrInput
	// Description of the log etl job.
	Description pulumi.StringPtrInput
	// Log service etl job alias.
	DisplayName pulumi.StringPtrInput
	// The name of the log etl job.
	EtlName pulumi.StringPtrInput
	// Target logstore configuration for delivery after data processing.
	EtlSinks EtlEtlSinkArrayInput
	// Log service etl type, the default value is `ETL`.
	EtlType pulumi.StringPtrInput
	// The start time of the processing job, if not set the value is 0, indicates to start processing from the oldest data.
	FromTime pulumi.IntPtrInput
	// An KMS encrypts access key id used to a log etl job. If the `accessKeyId` is filled in, this field will be ignored.
	KmsEncryptedAccessKeyId pulumi.StringPtrInput
	// An KMS encrypts access key secret used to a log etl job. If the `accessKeySecret` is filled in, this field will be ignored.
	KmsEncryptedAccessKeySecret pulumi.StringPtrInput
	// An KMS encryption context used to decrypt `kmsEncryptedAccessKeyId` before creating or updating an instance with `kmsEncryptedAccessKeyId`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. When it is changed, the instance will reboot to make the change take effect.
	KmsEncryptionAccessKeyIdContext pulumi.MapInput
	// An KMS encryption context used to decrypt `kmsEncryptedAccessKeySecret` before creating or updating an instance with `kmsEncryptedAccessKeySecret`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. When it is changed, the instance will reboot to make the change take effect.
	KmsEncryptionAccessKeySecretContext pulumi.MapInput
	// ETL job last modified time.
	LastModifiedTime pulumi.IntPtrInput
	// Delivery target logstore.
	Logstore pulumi.StringPtrInput
	// Advanced parameter configuration of processing operations.
	Parameters pulumi.StringMapInput
	// The project where the target logstore is delivered.
	Project pulumi.StringPtrInput
	// Sts role info under delivery target logstore. `roleArn` and `(access_key_id, access_key_secret)` fill in at most one. If you do not fill in both, then you must fill in `(kms_encrypted_access_key_id, kms_encrypted_access_key_secret, kms_encryption_access_key_id_context, kms_encryption_access_key_secret_context)` to use KMS to get the key pair.
	RoleArn pulumi.StringPtrInput
	// Job scheduling type, the default value is Resident.
	Schedule pulumi.StringPtrInput
	// Processing operation grammar.
	Script pulumi.StringPtrInput
	// Log project tags. the default value is RUNNING, Only 4 values are supported: `STARTING`,`RUNNING`,`STOPPING`,`STOPPED`.
	Status pulumi.StringPtrInput
	// Deadline of processing job, if not set the value is 0, indicates that new data will be processed continuously.
	ToTime pulumi.IntPtrInput
	// Log etl job version. the default value is `2`.
	Version pulumi.IntPtrInput
}

func (EtlState) ElementType

func (EtlState) ElementType() reflect.Type

type GetAlertResourceArgs

type GetAlertResourceArgs struct {
	// The lang of alert center resource when type is user.
	Lang *string `pulumi:"lang"`
	// The project of alert resource when type is project.
	Project *string `pulumi:"project"`
	// The type of alert resources, must be user or project, 'user' for init aliyuncloud account's alert center resource, including project named sls-alert-{uid}-{region} and some dashboards; 'project' for init project's alert resource, including logstore named internal-alert-history and alert dashboard.
	Type string `pulumi:"type"`
}

A collection of arguments for invoking getAlertResource.

type GetAlertResourceOutputArgs

type GetAlertResourceOutputArgs struct {
	// The lang of alert center resource when type is user.
	Lang pulumi.StringPtrInput `pulumi:"lang"`
	// The project of alert resource when type is project.
	Project pulumi.StringPtrInput `pulumi:"project"`
	// The type of alert resources, must be user or project, 'user' for init aliyuncloud account's alert center resource, including project named sls-alert-{uid}-{region} and some dashboards; 'project' for init project's alert resource, including logstore named internal-alert-history and alert dashboard.
	Type pulumi.StringInput `pulumi:"type"`
}

A collection of arguments for invoking getAlertResource.

func (GetAlertResourceOutputArgs) ElementType

func (GetAlertResourceOutputArgs) ElementType() reflect.Type

type GetAlertResourceResult

type GetAlertResourceResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id      string  `pulumi:"id"`
	Lang    *string `pulumi:"lang"`
	Project *string `pulumi:"project"`
	Type    string  `pulumi:"type"`
}

A collection of values returned by getAlertResource.

func GetAlertResource

func GetAlertResource(ctx *pulumi.Context, args *GetAlertResourceArgs, opts ...pulumi.InvokeOption) (*GetAlertResourceResult, error)

Using this data source can init SLS Alert resources automatically.

For information about SLS Alert and how to use it, see [SLS Alert Overview](https://www.alibabacloud.com/help/en/doc-detail/209202.html)

> **NOTE:** Available in v1.161.0+

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/log"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/log"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := log.GetAlertResource(ctx, &log.GetAlertResourceArgs{
			Lang: pulumi.StringRef("cn"),
			Type: "user",
		}, nil)
		if err != nil {
			return err
		}
		_, err = log.GetAlertResource(ctx, &log.GetAlertResourceArgs{
			Project: pulumi.StringRef("test-alert-tf"),
			Type:    "project",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetAlertResourceResultOutput

type GetAlertResourceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAlertResource.

func (GetAlertResourceResultOutput) ElementType

func (GetAlertResourceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAlertResourceResultOutput) Lang

func (GetAlertResourceResultOutput) Project

func (GetAlertResourceResultOutput) ToGetAlertResourceResultOutput

func (o GetAlertResourceResultOutput) ToGetAlertResourceResultOutput() GetAlertResourceResultOutput

func (GetAlertResourceResultOutput) ToGetAlertResourceResultOutputWithContext

func (o GetAlertResourceResultOutput) ToGetAlertResourceResultOutputWithContext(ctx context.Context) GetAlertResourceResultOutput

func (GetAlertResourceResultOutput) Type

type GetProjectsArgs

type GetProjectsArgs struct {
	// A list of project IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by project name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	// The status of project.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getProjects.

type GetProjectsOutputArgs

type GetProjectsOutputArgs struct {
	// A list of project IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by project name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of project.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getProjects.

func (GetProjectsOutputArgs) ElementType

func (GetProjectsOutputArgs) ElementType() reflect.Type

type GetProjectsProject

type GetProjectsProject struct {
	// The description of the project.
	Description string `pulumi:"description"`
	// The ID of the project.
	Id string `pulumi:"id"`
	// The last modify time of project.
	LastModifyTime string `pulumi:"lastModifyTime"`
	// The owner of project.
	Owner string `pulumi:"owner"`
	// The name of the project.
	ProjectName string `pulumi:"projectName"`
	// The region of project.
	Region string `pulumi:"region"`
	// The status of project.
	Status string `pulumi:"status"`
}

type GetProjectsProjectArgs

type GetProjectsProjectArgs struct {
	// The description of the project.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the project.
	Id pulumi.StringInput `pulumi:"id"`
	// The last modify time of project.
	LastModifyTime pulumi.StringInput `pulumi:"lastModifyTime"`
	// The owner of project.
	Owner pulumi.StringInput `pulumi:"owner"`
	// The name of the project.
	ProjectName pulumi.StringInput `pulumi:"projectName"`
	// The region of project.
	Region pulumi.StringInput `pulumi:"region"`
	// The status of project.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetProjectsProjectArgs) ElementType

func (GetProjectsProjectArgs) ElementType() reflect.Type

func (GetProjectsProjectArgs) ToGetProjectsProjectOutput

func (i GetProjectsProjectArgs) ToGetProjectsProjectOutput() GetProjectsProjectOutput

func (GetProjectsProjectArgs) ToGetProjectsProjectOutputWithContext

func (i GetProjectsProjectArgs) ToGetProjectsProjectOutputWithContext(ctx context.Context) GetProjectsProjectOutput

type GetProjectsProjectArray

type GetProjectsProjectArray []GetProjectsProjectInput

func (GetProjectsProjectArray) ElementType

func (GetProjectsProjectArray) ElementType() reflect.Type

func (GetProjectsProjectArray) ToGetProjectsProjectArrayOutput

func (i GetProjectsProjectArray) ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput

func (GetProjectsProjectArray) ToGetProjectsProjectArrayOutputWithContext

func (i GetProjectsProjectArray) ToGetProjectsProjectArrayOutputWithContext(ctx context.Context) GetProjectsProjectArrayOutput

type GetProjectsProjectArrayInput

type GetProjectsProjectArrayInput interface {
	pulumi.Input

	ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput
	ToGetProjectsProjectArrayOutputWithContext(context.Context) GetProjectsProjectArrayOutput
}

GetProjectsProjectArrayInput is an input type that accepts GetProjectsProjectArray and GetProjectsProjectArrayOutput values. You can construct a concrete instance of `GetProjectsProjectArrayInput` via:

GetProjectsProjectArray{ GetProjectsProjectArgs{...} }

type GetProjectsProjectArrayOutput

type GetProjectsProjectArrayOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectArrayOutput) ElementType

func (GetProjectsProjectArrayOutput) Index

func (GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutput

func (o GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput

func (GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutputWithContext

func (o GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutputWithContext(ctx context.Context) GetProjectsProjectArrayOutput

type GetProjectsProjectInput

type GetProjectsProjectInput interface {
	pulumi.Input

	ToGetProjectsProjectOutput() GetProjectsProjectOutput
	ToGetProjectsProjectOutputWithContext(context.Context) GetProjectsProjectOutput
}

GetProjectsProjectInput is an input type that accepts GetProjectsProjectArgs and GetProjectsProjectOutput values. You can construct a concrete instance of `GetProjectsProjectInput` via:

GetProjectsProjectArgs{...}

type GetProjectsProjectOutput

type GetProjectsProjectOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectOutput) Description

The description of the project.

func (GetProjectsProjectOutput) ElementType

func (GetProjectsProjectOutput) ElementType() reflect.Type

func (GetProjectsProjectOutput) Id

The ID of the project.

func (GetProjectsProjectOutput) LastModifyTime

func (o GetProjectsProjectOutput) LastModifyTime() pulumi.StringOutput

The last modify time of project.

func (GetProjectsProjectOutput) Owner

The owner of project.

func (GetProjectsProjectOutput) ProjectName

The name of the project.

func (GetProjectsProjectOutput) Region

The region of project.

func (GetProjectsProjectOutput) Status

The status of project.

func (GetProjectsProjectOutput) ToGetProjectsProjectOutput

func (o GetProjectsProjectOutput) ToGetProjectsProjectOutput() GetProjectsProjectOutput

func (GetProjectsProjectOutput) ToGetProjectsProjectOutputWithContext

func (o GetProjectsProjectOutput) ToGetProjectsProjectOutputWithContext(ctx context.Context) GetProjectsProjectOutput

type GetProjectsResult

type GetProjectsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string               `pulumi:"id"`
	Ids        []string             `pulumi:"ids"`
	NameRegex  *string              `pulumi:"nameRegex"`
	Names      []string             `pulumi:"names"`
	OutputFile *string              `pulumi:"outputFile"`
	Projects   []GetProjectsProject `pulumi:"projects"`
	Status     *string              `pulumi:"status"`
}

A collection of values returned by getProjects.

func GetProjects

func GetProjects(ctx *pulumi.Context, args *GetProjectsArgs, opts ...pulumi.InvokeOption) (*GetProjectsResult, error)

This data source provides the Log Projects of the current Alibaba Cloud user.

> **NOTE:** Available in v1.126.0+.

type GetProjectsResultOutput

type GetProjectsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjects.

func (GetProjectsResultOutput) ElementType

func (GetProjectsResultOutput) ElementType() reflect.Type

func (GetProjectsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetProjectsResultOutput) Ids

func (GetProjectsResultOutput) NameRegex

func (GetProjectsResultOutput) Names

func (GetProjectsResultOutput) OutputFile

func (GetProjectsResultOutput) Projects

func (GetProjectsResultOutput) Status

func (GetProjectsResultOutput) ToGetProjectsResultOutput

func (o GetProjectsResultOutput) ToGetProjectsResultOutput() GetProjectsResultOutput

func (GetProjectsResultOutput) ToGetProjectsResultOutputWithContext

func (o GetProjectsResultOutput) ToGetProjectsResultOutputWithContext(ctx context.Context) GetProjectsResultOutput

type GetServiceArgs

type GetServiceArgs struct {
	// Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: "On" or "Off". Default to "Off".
	Enable *string `pulumi:"enable"`
}

A collection of arguments for invoking getService.

type GetServiceOutputArgs

type GetServiceOutputArgs struct {
	// Setting the value to `On` to enable the service. If has been enabled, return the result. Valid values: "On" or "Off". Default to "Off".
	Enable pulumi.StringPtrInput `pulumi:"enable"`
}

A collection of arguments for invoking getService.

func (GetServiceOutputArgs) ElementType

func (GetServiceOutputArgs) ElementType() reflect.Type

type GetServiceResult

type GetServiceResult struct {
	Enable *string `pulumi:"enable"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The current service enable status.
	Status string `pulumi:"status"`
}

A collection of values returned by getService.

func GetService

func GetService(ctx *pulumi.Context, args *GetServiceArgs, opts ...pulumi.InvokeOption) (*GetServiceResult, error)

Using this data source can enable Log service automatically. If the service has been enabled, it will return `Opened`.

For information about Log service and how to use it, see [What is Log Service](https://www.alibabacloud.com/help/product/28958.htm).

> **NOTE:** Available in v1.96.0+

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/log"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/log"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := log.GetService(ctx, &log.GetServiceArgs{
			Enable: pulumi.StringRef("On"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetServiceResultOutput

type GetServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getService.

func (GetServiceResultOutput) ElementType

func (GetServiceResultOutput) ElementType() reflect.Type

func (GetServiceResultOutput) Enable

func (GetServiceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetServiceResultOutput) Status

The current service enable status.

func (GetServiceResultOutput) ToGetServiceResultOutput

func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput

func (GetServiceResultOutput) ToGetServiceResultOutputWithContext

func (o GetServiceResultOutput) ToGetServiceResultOutputWithContext(ctx context.Context) GetServiceResultOutput

type GetStoresArgs

type GetStoresArgs struct {
	// A list of store IDs.
	Ids []string `pulumi:"ids"`
	// A regex string to filter results by store name.
	NameRegex  *string `pulumi:"nameRegex"`
	OutputFile *string `pulumi:"outputFile"`
	Project    string  `pulumi:"project"`
}

A collection of arguments for invoking getStores.

type GetStoresOutputArgs

type GetStoresOutputArgs struct {
	// A list of store IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by store name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	Project    pulumi.StringInput    `pulumi:"project"`
}

A collection of arguments for invoking getStores.

func (GetStoresOutputArgs) ElementType

func (GetStoresOutputArgs) ElementType() reflect.Type

type GetStoresResult

type GetStoresResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string           `pulumi:"id"`
	Ids        []string         `pulumi:"ids"`
	NameRegex  *string          `pulumi:"nameRegex"`
	Names      []string         `pulumi:"names"`
	OutputFile *string          `pulumi:"outputFile"`
	Project    string           `pulumi:"project"`
	Stores     []GetStoresStore `pulumi:"stores"`
}

A collection of values returned by getStores.

func GetStores

func GetStores(ctx *pulumi.Context, args *GetStoresArgs, opts ...pulumi.InvokeOption) (*GetStoresResult, error)

This data source provides the Log Stores of the current Alibaba Cloud user.

> **NOTE:** Available in v1.126.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/log"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/log"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := log.GetStores(ctx, &log.GetStoresArgs{
			Project: "the_project_name",
			Ids: []string{
				"the_store_name",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstLogStoreId", example.Stores[0].Id)
		return nil
	})
}

```

type GetStoresResultOutput

type GetStoresResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStores.

func (GetStoresResultOutput) ElementType

func (GetStoresResultOutput) ElementType() reflect.Type

func (GetStoresResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetStoresResultOutput) Ids

func (GetStoresResultOutput) NameRegex

func (GetStoresResultOutput) Names

func (GetStoresResultOutput) OutputFile

func (GetStoresResultOutput) Project

func (GetStoresResultOutput) Stores

func (GetStoresResultOutput) ToGetStoresResultOutput

func (o GetStoresResultOutput) ToGetStoresResultOutput() GetStoresResultOutput

func (GetStoresResultOutput) ToGetStoresResultOutputWithContext

func (o GetStoresResultOutput) ToGetStoresResultOutputWithContext(ctx context.Context) GetStoresResultOutput

type GetStoresStore

type GetStoresStore struct {
	// The ID of the store.
	Id string `pulumi:"id"`
	// The name of the store.
	StoreName string `pulumi:"storeName"`
}

type GetStoresStoreArgs

type GetStoresStoreArgs struct {
	// The ID of the store.
	Id pulumi.StringInput `pulumi:"id"`
	// The name of the store.
	StoreName pulumi.StringInput `pulumi:"storeName"`
}

func (GetStoresStoreArgs) ElementType

func (GetStoresStoreArgs) ElementType() reflect.Type

func (GetStoresStoreArgs) ToGetStoresStoreOutput

func (i GetStoresStoreArgs) ToGetStoresStoreOutput() GetStoresStoreOutput

func (GetStoresStoreArgs) ToGetStoresStoreOutputWithContext

func (i GetStoresStoreArgs) ToGetStoresStoreOutputWithContext(ctx context.Context) GetStoresStoreOutput

type GetStoresStoreArray

type GetStoresStoreArray []GetStoresStoreInput

func (GetStoresStoreArray) ElementType

func (GetStoresStoreArray) ElementType() reflect.Type

func (GetStoresStoreArray) ToGetStoresStoreArrayOutput

func (i GetStoresStoreArray) ToGetStoresStoreArrayOutput() GetStoresStoreArrayOutput

func (GetStoresStoreArray) ToGetStoresStoreArrayOutputWithContext

func (i GetStoresStoreArray) ToGetStoresStoreArrayOutputWithContext(ctx context.Context) GetStoresStoreArrayOutput

type GetStoresStoreArrayInput

type GetStoresStoreArrayInput interface {
	pulumi.Input

	ToGetStoresStoreArrayOutput() GetStoresStoreArrayOutput
	ToGetStoresStoreArrayOutputWithContext(context.Context) GetStoresStoreArrayOutput
}

GetStoresStoreArrayInput is an input type that accepts GetStoresStoreArray and GetStoresStoreArrayOutput values. You can construct a concrete instance of `GetStoresStoreArrayInput` via:

GetStoresStoreArray{ GetStoresStoreArgs{...} }

type GetStoresStoreArrayOutput

type GetStoresStoreArrayOutput struct{ *pulumi.OutputState }

func (GetStoresStoreArrayOutput) ElementType

func (GetStoresStoreArrayOutput) ElementType() reflect.Type

func (GetStoresStoreArrayOutput) Index

func (GetStoresStoreArrayOutput) ToGetStoresStoreArrayOutput

func (o GetStoresStoreArrayOutput) ToGetStoresStoreArrayOutput() GetStoresStoreArrayOutput

func (GetStoresStoreArrayOutput) ToGetStoresStoreArrayOutputWithContext

func (o GetStoresStoreArrayOutput) ToGetStoresStoreArrayOutputWithContext(ctx context.Context) GetStoresStoreArrayOutput

type GetStoresStoreInput

type GetStoresStoreInput interface {
	pulumi.Input

	ToGetStoresStoreOutput() GetStoresStoreOutput
	ToGetStoresStoreOutputWithContext(context.Context) GetStoresStoreOutput
}

GetStoresStoreInput is an input type that accepts GetStoresStoreArgs and GetStoresStoreOutput values. You can construct a concrete instance of `GetStoresStoreInput` via:

GetStoresStoreArgs{...}

type GetStoresStoreOutput

type GetStoresStoreOutput struct{ *pulumi.OutputState }

func (GetStoresStoreOutput) ElementType

func (GetStoresStoreOutput) ElementType() reflect.Type

func (GetStoresStoreOutput) Id

The ID of the store.

func (GetStoresStoreOutput) StoreName

The name of the store.

func (GetStoresStoreOutput) ToGetStoresStoreOutput

func (o GetStoresStoreOutput) ToGetStoresStoreOutput() GetStoresStoreOutput

func (GetStoresStoreOutput) ToGetStoresStoreOutputWithContext

func (o GetStoresStoreOutput) ToGetStoresStoreOutputWithContext(ctx context.Context) GetStoresStoreOutput

type Ingestion

type Ingestion struct {
	pulumi.CustomResourceState

	// Ingestion job description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name displayed on the web page.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Ingestion job name, it can only contain lowercase letters, numbers, dashes `-` and underscores `_`. It must start and end with lowercase letters or numbers, and the name must be 2 to 128 characters long.
	IngestionName pulumi.StringOutput `pulumi:"ingestionName"`
	// Task execution interval, support minute `m`, hour `h`, day `d`, for example 30 minutes `30m`.
	Interval pulumi.StringOutput `pulumi:"interval"`
	// The name of the target logstore.
	Logstore pulumi.StringOutput `pulumi:"logstore"`
	// The name of the log project. It is the only in one Alicloud account.
	Project pulumi.StringOutput `pulumi:"project"`
	// Whether to run the ingestion job immediately, if false, wait for an interval before starting the ingestion.
	RunImmediately pulumi.BoolOutput `pulumi:"runImmediately"`
	// Data source and data format details. [Refer to details](https://www.alibabacloud.com/help/en/doc-detail/147819.html).
	Source pulumi.StringOutput `pulumi:"source"`
	// Which time zone is the log time imported in, e.g. `+0800`.
	TimeZone pulumi.StringPtrOutput `pulumi:"timeZone"`
}

Log service ingestion, this service provides the function of importing logs of various data sources(OSS, MaxCompute) into logstore. [Refer to details](https://www.alibabacloud.com/help/en/doc-detail/147819.html).

> **NOTE:** Available in 1.161.0+

## Example Usage

Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/log"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := log.NewProject(ctx, "exampleProject", &log.ProjectArgs{
			Description: pulumi.String("created by terraform"),
			Tags: pulumi.AnyMap{
				"test": pulumi.Any("test"),
			},
		})
		if err != nil {
			return err
		}
		exampleStore, err := log.NewStore(ctx, "exampleStore", &log.StoreArgs{
			Project:            exampleProject.Name,
			RetentionPeriod:    pulumi.Int(3650),
			ShardCount:         pulumi.Int(3),
			AutoSplit:          pulumi.Bool(true),
			MaxSplitShardCount: pulumi.Int(60),
			AppendMeta:         pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = log.NewIngestion(ctx, "exampleIngestion", &log.IngestionArgs{
			Project:        exampleProject.Name,
			Logstore:       exampleStore.Name,
			IngestionName:  pulumi.String("ingestion_name"),
			DisplayName:    pulumi.String("display_name"),
			Description:    pulumi.String("oss2sls"),
			Interval:       pulumi.String("30m"),
			RunImmediately: pulumi.Bool(true),
			TimeZone:       pulumi.String("+0800"),
			Source: pulumi.String(fmt.Sprintf(`        {
          "bucket": "bucket_name",
          "compressionCodec": "none",
          "encoding": "UTF-8",
          "endpoint": "oss-cn-hangzhou-internal.aliyuncs.com",
          "format": {
            "escapeChar": "\\",
            "fieldDelimiter": ",",
            "fieldNames": [],
            "firstRowAsHeader": true,
            "maxLines": 1,
            "quoteChar": "\"",
            "skipLeadingRows": 0,
            "timeField": "",
            "type": "DelimitedText"
          },
          "pattern": "",
          "prefix": "test-prefix/",
          "restoreObjectEnabled": false,
          "roleARN": "acs:ram::1049446484210612:role/aliyunlogimportossrole",
          "type": "AliyunOSS"
        }

`)),

		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Log ingestion can be imported using the id or name, e.g.

```sh

$ pulumi import alicloud:log/ingestion:Ingestion example tf-log-project:tf-log-logstore:ingestion_name

```

func GetIngestion

func GetIngestion(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IngestionState, opts ...pulumi.ResourceOption) (*Ingestion, error)

GetIngestion gets an existing Ingestion 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 NewIngestion

func NewIngestion(ctx *pulumi.Context,
	name string, args *IngestionArgs, opts ...pulumi.ResourceOption) (*Ingestion, error)

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

func (*Ingestion) ElementType

func (*Ingestion) ElementType() reflect.Type

func (*Ingestion) ToIngestionOutput

func (i *Ingestion) ToIngestionOutput() IngestionOutput

func (*Ingestion) ToIngestionOutputWithContext

func (i *Ingestion) ToIngestionOutputWithContext(ctx context.Context) IngestionOutput

type IngestionArgs

type IngestionArgs struct {
	// Ingestion job description.
	Description pulumi.StringPtrInput
	// The name displayed on the web page.
	DisplayName pulumi.StringInput
	// Ingestion job name, it can only contain lowercase letters, numbers, dashes `-` and underscores `_`. It must start and end with lowercase letters or numbers, and the name must be 2 to 128 characters long.
	IngestionName pulumi.StringInput
	// Task execution interval, support minute `m`, hour `h`, day `d`, for example 30 minutes `30m`.
	Interval pulumi.StringInput
	// The name of the target logstore.
	Logstore pulumi.StringInput
	// The name of the log project. It is the only in one Alicloud account.
	Project pulumi.StringInput
	// Whether to run the ingestion job immediately, if false, wait for an interval before starting the ingestion.
	RunImmediately pulumi.BoolInput
	// Data source and data format details. [Refer to details](https://www.alibabacloud.com/help/en/doc-detail/147819.html).
	Source pulumi.StringInput
	// Which time zone is the log time imported in, e.g. `+0800`.
	TimeZone pulumi.StringPtrInput
}

The set of arguments for constructing a Ingestion resource.

func (IngestionArgs) ElementType

func (IngestionArgs) ElementType() reflect.Type

type IngestionArray

type IngestionArray []IngestionInput

func (IngestionArray) ElementType

func (IngestionArray) ElementType() reflect.Type

func (IngestionArray) ToIngestionArrayOutput

func (i IngestionArray) ToIngestionArrayOutput() IngestionArrayOutput

func (IngestionArray) ToIngestionArrayOutputWithContext

func (i IngestionArray) ToIngestionArrayOutputWithContext(ctx context.Context) IngestionArrayOutput

type IngestionArrayInput

type IngestionArrayInput interface {
	pulumi.Input

	ToIngestionArrayOutput() IngestionArrayOutput
	ToIngestionArrayOutputWithContext(context.Context) IngestionArrayOutput
}

IngestionArrayInput is an input type that accepts IngestionArray and IngestionArrayOutput values. You can construct a concrete instance of `IngestionArrayInput` via:

IngestionArray{ IngestionArgs{...} }

type IngestionArrayOutput

type IngestionArrayOutput struct{ *pulumi.OutputState }

func (IngestionArrayOutput) ElementType

func (IngestionArrayOutput) ElementType() reflect.Type

func (IngestionArrayOutput) Index

func (IngestionArrayOutput) ToIngestionArrayOutput

func (o IngestionArrayOutput) ToIngestionArrayOutput() IngestionArrayOutput

func (IngestionArrayOutput) ToIngestionArrayOutputWithContext

func (o IngestionArrayOutput) ToIngestionArrayOutputWithContext(ctx context.Context) IngestionArrayOutput

type IngestionInput

type IngestionInput interface {
	pulumi.Input

	ToIngestionOutput() IngestionOutput
	ToIngestionOutputWithContext(ctx context.Context) IngestionOutput
}

type IngestionMap

type IngestionMap map[string]IngestionInput

func (IngestionMap) ElementType

func (IngestionMap) ElementType() reflect.Type

func (IngestionMap) ToIngestionMapOutput

func (i IngestionMap) ToIngestionMapOutput() IngestionMapOutput

func (IngestionMap) ToIngestionMapOutputWithContext

func (i IngestionMap) ToIngestionMapOutputWithContext(ctx context.Context) IngestionMapOutput

type IngestionMapInput

type IngestionMapInput interface {
	pulumi.Input

	ToIngestionMapOutput() IngestionMapOutput
	ToIngestionMapOutputWithContext(context.Context) IngestionMapOutput
}

IngestionMapInput is an input type that accepts IngestionMap and IngestionMapOutput values. You can construct a concrete instance of `IngestionMapInput` via:

IngestionMap{ "key": IngestionArgs{...} }

type IngestionMapOutput

type IngestionMapOutput struct{ *pulumi.OutputState }

func (IngestionMapOutput) ElementType

func (IngestionMapOutput) ElementType() reflect.Type

func (IngestionMapOutput) MapIndex

func (IngestionMapOutput) ToIngestionMapOutput

func (o IngestionMapOutput) ToIngestionMapOutput() IngestionMapOutput

func (IngestionMapOutput) ToIngestionMapOutputWithContext

func (o IngestionMapOutput) ToIngestionMapOutputWithContext(ctx context.Context) IngestionMapOutput

type IngestionOutput

type IngestionOutput struct{ *pulumi.OutputState }

func (IngestionOutput) Description

func (o IngestionOutput) Description() pulumi.StringPtrOutput

Ingestion job description.

func (IngestionOutput) DisplayName

func (o IngestionOutput) DisplayName() pulumi.StringOutput

The name displayed on the web page.

func (IngestionOutput) ElementType

func (IngestionOutput) ElementType() reflect.Type

func (IngestionOutput) IngestionName

func (o IngestionOutput) IngestionName() pulumi.StringOutput

Ingestion job name, it can only contain lowercase letters, numbers, dashes `-` and underscores `_`. It must start and end with lowercase letters or numbers, and the name must be 2 to 128 characters long.

func (IngestionOutput) Interval

func (o IngestionOutput) Interval() pulumi.StringOutput

Task execution interval, support minute `m`, hour `h`, day `d`, for example 30 minutes `30m`.

func (IngestionOutput) Logstore

func (o IngestionOutput) Logstore() pulumi.StringOutput

The name of the target logstore.

func (IngestionOutput) Project

func (o IngestionOutput) Project() pulumi.StringOutput

The name of the log project. It is the only in one Alicloud account.

func (IngestionOutput) RunImmediately

func (o IngestionOutput) RunImmediately() pulumi.BoolOutput

Whether to run the ingestion job immediately, if false, wait for an interval before starting the ingestion.

func (IngestionOutput) Source

func (o IngestionOutput) Source() pulumi.StringOutput

Data source and data format details. [Refer to details](https://www.alibabacloud.com/help/en/doc-detail/147819.html).

func (IngestionOutput) TimeZone

func (o IngestionOutput) TimeZone() pulumi.StringPtrOutput

Which time zone is the log time imported in, e.g. `+0800`.

func (IngestionOutput) ToIngestionOutput

func (o IngestionOutput) ToIngestionOutput() IngestionOutput

func (IngestionOutput) ToIngestionOutputWithContext

func (o IngestionOutput) ToIngestionOutputWithContext(ctx context.Context) IngestionOutput

type IngestionState

type IngestionState struct {
	// Ingestion job description.
	Description pulumi.StringPtrInput
	// The name displayed on the web page.
	DisplayName pulumi.StringPtrInput
	// Ingestion job name, it can only contain lowercase letters, numbers, dashes `-` and underscores `_`. It must start and end with lowercase letters or numbers, and the name must be 2 to 128 characters long.
	IngestionName pulumi.StringPtrInput
	// Task execution interval, support minute `m`, hour `h`, day `d`, for example 30 minutes `30m`.
	Interval pulumi.StringPtrInput
	// The name of the target logstore.
	Logstore pulumi.StringPtrInput
	// The name of the log project. It is the only in one Alicloud account.
	Project pulumi.StringPtrInput
	// Whether to run the ingestion job immediately, if false, wait for an interval before starting the ingestion.
	RunImmediately pulumi.BoolPtrInput
	// Data source and data format details. [Refer to details](https://www.alibabacloud.com/help/en/doc-detail/147819.html).
	Source pulumi.StringPtrInput
	// Which time zone is the log time imported in, e.g. `+0800`.
	TimeZone pulumi.StringPtrInput
}

func (IngestionState) ElementType

func (IngestionState) 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.

## Example Usage

Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/log"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testProject, err := log.NewProject(ctx, "testProject", &log.ProjectArgs{
			Description: pulumi.String("create by terraform"),
		})
		if err != nil {
			return err
		}
		testStore, err := log.NewStore(ctx, "testStore", &log.StoreArgs{
			Project:            testProject.Name,
			RetentionPeriod:    pulumi.Int(3650),
			ShardCount:         pulumi.Int(3),
			AutoSplit:          pulumi.Bool(true),
			MaxSplitShardCount: pulumi.Int(60),
			AppendMeta:         pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		testMachineGroup, err := log.NewMachineGroup(ctx, "testMachineGroup", &log.MachineGroupArgs{
			Project: testProject.Name,
			Topic:   pulumi.String("terraform"),
			IdentifyLists: pulumi.StringArray{
				pulumi.String("10.0.0.1"),
				pulumi.String("10.0.0.3"),
				pulumi.String("10.0.0.2"),
			},
		})
		if err != nil {
			return err
		}
		testLogTailConfig, err := log.NewLogTailConfig(ctx, "testLogTailConfig", &log.LogTailConfigArgs{
			Project:    testProject.Name,
			Logstore:   testStore.Name,
			InputType:  pulumi.String("file"),
			LogSample:  pulumi.String("test"),
			OutputType: pulumi.String("LogService"),
			InputDetail: pulumi.String(fmt.Sprintf(`  	{
		"logPath": "/logPath",
		"filePattern": "access.log",
		"logType": "json_log",
		"topicFormat": "default",
		"discardUnmatch": false,
		"enableRawLog": true,
		"fileEncoding": "gbk",
		"maxDepth": 10
	}

`)),

		})
		if err != nil {
			return err
		}
		_, err = log.NewLogTailAttachment(ctx, "testLogTailAttachment", &log.LogTailAttachmentArgs{
			Project:           testProject.Name,
			LogtailConfigName: testLogTailConfig.Name,
			MachineGroupName:  testMachineGroup.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Logtial to machine group can be imported using the id, e.g.

```sh

$ pulumi import alicloud:log/logTailAttachment:LogTailAttachment example tf-log:tf-log-config:tf-log-machine-group

```

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.

func (*LogTailAttachment) ElementType

func (*LogTailAttachment) ElementType() reflect.Type

func (*LogTailAttachment) ToLogTailAttachmentOutput

func (i *LogTailAttachment) ToLogTailAttachmentOutput() LogTailAttachmentOutput

func (*LogTailAttachment) ToLogTailAttachmentOutputWithContext

func (i *LogTailAttachment) ToLogTailAttachmentOutputWithContext(ctx context.Context) LogTailAttachmentOutput

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 LogTailAttachmentArray

type LogTailAttachmentArray []LogTailAttachmentInput

func (LogTailAttachmentArray) ElementType

func (LogTailAttachmentArray) ElementType() reflect.Type

func (LogTailAttachmentArray) ToLogTailAttachmentArrayOutput

func (i LogTailAttachmentArray) ToLogTailAttachmentArrayOutput() LogTailAttachmentArrayOutput

func (LogTailAttachmentArray) ToLogTailAttachmentArrayOutputWithContext

func (i LogTailAttachmentArray) ToLogTailAttachmentArrayOutputWithContext(ctx context.Context) LogTailAttachmentArrayOutput

type LogTailAttachmentArrayInput

type LogTailAttachmentArrayInput interface {
	pulumi.Input

	ToLogTailAttachmentArrayOutput() LogTailAttachmentArrayOutput
	ToLogTailAttachmentArrayOutputWithContext(context.Context) LogTailAttachmentArrayOutput
}

LogTailAttachmentArrayInput is an input type that accepts LogTailAttachmentArray and LogTailAttachmentArrayOutput values. You can construct a concrete instance of `LogTailAttachmentArrayInput` via:

LogTailAttachmentArray{ LogTailAttachmentArgs{...} }

type LogTailAttachmentArrayOutput

type LogTailAttachmentArrayOutput struct{ *pulumi.OutputState }

func (LogTailAttachmentArrayOutput) ElementType

func (LogTailAttachmentArrayOutput) Index

func (LogTailAttachmentArrayOutput) ToLogTailAttachmentArrayOutput

func (o LogTailAttachmentArrayOutput) ToLogTailAttachmentArrayOutput() LogTailAttachmentArrayOutput

func (LogTailAttachmentArrayOutput) ToLogTailAttachmentArrayOutputWithContext

func (o LogTailAttachmentArrayOutput) ToLogTailAttachmentArrayOutputWithContext(ctx context.Context) LogTailAttachmentArrayOutput

type LogTailAttachmentInput

type LogTailAttachmentInput interface {
	pulumi.Input

	ToLogTailAttachmentOutput() LogTailAttachmentOutput
	ToLogTailAttachmentOutputWithContext(ctx context.Context) LogTailAttachmentOutput
}

type LogTailAttachmentMap

type LogTailAttachmentMap map[string]LogTailAttachmentInput

func (LogTailAttachmentMap) ElementType

func (LogTailAttachmentMap) ElementType() reflect.Type

func (LogTailAttachmentMap) ToLogTailAttachmentMapOutput

func (i LogTailAttachmentMap) ToLogTailAttachmentMapOutput() LogTailAttachmentMapOutput

func (LogTailAttachmentMap) ToLogTailAttachmentMapOutputWithContext

func (i LogTailAttachmentMap) ToLogTailAttachmentMapOutputWithContext(ctx context.Context) LogTailAttachmentMapOutput

type LogTailAttachmentMapInput

type LogTailAttachmentMapInput interface {
	pulumi.Input

	ToLogTailAttachmentMapOutput() LogTailAttachmentMapOutput
	ToLogTailAttachmentMapOutputWithContext(context.Context) LogTailAttachmentMapOutput
}

LogTailAttachmentMapInput is an input type that accepts LogTailAttachmentMap and LogTailAttachmentMapOutput values. You can construct a concrete instance of `LogTailAttachmentMapInput` via:

LogTailAttachmentMap{ "key": LogTailAttachmentArgs{...} }

type LogTailAttachmentMapOutput

type LogTailAttachmentMapOutput struct{ *pulumi.OutputState }

func (LogTailAttachmentMapOutput) ElementType

func (LogTailAttachmentMapOutput) ElementType() reflect.Type

func (LogTailAttachmentMapOutput) MapIndex

func (LogTailAttachmentMapOutput) ToLogTailAttachmentMapOutput

func (o LogTailAttachmentMapOutput) ToLogTailAttachmentMapOutput() LogTailAttachmentMapOutput

func (LogTailAttachmentMapOutput) ToLogTailAttachmentMapOutputWithContext

func (o LogTailAttachmentMapOutput) ToLogTailAttachmentMapOutputWithContext(ctx context.Context) LogTailAttachmentMapOutput

type LogTailAttachmentOutput

type LogTailAttachmentOutput struct{ *pulumi.OutputState }

func (LogTailAttachmentOutput) ElementType

func (LogTailAttachmentOutput) ElementType() reflect.Type

func (LogTailAttachmentOutput) LogtailConfigName

func (o LogTailAttachmentOutput) LogtailConfigName() pulumi.StringOutput

The Logtail configuration name, which is unique in the same project.

func (LogTailAttachmentOutput) MachineGroupName

func (o LogTailAttachmentOutput) MachineGroupName() pulumi.StringOutput

The machine group name, which is unique in the same project.

func (LogTailAttachmentOutput) Project

The project name to the log store belongs.

func (LogTailAttachmentOutput) ToLogTailAttachmentOutput

func (o LogTailAttachmentOutput) ToLogTailAttachmentOutput() LogTailAttachmentOutput

func (LogTailAttachmentOutput) ToLogTailAttachmentOutputWithContext

func (o LogTailAttachmentOutput) ToLogTailAttachmentOutputWithContext(ctx context.Context) LogTailAttachmentOutput

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

## Import

Logtial config can be imported using the id, e.g.

```sh

$ pulumi import alicloud:log/logTailConfig:LogTailConfig example tf-log:tf-log-store:tf-log-config

```

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.

func (*LogTailConfig) ElementType

func (*LogTailConfig) ElementType() reflect.Type

func (*LogTailConfig) ToLogTailConfigOutput

func (i *LogTailConfig) ToLogTailConfigOutput() LogTailConfigOutput

func (*LogTailConfig) ToLogTailConfigOutputWithContext

func (i *LogTailConfig) ToLogTailConfigOutputWithContext(ctx context.Context) LogTailConfigOutput

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 LogTailConfigArray

type LogTailConfigArray []LogTailConfigInput

func (LogTailConfigArray) ElementType

func (LogTailConfigArray) ElementType() reflect.Type

func (LogTailConfigArray) ToLogTailConfigArrayOutput

func (i LogTailConfigArray) ToLogTailConfigArrayOutput() LogTailConfigArrayOutput

func (LogTailConfigArray) ToLogTailConfigArrayOutputWithContext

func (i LogTailConfigArray) ToLogTailConfigArrayOutputWithContext(ctx context.Context) LogTailConfigArrayOutput

type LogTailConfigArrayInput

type LogTailConfigArrayInput interface {
	pulumi.Input

	ToLogTailConfigArrayOutput() LogTailConfigArrayOutput
	ToLogTailConfigArrayOutputWithContext(context.Context) LogTailConfigArrayOutput
}

LogTailConfigArrayInput is an input type that accepts LogTailConfigArray and LogTailConfigArrayOutput values. You can construct a concrete instance of `LogTailConfigArrayInput` via:

LogTailConfigArray{ LogTailConfigArgs{...} }

type LogTailConfigArrayOutput

type LogTailConfigArrayOutput struct{ *pulumi.OutputState }

func (LogTailConfigArrayOutput) ElementType

func (LogTailConfigArrayOutput) ElementType() reflect.Type

func (LogTailConfigArrayOutput) Index

func (LogTailConfigArrayOutput) ToLogTailConfigArrayOutput

func (o LogTailConfigArrayOutput) ToLogTailConfigArrayOutput() LogTailConfigArrayOutput

func (LogTailConfigArrayOutput) ToLogTailConfigArrayOutputWithContext

func (o LogTailConfigArrayOutput) ToLogTailConfigArrayOutputWithContext(ctx context.Context) LogTailConfigArrayOutput

type LogTailConfigInput

type LogTailConfigInput interface {
	pulumi.Input

	ToLogTailConfigOutput() LogTailConfigOutput
	ToLogTailConfigOutputWithContext(ctx context.Context) LogTailConfigOutput
}

type LogTailConfigMap

type LogTailConfigMap map[string]LogTailConfigInput

func (LogTailConfigMap) ElementType

func (LogTailConfigMap) ElementType() reflect.Type

func (LogTailConfigMap) ToLogTailConfigMapOutput

func (i LogTailConfigMap) ToLogTailConfigMapOutput() LogTailConfigMapOutput

func (LogTailConfigMap) ToLogTailConfigMapOutputWithContext

func (i LogTailConfigMap) ToLogTailConfigMapOutputWithContext(ctx context.Context) LogTailConfigMapOutput

type LogTailConfigMapInput

type LogTailConfigMapInput interface {
	pulumi.Input

	ToLogTailConfigMapOutput() LogTailConfigMapOutput
	ToLogTailConfigMapOutputWithContext(context.Context) LogTailConfigMapOutput
}

LogTailConfigMapInput is an input type that accepts LogTailConfigMap and LogTailConfigMapOutput values. You can construct a concrete instance of `LogTailConfigMapInput` via:

LogTailConfigMap{ "key": LogTailConfigArgs{...} }

type LogTailConfigMapOutput

type LogTailConfigMapOutput struct{ *pulumi.OutputState }

func (LogTailConfigMapOutput) ElementType

func (LogTailConfigMapOutput) ElementType() reflect.Type

func (LogTailConfigMapOutput) MapIndex

func (LogTailConfigMapOutput) ToLogTailConfigMapOutput

func (o LogTailConfigMapOutput) ToLogTailConfigMapOutput() LogTailConfigMapOutput

func (LogTailConfigMapOutput) ToLogTailConfigMapOutputWithContext

func (o LogTailConfigMapOutput) ToLogTailConfigMapOutputWithContext(ctx context.Context) LogTailConfigMapOutput

type LogTailConfigOutput

type LogTailConfigOutput struct{ *pulumi.OutputState }

func (LogTailConfigOutput) ElementType

func (LogTailConfigOutput) ElementType() reflect.Type

func (LogTailConfigOutput) InputDetail

func (o LogTailConfigOutput) InputDetail() pulumi.StringOutput

The logtail configure the required JSON files. ([Refer to details](https://www.alibabacloud.com/help/doc-detail/29058.htm))

func (LogTailConfigOutput) InputType

func (o LogTailConfigOutput) InputType() pulumi.StringOutput

The input type. Currently only two types of files and plugin are supported.

func (LogTailConfigOutput) LogSample

(Optional)The log sample of the Logtail configuration. The log size cannot exceed 1,000 bytes.

func (LogTailConfigOutput) Logstore

The log store name to the query index belongs.

func (LogTailConfigOutput) Name

The Logtail configuration name, which is unique in the same project.

func (LogTailConfigOutput) OutputType

func (o LogTailConfigOutput) OutputType() pulumi.StringOutput

The output type. Currently, only LogService is supported.

func (LogTailConfigOutput) Project

The project name to the log store belongs.

func (LogTailConfigOutput) ToLogTailConfigOutput

func (o LogTailConfigOutput) ToLogTailConfigOutput() LogTailConfigOutput

func (LogTailConfigOutput) ToLogTailConfigOutputWithContext

func (o LogTailConfigOutput) ToLogTailConfigOutputWithContext(ctx context.Context) LogTailConfigOutput

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

## Import

Log machine group can be imported using the id, e.g.

```sh

$ pulumi import alicloud:log/machineGroup:MachineGroup example tf-log:tf-machine-group

```

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.

func (*MachineGroup) ElementType

func (*MachineGroup) ElementType() reflect.Type

func (*MachineGroup) ToMachineGroupOutput

func (i *MachineGroup) ToMachineGroupOutput() MachineGroupOutput

func (*MachineGroup) ToMachineGroupOutputWithContext

func (i *MachineGroup) ToMachineGroupOutputWithContext(ctx context.Context) MachineGroupOutput

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 MachineGroupArray

type MachineGroupArray []MachineGroupInput

func (MachineGroupArray) ElementType

func (MachineGroupArray) ElementType() reflect.Type

func (MachineGroupArray) ToMachineGroupArrayOutput

func (i MachineGroupArray) ToMachineGroupArrayOutput() MachineGroupArrayOutput

func (MachineGroupArray) ToMachineGroupArrayOutputWithContext

func (i MachineGroupArray) ToMachineGroupArrayOutputWithContext(ctx context.Context) MachineGroupArrayOutput

type MachineGroupArrayInput

type MachineGroupArrayInput interface {
	pulumi.Input

	ToMachineGroupArrayOutput() MachineGroupArrayOutput
	ToMachineGroupArrayOutputWithContext(context.Context) MachineGroupArrayOutput
}

MachineGroupArrayInput is an input type that accepts MachineGroupArray and MachineGroupArrayOutput values. You can construct a concrete instance of `MachineGroupArrayInput` via:

MachineGroupArray{ MachineGroupArgs{...} }

type MachineGroupArrayOutput

type MachineGroupArrayOutput struct{ *pulumi.OutputState }

func (MachineGroupArrayOutput) ElementType

func (MachineGroupArrayOutput) ElementType() reflect.Type

func (MachineGroupArrayOutput) Index

func (MachineGroupArrayOutput) ToMachineGroupArrayOutput

func (o MachineGroupArrayOutput) ToMachineGroupArrayOutput() MachineGroupArrayOutput

func (MachineGroupArrayOutput) ToMachineGroupArrayOutputWithContext

func (o MachineGroupArrayOutput) ToMachineGroupArrayOutputWithContext(ctx context.Context) MachineGroupArrayOutput

type MachineGroupInput

type MachineGroupInput interface {
	pulumi.Input

	ToMachineGroupOutput() MachineGroupOutput
	ToMachineGroupOutputWithContext(ctx context.Context) MachineGroupOutput
}

type MachineGroupMap

type MachineGroupMap map[string]MachineGroupInput

func (MachineGroupMap) ElementType

func (MachineGroupMap) ElementType() reflect.Type

func (MachineGroupMap) ToMachineGroupMapOutput

func (i MachineGroupMap) ToMachineGroupMapOutput() MachineGroupMapOutput

func (MachineGroupMap) ToMachineGroupMapOutputWithContext

func (i MachineGroupMap) ToMachineGroupMapOutputWithContext(ctx context.Context) MachineGroupMapOutput

type MachineGroupMapInput

type MachineGroupMapInput interface {
	pulumi.Input

	ToMachineGroupMapOutput() MachineGroupMapOutput
	ToMachineGroupMapOutputWithContext(context.Context) MachineGroupMapOutput
}

MachineGroupMapInput is an input type that accepts MachineGroupMap and MachineGroupMapOutput values. You can construct a concrete instance of `MachineGroupMapInput` via:

MachineGroupMap{ "key": MachineGroupArgs{...} }

type MachineGroupMapOutput

type MachineGroupMapOutput struct{ *pulumi.OutputState }

func (MachineGroupMapOutput) ElementType

func (MachineGroupMapOutput) ElementType() reflect.Type

func (MachineGroupMapOutput) MapIndex

func (MachineGroupMapOutput) ToMachineGroupMapOutput

func (o MachineGroupMapOutput) ToMachineGroupMapOutput() MachineGroupMapOutput

func (MachineGroupMapOutput) ToMachineGroupMapOutputWithContext

func (o MachineGroupMapOutput) ToMachineGroupMapOutputWithContext(ctx context.Context) MachineGroupMapOutput

type MachineGroupOutput

type MachineGroupOutput struct{ *pulumi.OutputState }

func (MachineGroupOutput) ElementType

func (MachineGroupOutput) ElementType() reflect.Type

func (MachineGroupOutput) IdentifyLists

func (o MachineGroupOutput) IdentifyLists() pulumi.StringArrayOutput

The specific machine identification, which can be an IP address or user-defined identity.

func (MachineGroupOutput) IdentifyType

func (o MachineGroupOutput) IdentifyType() pulumi.StringPtrOutput

The machine identification type, including IP and user-defined identity. Valid values are "ip" and "userdefined". Default to "ip".

func (MachineGroupOutput) Name

The machine group name, which is unique in the same project.

func (MachineGroupOutput) Project

The project name to the machine group belongs.

func (MachineGroupOutput) ToMachineGroupOutput

func (o MachineGroupOutput) ToMachineGroupOutput() MachineGroupOutput

func (MachineGroupOutput) ToMachineGroupOutputWithContext

func (o MachineGroupOutput) ToMachineGroupOutputWithContext(ctx context.Context) MachineGroupOutput

func (MachineGroupOutput) Topic

The topic of a machine group.

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 OssShipper

type OssShipper struct {
	pulumi.CustomResourceState

	// How often is it delivered every interval.
	BufferInterval pulumi.IntOutput `pulumi:"bufferInterval"`
	// Automatically control the creation interval of delivery tasks and set the upper limit of an OSS object size (calculated in uncompressed), unit: `MB`.
	BufferSize pulumi.IntOutput `pulumi:"bufferSize"`
	// OSS data storage compression method, support: none, snappy. Among them, none means that the original data is not compressed, and snappy means that the data is compressed using the snappy algorithm, which can reduce the storage space usage of the `OSS Bucket`.
	CompressType            pulumi.StringPtrOutput   `pulumi:"compressType"`
	CsvConfigColumns        pulumi.StringArrayOutput `pulumi:"csvConfigColumns"`
	CsvConfigDelimiter      pulumi.StringPtrOutput   `pulumi:"csvConfigDelimiter"`
	CsvConfigHeader         pulumi.BoolPtrOutput     `pulumi:"csvConfigHeader"`
	CsvConfigLinefeed       pulumi.StringPtrOutput   `pulumi:"csvConfigLinefeed"`
	CsvConfigNullidentifier pulumi.StringPtrOutput   `pulumi:"csvConfigNullidentifier"`
	CsvConfigQuote          pulumi.StringPtrOutput   `pulumi:"csvConfigQuote"`
	// Storage format, only supports three types: `json`, `parquet`, `csv`.
	// **According to the different format, please select the following parameters**
	// - format = `json`
	//   `jsonEnableTag` - (Optional) Whether to deliver the label.
	// - format = `csv`
	//   `csvConfigDelimiter` - (Optional) Separator configuration in csv configuration format.
	//   `csvConfigColumns` - (Optional) Field configuration in csv configuration format.
	//   `csvConfigNullidentifier` - (Optional) Invalid field content.
	//   `csvConfigQuote` - (Optional) Escape character under csv configuration.
	//   `csvConfigHeader` - (Optional) Indicates whether to write the field name to the CSV file, the default value is `false`.
	//   `csvConfigLinefeed` - (Optional) lineFeed in csv configuration.
	// - format = `parquet`
	//   `parquetConfig` - (Optional) Configure to use parquet storage format.
	//   `name` - (Required) The name of the key.
	//   `type` - (Required) Type of configuration name.
	Format        pulumi.StringOutput  `pulumi:"format"`
	JsonEnableTag pulumi.BoolPtrOutput `pulumi:"jsonEnableTag"`
	// The name of the log logstore.
	LogstoreName pulumi.StringOutput `pulumi:"logstoreName"`
	// The name of the oss bucket.
	OssBucket pulumi.StringOutput `pulumi:"ossBucket"`
	// The data synchronized from Log Service to OSS will be stored in this directory of Bucket.
	OssPrefix      pulumi.StringPtrOutput             `pulumi:"ossPrefix"`
	ParquetConfigs OssShipperParquetConfigArrayOutput `pulumi:"parquetConfigs"`
	// The OSS Bucket directory is dynamically generated according to the creation time of the shipper task, it cannot start with a forward slash `/`, the default value is `%Y/%m/%d/%H/%M`.
	PathFormat pulumi.StringOutput `pulumi:"pathFormat"`
	// The name of the log project. It is the only in one Alicloud account.
	ProjectName pulumi.StringOutput `pulumi:"projectName"`
	// Used for access control, the OSS Bucket owner creates the role mark, such as `acs:ram::13234:role/logrole`
	RoleArn pulumi.StringPtrOutput `pulumi:"roleArn"`
	// Delivery configuration name, it can only contain lowercase letters, numbers, dashes `-` and underscores `_`. It must start and end with lowercase letters or numbers, and the name must be 2 to 128 characters long.
	ShipperName pulumi.StringOutput `pulumi:"shipperName"`
}

Log service data delivery management, this service provides the function of delivering data in logstore to oss product storage. [Refer to details](https://www.alibabacloud.com/help/en/doc-detail/43724.htm).

> **NOTE:** Available in 1.121.0+

## Example Usage

Basic Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/log"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleProject, err := log.NewProject(ctx, "exampleProject", &log.ProjectArgs{
			Description: pulumi.String("created by terraform"),
			Tags: pulumi.AnyMap{
				"test": pulumi.Any("test"),
			},
		})
		if err != nil {
			return err
		}
		exampleStore, err := log.NewStore(ctx, "exampleStore", &log.StoreArgs{
			Project:            exampleProject.Name,
			RetentionPeriod:    pulumi.Int(3650),
			ShardCount:         pulumi.Int(3),
			AutoSplit:          pulumi.Bool(true),
			MaxSplitShardCount: pulumi.Int(60),
			AppendMeta:         pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = log.NewOssShipper(ctx, "exampleOssShipper", &log.OssShipperArgs{
			ProjectName:    exampleProject.Name,
			LogstoreName:   exampleStore.Name,
			ShipperName:    pulumi.String("oss_shipper_name"),
			OssBucket:      pulumi.String("test_bucket"),
			OssPrefix:      pulumi.String("root"),
			BufferInterval: pulumi.Int(300),
			BufferSize:     pulumi.Int(250),
			CompressType:   pulumi.String("none"),
			PathFormat:     pulumi.String(fmt.Sprintf("%vY/%vm/%vd/%vH/%vM", "%", "%", "%", "%", "%")),
			Format:         pulumi.String("json"),
			JsonEnableTag:  pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Log oss shipper can be imported using the id or name, e.g.

```sh

$ pulumi import alicloud:log/ossShipper:OssShipper example tf-log-project:tf-log-logstore:tf-log-shipper

```

func GetOssShipper

func GetOssShipper(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OssShipperState, opts ...pulumi.ResourceOption) (*OssShipper, error)

GetOssShipper gets an existing OssShipper 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 NewOssShipper

func NewOssShipper(ctx *pulumi.Context,
	name string, args *OssShipperArgs, opts ...pulumi.ResourceOption) (*OssShipper, error)

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

func (*OssShipper) ElementType

func (*OssShipper) ElementType() reflect.Type

func (*OssShipper) ToOssShipperOutput

func (i *OssShipper) ToOssShipperOutput() OssShipperOutput

func (*OssShipper) ToOssShipperOutputWithContext

func (i *OssShipper) ToOssShipperOutputWithContext(ctx context.Context) OssShipperOutput

type OssShipperArgs

type OssShipperArgs struct {
	// How often is it delivered every interval.
	BufferInterval pulumi.IntInput
	// Automatically control the creation interval of delivery tasks and set the upper limit of an OSS object size (calculated in uncompressed), unit: `MB`.
	BufferSize pulumi.IntInput
	// OSS data storage compression method, support: none, snappy. Among them, none means that the original data is not compressed, and snappy means that the data is compressed using the snappy algorithm, which can reduce the storage space usage of the `OSS Bucket`.
	CompressType            pulumi.StringPtrInput
	CsvConfigColumns        pulumi.StringArrayInput
	CsvConfigDelimiter      pulumi.StringPtrInput
	CsvConfigHeader         pulumi.BoolPtrInput
	CsvConfigLinefeed       pulumi.StringPtrInput
	CsvConfigNullidentifier pulumi.StringPtrInput
	CsvConfigQuote          pulumi.StringPtrInput
	// Storage format, only supports three types: `json`, `parquet`, `csv`.
	// **According to the different format, please select the following parameters**
	// - format = `json`
	//   `jsonEnableTag` - (Optional) Whether to deliver the label.
	// - format = `csv`
	//   `csvConfigDelimiter` - (Optional) Separator configuration in csv configuration format.
	//   `csvConfigColumns` - (Optional) Field configuration in csv configuration format.
	//   `csvConfigNullidentifier` - (Optional) Invalid field content.
	//   `csvConfigQuote` - (Optional) Escape character under csv configuration.
	//   `csvConfigHeader` - (Optional) Indicates whether to write the field name to the CSV file, the default value is `false`.
	//   `csvConfigLinefeed` - (Optional) lineFeed in csv configuration.
	// - format = `parquet`
	//   `parquetConfig` - (Optional) Configure to use parquet storage format.
	//   `name` - (Required) The name of the key.
	//   `type` - (Required) Type of configuration name.
	Format        pulumi.StringInput
	JsonEnableTag pulumi.BoolPtrInput
	// The name of the log logstore.
	LogstoreName pulumi.StringInput
	// The name of the oss bucket.
	OssBucket pulumi.StringInput
	// The data synchronized from Log Service to OSS will be stored in this directory of Bucket.
	OssPrefix      pulumi.StringPtrInput
	ParquetConfigs OssShipperParquetConfigArrayInput
	// The OSS Bucket directory is dynamically generated according to the creation time of the shipper task, it cannot start with a forward slash `/`, the default value is `%Y/%m/%d/%H/%M`.
	PathFormat pulumi.StringInput
	// The name of the log project. It is the only in one Alicloud account.
	ProjectName pulumi.StringInput
	// Used for access control, the OSS Bucket owner creates the role mark, such as `acs:ram::13234:role/logrole`
	RoleArn pulumi.StringPtrInput
	// Delivery configuration name, it can only contain lowercase letters, numbers, dashes `-` and underscores `_`. It must start and end with lowercase letters or numbers, and the name must be 2 to 128 characters long.
	ShipperName pulumi.StringInput
}

The set of arguments for constructing a OssShipper resource.

func (OssShipperArgs) ElementType

func (OssShipperArgs) ElementType() reflect.Type

type OssShipperArray

type OssShipperArray []OssShipperInput

func (OssShipperArray) ElementType

func (OssShipperArray) ElementType() reflect.Type

func (OssShipperArray) ToOssShipperArrayOutput

func (i OssShipperArray) ToOssShipperArrayOutput() OssShipperArrayOutput

func (OssShipperArray) ToOssShipperArrayOutputWithContext

func (i OssShipperArray) ToOssShipperArrayOutputWithContext(ctx context.Context) OssShipperArrayOutput

type OssShipperArrayInput

type OssShipperArrayInput interface {
	pulumi.Input

	ToOssShipperArrayOutput() OssShipperArrayOutput
	ToOssShipperArrayOutputWithContext(context.Context) OssShipperArrayOutput
}

OssShipperArrayInput is an input type that accepts OssShipperArray and OssShipperArrayOutput values. You can construct a concrete instance of `OssShipperArrayInput` via:

OssShipperArray{ OssShipperArgs{...} }

type OssShipperArrayOutput

type OssShipperArrayOutput struct{ *pulumi.OutputState }

func (OssShipperArrayOutput) ElementType

func (OssShipperArrayOutput) ElementType() reflect.Type

func (OssShipperArrayOutput) Index

func (OssShipperArrayOutput) ToOssShipperArrayOutput

func (o OssShipperArrayOutput) ToOssShipperArrayOutput() OssShipperArrayOutput

func (OssShipperArrayOutput) ToOssShipperArrayOutputWithContext

func (o OssShipperArrayOutput) ToOssShipperArrayOutputWithContext(ctx context.Context) OssShipperArrayOutput

type OssShipperInput

type OssShipperInput interface {
	pulumi.Input

	ToOssShipperOutput() OssShipperOutput
	ToOssShipperOutputWithContext(ctx context.Context) OssShipperOutput
}

type OssShipperMap

type OssShipperMap map[string]OssShipperInput

func (OssShipperMap) ElementType

func (OssShipperMap) ElementType() reflect.Type

func (OssShipperMap) ToOssShipperMapOutput

func (i OssShipperMap) ToOssShipperMapOutput() OssShipperMapOutput

func (OssShipperMap) ToOssShipperMapOutputWithContext

func (i OssShipperMap) ToOssShipperMapOutputWithContext(ctx context.Context) OssShipperMapOutput

type OssShipperMapInput

type OssShipperMapInput interface {
	pulumi.Input

	ToOssShipperMapOutput() OssShipperMapOutput
	ToOssShipperMapOutputWithContext(context.Context) OssShipperMapOutput
}

OssShipperMapInput is an input type that accepts OssShipperMap and OssShipperMapOutput values. You can construct a concrete instance of `OssShipperMapInput` via:

OssShipperMap{ "key": OssShipperArgs{...} }

type OssShipperMapOutput

type OssShipperMapOutput struct{ *pulumi.OutputState }

func (OssShipperMapOutput) ElementType

func (OssShipperMapOutput) ElementType() reflect.Type

func (OssShipperMapOutput) MapIndex

func (OssShipperMapOutput) ToOssShipperMapOutput

func (o OssShipperMapOutput) ToOssShipperMapOutput() OssShipperMapOutput

func (OssShipperMapOutput) ToOssShipperMapOutputWithContext

func (o OssShipperMapOutput) ToOssShipperMapOutputWithContext(ctx context.Context) OssShipperMapOutput

type OssShipperOutput

type OssShipperOutput struct{ *pulumi.OutputState }

func (OssShipperOutput) BufferInterval

func (o OssShipperOutput) BufferInterval() pulumi.IntOutput

How often is it delivered every interval.

func (OssShipperOutput) BufferSize

func (o OssShipperOutput) BufferSize() pulumi.IntOutput

Automatically control the creation interval of delivery tasks and set the upper limit of an OSS object size (calculated in uncompressed), unit: `MB`.

func (OssShipperOutput) CompressType

func (o OssShipperOutput) CompressType() pulumi.StringPtrOutput

OSS data storage compression method, support: none, snappy. Among them, none means that the original data is not compressed, and snappy means that the data is compressed using the snappy algorithm, which can reduce the storage space usage of the `OSS Bucket`.

func (OssShipperOutput) CsvConfigColumns

func (o OssShipperOutput) CsvConfigColumns() pulumi.StringArrayOutput

func (OssShipperOutput) CsvConfigDelimiter

func (o OssShipperOutput) CsvConfigDelimiter() pulumi.StringPtrOutput

func (OssShipperOutput) CsvConfigHeader

func (o OssShipperOutput) CsvConfigHeader() pulumi.BoolPtrOutput

func (OssShipperOutput) CsvConfigLinefeed

func (o OssShipperOutput) CsvConfigLinefeed() pulumi.StringPtrOutput

func (OssShipperOutput) CsvConfigNullidentifier

func (o OssShipperOutput) CsvConfigNullidentifier() pulumi.StringPtrOutput

func (OssShipperOutput) CsvConfigQuote

func (o OssShipperOutput) CsvConfigQuote() pulumi.StringPtrOutput

func (OssShipperOutput) ElementType

func (OssShipperOutput) ElementType() reflect.Type

func (OssShipperOutput) Format

Storage format, only supports three types: `json`, `parquet`, `csv`. **According to the different format, please select the following parameters**

  • format = `json` `jsonEnableTag` - (Optional) Whether to deliver the label.
  • format = `csv` `csvConfigDelimiter` - (Optional) Separator configuration in csv configuration format. `csvConfigColumns` - (Optional) Field configuration in csv configuration format. `csvConfigNullidentifier` - (Optional) Invalid field content. `csvConfigQuote` - (Optional) Escape character under csv configuration. `csvConfigHeader` - (Optional) Indicates whether to write the field name to the CSV file, the default value is `false`. `csvConfigLinefeed` - (Optional) lineFeed in csv configuration.
  • format = `parquet` `parquetConfig` - (Optional) Configure to use parquet storage format. `name` - (Required) The name of the key. `type` - (Required) Type of configuration name.

func (OssShipperOutput) JsonEnableTag

func (o OssShipperOutput) JsonEnableTag() pulumi.BoolPtrOutput

func (OssShipperOutput) LogstoreName

func (o OssShipperOutput) LogstoreName() pulumi.StringOutput

The name of the log logstore.

func (OssShipperOutput) OssBucket

func (o OssShipperOutput) OssBucket() pulumi.StringOutput

The name of the oss bucket.

func (OssShipperOutput) OssPrefix

func (o OssShipperOutput) OssPrefix() pulumi.StringPtrOutput

The data synchronized from Log Service to OSS will be stored in this directory of Bucket.

func (OssShipperOutput) ParquetConfigs

func (OssShipperOutput) PathFormat

func (o OssShipperOutput) PathFormat() pulumi.StringOutput

The OSS Bucket directory is dynamically generated according to the creation time of the shipper task, it cannot start with a forward slash `/`, the default value is `%Y/%m/%d/%H/%M`.

func (OssShipperOutput) ProjectName

func (o OssShipperOutput) ProjectName() pulumi.StringOutput

The name of the log project. It is the only in one Alicloud account.

func (OssShipperOutput) RoleArn

Used for access control, the OSS Bucket owner creates the role mark, such as `acs:ram::13234:role/logrole`

func (OssShipperOutput) ShipperName

func (o OssShipperOutput) ShipperName() pulumi.StringOutput

Delivery configuration name, it can only contain lowercase letters, numbers, dashes `-` and underscores `_`. It must start and end with lowercase letters or numbers, and the name must be 2 to 128 characters long.

func (OssShipperOutput) ToOssShipperOutput

func (o OssShipperOutput) ToOssShipperOutput() OssShipperOutput

func (OssShipperOutput) ToOssShipperOutputWithContext

func (o OssShipperOutput) ToOssShipperOutputWithContext(ctx context.Context) OssShipperOutput

type OssShipperParquetConfig

type OssShipperParquetConfig struct {
	Name string `pulumi:"name"`
	Type string `pulumi:"type"`
}

type OssShipperParquetConfigArgs

type OssShipperParquetConfigArgs struct {
	Name pulumi.StringInput `pulumi:"name"`
	Type pulumi.StringInput `pulumi:"type"`
}

func (OssShipperParquetConfigArgs) ElementType

func (OssShipperParquetConfigArgs) ToOssShipperParquetConfigOutput

func (i OssShipperParquetConfigArgs) ToOssShipperParquetConfigOutput() OssShipperParquetConfigOutput

func (OssShipperParquetConfigArgs) ToOssShipperParquetConfigOutputWithContext

func (i OssShipperParquetConfigArgs) ToOssShipperParquetConfigOutputWithContext(ctx context.Context) OssShipperParquetConfigOutput

type OssShipperParquetConfigArray

type OssShipperParquetConfigArray []OssShipperParquetConfigInput

func (OssShipperParquetConfigArray) ElementType

func (OssShipperParquetConfigArray) ToOssShipperParquetConfigArrayOutput

func (i OssShipperParquetConfigArray) ToOssShipperParquetConfigArrayOutput() OssShipperParquetConfigArrayOutput

func (OssShipperParquetConfigArray) ToOssShipperParquetConfigArrayOutputWithContext

func (i OssShipperParquetConfigArray) ToOssShipperParquetConfigArrayOutputWithContext(ctx context.Context) OssShipperParquetConfigArrayOutput

type OssShipperParquetConfigArrayInput

type OssShipperParquetConfigArrayInput interface {
	pulumi.Input

	ToOssShipperParquetConfigArrayOutput() OssShipperParquetConfigArrayOutput
	ToOssShipperParquetConfigArrayOutputWithContext(context.Context) OssShipperParquetConfigArrayOutput
}

OssShipperParquetConfigArrayInput is an input type that accepts OssShipperParquetConfigArray and OssShipperParquetConfigArrayOutput values. You can construct a concrete instance of `OssShipperParquetConfigArrayInput` via:

OssShipperParquetConfigArray{ OssShipperParquetConfigArgs{...} }

type OssShipperParquetConfigArrayOutput

type OssShipperParquetConfigArrayOutput struct{ *pulumi.OutputState }

func (OssShipperParquetConfigArrayOutput) ElementType

func (OssShipperParquetConfigArrayOutput) Index

func (OssShipperParquetConfigArrayOutput) ToOssShipperParquetConfigArrayOutput

func (o OssShipperParquetConfigArrayOutput) ToOssShipperParquetConfigArrayOutput() OssShipperParquetConfigArrayOutput

func (OssShipperParquetConfigArrayOutput) ToOssShipperParquetConfigArrayOutputWithContext

func (o OssShipperParquetConfigArrayOutput) ToOssShipperParquetConfigArrayOutputWithContext(ctx context.Context) OssShipperParquetConfigArrayOutput

type OssShipperParquetConfigInput

type OssShipperParquetConfigInput interface {
	pulumi.Input

	ToOssShipperParquetConfigOutput() OssShipperParquetConfigOutput
	ToOssShipperParquetConfigOutputWithContext(context.Context) OssShipperParquetConfigOutput
}

OssShipperParquetConfigInput is an input type that accepts OssShipperParquetConfigArgs and OssShipperParquetConfigOutput values. You can construct a concrete instance of `OssShipperParquetConfigInput` via:

OssShipperParquetConfigArgs{...}

type OssShipperParquetConfigOutput

type OssShipperParquetConfigOutput struct{ *pulumi.OutputState }

func (OssShipperParquetConfigOutput) ElementType

func (OssShipperParquetConfigOutput) Name

func (OssShipperParquetConfigOutput) ToOssShipperParquetConfigOutput

func (o OssShipperParquetConfigOutput) ToOssShipperParquetConfigOutput() OssShipperParquetConfigOutput

func (OssShipperParquetConfigOutput) ToOssShipperParquetConfigOutputWithContext

func (o OssShipperParquetConfigOutput) ToOssShipperParquetConfigOutputWithContext(ctx context.Context) OssShipperParquetConfigOutput

func (OssShipperParquetConfigOutput) Type

type OssShipperState

type OssShipperState struct {
	// How often is it delivered every interval.
	BufferInterval pulumi.IntPtrInput
	// Automatically control the creation interval of delivery tasks and set the upper limit of an OSS object size (calculated in uncompressed), unit: `MB`.
	BufferSize pulumi.IntPtrInput
	// OSS data storage compression method, support: none, snappy. Among them, none means that the original data is not compressed, and snappy means that the data is compressed using the snappy algorithm, which can reduce the storage space usage of the `OSS Bucket`.
	CompressType            pulumi.StringPtrInput
	CsvConfigColumns        pulumi.StringArrayInput
	CsvConfigDelimiter      pulumi.StringPtrInput
	CsvConfigHeader         pulumi.BoolPtrInput
	CsvConfigLinefeed       pulumi.StringPtrInput
	CsvConfigNullidentifier pulumi.StringPtrInput
	CsvConfigQuote          pulumi.StringPtrInput
	// Storage format, only supports three types: `json`, `parquet`, `csv`.
	// **According to the different format, please select the following parameters**
	// - format = `json`
	//   `jsonEnableTag` - (Optional) Whether to deliver the label.
	// - format = `csv`
	//   `csvConfigDelimiter` - (Optional) Separator configuration in csv configuration format.
	//   `csvConfigColumns` - (Optional) Field configuration in csv configuration format.
	//   `csvConfigNullidentifier` - (Optional) Invalid field content.
	//   `csvConfigQuote` - (Optional) Escape character under csv configuration.
	//   `csvConfigHeader` - (Optional) Indicates whether to write the field name to the CSV file, the default value is `false`.
	//   `csvConfigLinefeed` - (Optional) lineFeed in csv configuration.
	// - format = `parquet`
	//   `parquetConfig` - (Optional) Configure to use parquet storage format.
	//   `name` - (Required) The name of the key.
	//   `type` - (Required) Type of configuration name.
	Format        pulumi.StringPtrInput
	JsonEnableTag pulumi.BoolPtrInput
	// The name of the log logstore.
	LogstoreName pulumi.StringPtrInput
	// The name of the oss bucket.
	OssBucket pulumi.StringPtrInput
	// The data synchronized from Log Service to OSS will be stored in this directory of Bucket.
	OssPrefix      pulumi.StringPtrInput
	ParquetConfigs OssShipperParquetConfigArrayInput
	// The OSS Bucket directory is dynamically generated according to the creation time of the shipper task, it cannot start with a forward slash `/`, the default value is `%Y/%m/%d/%H/%M`.
	PathFormat pulumi.StringPtrInput
	// The name of the log project. It is the only in one Alicloud account.
	ProjectName pulumi.StringPtrInput
	// Used for access control, the OSS Bucket owner creates the role mark, such as `acs:ram::13234:role/logrole`
	RoleArn pulumi.StringPtrInput
	// Delivery configuration name, it can only contain lowercase letters, numbers, dashes `-` and underscores `_`. It must start and end with lowercase letters or numbers, and the name must be 2 to 128 characters long.
	ShipperName pulumi.StringPtrInput
}

func (OssShipperState) ElementType

func (OssShipperState) 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"`
	// Log project tags.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

## Import

Log project can be imported using the id or name, e.g.

```sh

$ pulumi import alicloud:log/project:Project example tf-log

```

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.

func (*Project) ElementType

func (*Project) ElementType() reflect.Type

func (*Project) ToProjectOutput

func (i *Project) ToProjectOutput() ProjectOutput

func (*Project) ToProjectOutputWithContext

func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

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
	// Log project tags.
	Tags pulumi.MapInput
}

The set of arguments for constructing a Project resource.

func (ProjectArgs) ElementType

func (ProjectArgs) ElementType() reflect.Type

type ProjectArray

type ProjectArray []ProjectInput

func (ProjectArray) ElementType

func (ProjectArray) ElementType() reflect.Type

func (ProjectArray) ToProjectArrayOutput

func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArray) ToProjectArrayOutputWithContext

func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectArrayInput

type ProjectArrayInput interface {
	pulumi.Input

	ToProjectArrayOutput() ProjectArrayOutput
	ToProjectArrayOutputWithContext(context.Context) ProjectArrayOutput
}

ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. You can construct a concrete instance of `ProjectArrayInput` via:

ProjectArray{ ProjectArgs{...} }

type ProjectArrayOutput

type ProjectArrayOutput struct{ *pulumi.OutputState }

func (ProjectArrayOutput) ElementType

func (ProjectArrayOutput) ElementType() reflect.Type

func (ProjectArrayOutput) Index

func (ProjectArrayOutput) ToProjectArrayOutput

func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArrayOutput) ToProjectArrayOutputWithContext

func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectInput

type ProjectInput interface {
	pulumi.Input

	ToProjectOutput() ProjectOutput
	ToProjectOutputWithContext(ctx context.Context) ProjectOutput
}

type ProjectMap

type ProjectMap map[string]ProjectInput

func (ProjectMap) ElementType

func (ProjectMap) ElementType() reflect.Type

func (ProjectMap) ToProjectMapOutput

func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput

func (ProjectMap) ToProjectMapOutputWithContext

func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectMapInput

type ProjectMapInput interface {
	pulumi.Input

	ToProjectMapOutput() ProjectMapOutput
	ToProjectMapOutputWithContext(context.Context) ProjectMapOutput
}

ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. You can construct a concrete instance of `ProjectMapInput` via:

ProjectMap{ "key": ProjectArgs{...} }

type ProjectMapOutput

type ProjectMapOutput struct{ *pulumi.OutputState }

func (ProjectMapOutput) ElementType

func (ProjectMapOutput) ElementType() reflect.Type

func (ProjectMapOutput) MapIndex

func (ProjectMapOutput) ToProjectMapOutput

func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput

func (ProjectMapOutput) ToProjectMapOutputWithContext

func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectOutput

type ProjectOutput struct{ *pulumi.OutputState }

func (ProjectOutput) Description

func (o ProjectOutput) Description() pulumi.StringPtrOutput

Description of the log project.

func (ProjectOutput) ElementType

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) Name

The name of the log project. It is the only in one Alicloud account.

func (ProjectOutput) Tags

func (o ProjectOutput) Tags() pulumi.MapOutput

Log project tags.

func (ProjectOutput) ToProjectOutput

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext

func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

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
	// Log project tags.
	Tags pulumi.MapInput
}

func (ProjectState) ElementType

func (ProjectState) ElementType() reflect.Type

type Resource

type Resource struct {
	pulumi.CustomResourceState

	// The meta store's description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ext info of meta store.
	ExtInfo pulumi.StringPtrOutput `pulumi:"extInfo"`
	// The meta store's name, can be used as table name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The meta store's schema info, which is json string format, used to define table's fields.
	Schema pulumi.StringOutput `pulumi:"schema"`
	// The meta store's type, userdefine e.g.
	Type pulumi.StringOutput `pulumi:"type"`
}

Log resource is a meta store service provided by log service, resource can be used to define meta store's table structure.

For information about SLS Resource and how to use it, see [Resource management](https://www.alibabacloud.com/help/en/doc-detail/207732.html)

> **NOTE:** Available in 1.162.0+, log resource region should be set a main region: cn-heyuan

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/log"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := log.NewResource(ctx, "example", &log.ResourceArgs{
			Description: pulumi.String("user tf test resource desc"),
			ExtInfo:     pulumi.String("{}"),
			Schema:      pulumi.String("{\"schema\":[{\"column\":\"col1\",\"desc\":\"col1 desc\",\"ext_info\":{},\"required\":true,\"type\":\"string\"},{\"column\":\"col2\",\"desc\":\"col2 desc\",\"ext_info\":\"optional\",\"required\":true,\"type\":\"string\"}]}"),
			Type:        pulumi.String("userdefine"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Log resource can be imported using the id, e.g.

```sh

$ pulumi import alicloud:log/resource:Resource example user.tf.test_resource

```

func GetResource

func GetResource(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourceState, opts ...pulumi.ResourceOption) (*Resource, error)

GetResource gets an existing Resource 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 NewResource

func NewResource(ctx *pulumi.Context,
	name string, args *ResourceArgs, opts ...pulumi.ResourceOption) (*Resource, error)

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

func (*Resource) ElementType

func (*Resource) ElementType() reflect.Type

func (*Resource) ToResourceOutput

func (i *Resource) ToResourceOutput() ResourceOutput

func (*Resource) ToResourceOutputWithContext

func (i *Resource) ToResourceOutputWithContext(ctx context.Context) ResourceOutput

type ResourceArgs

type ResourceArgs struct {
	// The meta store's description.
	Description pulumi.StringPtrInput
	// The ext info of meta store.
	ExtInfo pulumi.StringPtrInput
	// The meta store's name, can be used as table name.
	Name pulumi.StringPtrInput
	// The meta store's schema info, which is json string format, used to define table's fields.
	Schema pulumi.StringInput
	// The meta store's type, userdefine e.g.
	Type pulumi.StringInput
}

The set of arguments for constructing a Resource resource.

func (ResourceArgs) ElementType

func (ResourceArgs) ElementType() reflect.Type

type ResourceArray

type ResourceArray []ResourceInput

func (ResourceArray) ElementType

func (ResourceArray) ElementType() reflect.Type

func (ResourceArray) ToResourceArrayOutput

func (i ResourceArray) ToResourceArrayOutput() ResourceArrayOutput

func (ResourceArray) ToResourceArrayOutputWithContext

func (i ResourceArray) ToResourceArrayOutputWithContext(ctx context.Context) ResourceArrayOutput

type ResourceArrayInput

type ResourceArrayInput interface {
	pulumi.Input

	ToResourceArrayOutput() ResourceArrayOutput
	ToResourceArrayOutputWithContext(context.Context) ResourceArrayOutput
}

ResourceArrayInput is an input type that accepts ResourceArray and ResourceArrayOutput values. You can construct a concrete instance of `ResourceArrayInput` via:

ResourceArray{ ResourceArgs{...} }

type ResourceArrayOutput

type ResourceArrayOutput struct{ *pulumi.OutputState }

func (ResourceArrayOutput) ElementType

func (ResourceArrayOutput) ElementType() reflect.Type

func (ResourceArrayOutput) Index

func (ResourceArrayOutput) ToResourceArrayOutput

func (o ResourceArrayOutput) ToResourceArrayOutput() ResourceArrayOutput

func (ResourceArrayOutput) ToResourceArrayOutputWithContext

func (o ResourceArrayOutput) ToResourceArrayOutputWithContext(ctx context.Context) ResourceArrayOutput

type ResourceInput

type ResourceInput interface {
	pulumi.Input

	ToResourceOutput() ResourceOutput
	ToResourceOutputWithContext(ctx context.Context) ResourceOutput
}

type ResourceMap

type ResourceMap map[string]ResourceInput

func (ResourceMap) ElementType

func (ResourceMap) ElementType() reflect.Type

func (ResourceMap) ToResourceMapOutput

func (i ResourceMap) ToResourceMapOutput() ResourceMapOutput

func (ResourceMap) ToResourceMapOutputWithContext

func (i ResourceMap) ToResourceMapOutputWithContext(ctx context.Context) ResourceMapOutput

type ResourceMapInput

type ResourceMapInput interface {
	pulumi.Input

	ToResourceMapOutput() ResourceMapOutput
	ToResourceMapOutputWithContext(context.Context) ResourceMapOutput
}

ResourceMapInput is an input type that accepts ResourceMap and ResourceMapOutput values. You can construct a concrete instance of `ResourceMapInput` via:

ResourceMap{ "key": ResourceArgs{...} }

type ResourceMapOutput

type ResourceMapOutput struct{ *pulumi.OutputState }

func (ResourceMapOutput) ElementType

func (ResourceMapOutput) ElementType() reflect.Type

func (ResourceMapOutput) MapIndex

func (ResourceMapOutput) ToResourceMapOutput

func (o ResourceMapOutput) ToResourceMapOutput() ResourceMapOutput

func (ResourceMapOutput) ToResourceMapOutputWithContext

func (o ResourceMapOutput) ToResourceMapOutputWithContext(ctx context.Context) ResourceMapOutput

type ResourceOutput

type ResourceOutput struct{ *pulumi.OutputState }

func (ResourceOutput) Description

func (o ResourceOutput) Description() pulumi.StringPtrOutput

The meta store's description.

func (ResourceOutput) ElementType

func (ResourceOutput) ElementType() reflect.Type

func (ResourceOutput) ExtInfo

The ext info of meta store.

func (ResourceOutput) Name

The meta store's name, can be used as table name.

func (ResourceOutput) Schema

func (o ResourceOutput) Schema() pulumi.StringOutput

The meta store's schema info, which is json string format, used to define table's fields.

func (ResourceOutput) ToResourceOutput

func (o ResourceOutput) ToResourceOutput() ResourceOutput

func (ResourceOutput) ToResourceOutputWithContext

func (o ResourceOutput) ToResourceOutputWithContext(ctx context.Context) ResourceOutput

func (ResourceOutput) Type

The meta store's type, userdefine e.g.

type ResourceRecord

type ResourceRecord struct {
	pulumi.CustomResourceState

	// The record's id, should be unique.
	RecordId pulumi.StringOutput `pulumi:"recordId"`
	// The name defined in log_resource, log service have some internal resource, like sls.common.user, sls.common.user_group.
	ResourceName pulumi.StringOutput `pulumi:"resourceName"`
	// The record's tag, can be used for search.
	Tag pulumi.StringOutput `pulumi:"tag"`
	// The json value of record.
	Value pulumi.StringOutput `pulumi:"value"`
}

Log resource is a meta store service provided by log service, resource can be used to define meta store's table structure, record can be used for table's row data.

For information about SLS Resource and how to use it, see [Resource management](https://www.alibabacloud.com/help/en/doc-detail/207732.html)

> **NOTE:** Available in 1.162.0+, log resource region should be set a main region: cn-heyuan

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/log"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := log.NewResourceRecord(ctx, "example", &log.ResourceRecordArgs{
			RecordId:     pulumi.String("user_tf_test_resource_1"),
			ResourceName: pulumi.String("user.tf.test_resource"),
			Tag:          pulumi.String("test resource tag"),
			Value:        pulumi.String("{\"col1\": \"this is col1 value\", \"col2\": \"col2 value\"}"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Log resource record can be imported using the id, e.g.

```sh

$ pulumi import alicloud:log/resourceRecord:ResourceRecord example user.tf.test_resource:user_tf_test_resource_1

```

func GetResourceRecord

func GetResourceRecord(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourceRecordState, opts ...pulumi.ResourceOption) (*ResourceRecord, error)

GetResourceRecord gets an existing ResourceRecord 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 NewResourceRecord

func NewResourceRecord(ctx *pulumi.Context,
	name string, args *ResourceRecordArgs, opts ...pulumi.ResourceOption) (*ResourceRecord, error)

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

func (*ResourceRecord) ElementType

func (*ResourceRecord) ElementType() reflect.Type

func (*ResourceRecord) ToResourceRecordOutput

func (i *ResourceRecord) ToResourceRecordOutput() ResourceRecordOutput

func (*ResourceRecord) ToResourceRecordOutputWithContext

func (i *ResourceRecord) ToResourceRecordOutputWithContext(ctx context.Context) ResourceRecordOutput

type ResourceRecordArgs

type ResourceRecordArgs struct {
	// The record's id, should be unique.
	RecordId pulumi.StringInput
	// The name defined in log_resource, log service have some internal resource, like sls.common.user, sls.common.user_group.
	ResourceName pulumi.StringInput
	// The record's tag, can be used for search.
	Tag pulumi.StringInput
	// The json value of record.
	Value pulumi.StringInput
}

The set of arguments for constructing a ResourceRecord resource.

func (ResourceRecordArgs) ElementType

func (ResourceRecordArgs) ElementType() reflect.Type

type ResourceRecordArray

type ResourceRecordArray []ResourceRecordInput

func (ResourceRecordArray) ElementType

func (ResourceRecordArray) ElementType() reflect.Type

func (ResourceRecordArray) ToResourceRecordArrayOutput

func (i ResourceRecordArray) ToResourceRecordArrayOutput() ResourceRecordArrayOutput

func (ResourceRecordArray) ToResourceRecordArrayOutputWithContext

func (i ResourceRecordArray) ToResourceRecordArrayOutputWithContext(ctx context.Context) ResourceRecordArrayOutput

type ResourceRecordArrayInput

type ResourceRecordArrayInput interface {
	pulumi.Input

	ToResourceRecordArrayOutput() ResourceRecordArrayOutput
	ToResourceRecordArrayOutputWithContext(context.Context) ResourceRecordArrayOutput
}

ResourceRecordArrayInput is an input type that accepts ResourceRecordArray and ResourceRecordArrayOutput values. You can construct a concrete instance of `ResourceRecordArrayInput` via:

ResourceRecordArray{ ResourceRecordArgs{...} }

type ResourceRecordArrayOutput

type ResourceRecordArrayOutput struct{ *pulumi.OutputState }

func (ResourceRecordArrayOutput) ElementType

func (ResourceRecordArrayOutput) ElementType() reflect.Type

func (ResourceRecordArrayOutput) Index

func (ResourceRecordArrayOutput) ToResourceRecordArrayOutput

func (o ResourceRecordArrayOutput) ToResourceRecordArrayOutput() ResourceRecordArrayOutput

func (ResourceRecordArrayOutput) ToResourceRecordArrayOutputWithContext

func (o ResourceRecordArrayOutput) ToResourceRecordArrayOutputWithContext(ctx context.Context) ResourceRecordArrayOutput

type ResourceRecordInput

type ResourceRecordInput interface {
	pulumi.Input

	ToResourceRecordOutput() ResourceRecordOutput
	ToResourceRecordOutputWithContext(ctx context.Context) ResourceRecordOutput
}

type ResourceRecordMap

type ResourceRecordMap map[string]ResourceRecordInput

func (ResourceRecordMap) ElementType

func (ResourceRecordMap) ElementType() reflect.Type

func (ResourceRecordMap) ToResourceRecordMapOutput

func (i ResourceRecordMap) ToResourceRecordMapOutput() ResourceRecordMapOutput

func (ResourceRecordMap) ToResourceRecordMapOutputWithContext

func (i ResourceRecordMap) ToResourceRecordMapOutputWithContext(ctx context.Context) ResourceRecordMapOutput

type ResourceRecordMapInput

type ResourceRecordMapInput interface {
	pulumi.Input

	ToResourceRecordMapOutput() ResourceRecordMapOutput
	ToResourceRecordMapOutputWithContext(context.Context) ResourceRecordMapOutput
}

ResourceRecordMapInput is an input type that accepts ResourceRecordMap and ResourceRecordMapOutput values. You can construct a concrete instance of `ResourceRecordMapInput` via:

ResourceRecordMap{ "key": ResourceRecordArgs{...} }

type ResourceRecordMapOutput

type ResourceRecordMapOutput struct{ *pulumi.OutputState }

func (ResourceRecordMapOutput) ElementType

func (ResourceRecordMapOutput) ElementType() reflect.Type

func (ResourceRecordMapOutput) MapIndex

func (ResourceRecordMapOutput) ToResourceRecordMapOutput

func (o ResourceRecordMapOutput) ToResourceRecordMapOutput() ResourceRecordMapOutput

func (ResourceRecordMapOutput) ToResourceRecordMapOutputWithContext

func (o ResourceRecordMapOutput) ToResourceRecordMapOutputWithContext(ctx context.Context) ResourceRecordMapOutput

type ResourceRecordOutput

type ResourceRecordOutput struct{ *pulumi.OutputState }

func (ResourceRecordOutput) ElementType

func (ResourceRecordOutput) ElementType() reflect.Type

func (ResourceRecordOutput) RecordId

The record's id, should be unique.

func (ResourceRecordOutput) ResourceName

func (o ResourceRecordOutput) ResourceName() pulumi.StringOutput

The name defined in log_resource, log service have some internal resource, like sls.common.user, sls.common.user_group.

func (ResourceRecordOutput) Tag

The record's tag, can be used for search.

func (ResourceRecordOutput) ToResourceRecordOutput

func (o ResourceRecordOutput) ToResourceRecordOutput() ResourceRecordOutput

func (ResourceRecordOutput) ToResourceRecordOutputWithContext

func (o ResourceRecordOutput) ToResourceRecordOutputWithContext(ctx context.Context) ResourceRecordOutput

func (ResourceRecordOutput) Value

The json value of record.

type ResourceRecordState

type ResourceRecordState struct {
	// The record's id, should be unique.
	RecordId pulumi.StringPtrInput
	// The name defined in log_resource, log service have some internal resource, like sls.common.user, sls.common.user_group.
	ResourceName pulumi.StringPtrInput
	// The record's tag, can be used for search.
	Tag pulumi.StringPtrInput
	// The json value of record.
	Value pulumi.StringPtrInput
}

func (ResourceRecordState) ElementType

func (ResourceRecordState) ElementType() reflect.Type

type ResourceState

type ResourceState struct {
	// The meta store's description.
	Description pulumi.StringPtrInput
	// The ext info of meta store.
	ExtInfo pulumi.StringPtrInput
	// The meta store's name, can be used as table name.
	Name pulumi.StringPtrInput
	// The meta store's schema info, which is json string format, used to define table's fields.
	Schema pulumi.StringPtrInput
	// The meta store's type, userdefine e.g.
	Type pulumi.StringPtrInput
}

func (ResourceState) ElementType

func (ResourceState) 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 `false`.
	AutoSplit pulumi.BoolPtrOutput `pulumi:"autoSplit"`
	// Determines whether to enable Web Tracking. Default `false`.
	EnableWebTracking pulumi.BoolPtrOutput `pulumi:"enableWebTracking"`
	// Encrypted storage of data, providing data static protection capability, `encryptConf` can be updated since 1.188.0+ (only `enable` change is supported when updating logstore)
	EncryptConf StoreEncryptConfPtrOutput `pulumi:"encryptConf"`
	// 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"`
	// The shard attribute.
	Shards StoreShardArrayOutput `pulumi:"shards"`
	// Determines whether store type is metric. `Metrics` means metric store, empty means log store.
	TelemetryType pulumi.StringPtrOutput `pulumi:"telemetryType"`
}

## Import

Log store can be imported using the id, e.g.

```sh

$ pulumi import alicloud:log/store:Store example tf-log:tf-log-store

```

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.

func (*Store) ElementType

func (*Store) ElementType() reflect.Type

func (*Store) ToStoreOutput

func (i *Store) ToStoreOutput() StoreOutput

func (*Store) ToStoreOutputWithContext

func (i *Store) ToStoreOutputWithContext(ctx context.Context) StoreOutput

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 `false`.
	AutoSplit pulumi.BoolPtrInput
	// Determines whether to enable Web Tracking. Default `false`.
	EnableWebTracking pulumi.BoolPtrInput
	// Encrypted storage of data, providing data static protection capability, `encryptConf` can be updated since 1.188.0+ (only `enable` change is supported when updating logstore)
	EncryptConf StoreEncryptConfPtrInput
	// 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
	// Determines whether store type is metric. `Metrics` means metric store, empty means log store.
	TelemetryType pulumi.StringPtrInput
}

The set of arguments for constructing a Store resource.

func (StoreArgs) ElementType

func (StoreArgs) ElementType() reflect.Type

type StoreArray

type StoreArray []StoreInput

func (StoreArray) ElementType

func (StoreArray) ElementType() reflect.Type

func (StoreArray) ToStoreArrayOutput

func (i StoreArray) ToStoreArrayOutput() StoreArrayOutput

func (StoreArray) ToStoreArrayOutputWithContext

func (i StoreArray) ToStoreArrayOutputWithContext(ctx context.Context) StoreArrayOutput

type StoreArrayInput

type StoreArrayInput interface {
	pulumi.Input

	ToStoreArrayOutput() StoreArrayOutput
	ToStoreArrayOutputWithContext(context.Context) StoreArrayOutput
}

StoreArrayInput is an input type that accepts StoreArray and StoreArrayOutput values. You can construct a concrete instance of `StoreArrayInput` via:

StoreArray{ StoreArgs{...} }

type StoreArrayOutput

type StoreArrayOutput struct{ *pulumi.OutputState }

func (StoreArrayOutput) ElementType

func (StoreArrayOutput) ElementType() reflect.Type

func (StoreArrayOutput) Index

func (StoreArrayOutput) ToStoreArrayOutput

func (o StoreArrayOutput) ToStoreArrayOutput() StoreArrayOutput

func (StoreArrayOutput) ToStoreArrayOutputWithContext

func (o StoreArrayOutput) ToStoreArrayOutputWithContext(ctx context.Context) StoreArrayOutput

type StoreEncryptConf

type StoreEncryptConf struct {
	// enable encryption. Default `false`
	Enable *bool `pulumi:"enable"`
	// Supported encryption type, only supports `default(AES)`,`  m4 `
	EncryptType *string `pulumi:"encryptType"`
	// User bring your own key (BYOK) encryption [Refer to details](https://www.alibabacloud.com/help/zh/doc-detail/187853.htm), the format is as follows:
	UserCmkInfo *StoreEncryptConfUserCmkInfo `pulumi:"userCmkInfo"`
}

type StoreEncryptConfArgs

type StoreEncryptConfArgs struct {
	// enable encryption. Default `false`
	Enable pulumi.BoolPtrInput `pulumi:"enable"`
	// Supported encryption type, only supports `default(AES)`,`  m4 `
	EncryptType pulumi.StringPtrInput `pulumi:"encryptType"`
	// User bring your own key (BYOK) encryption [Refer to details](https://www.alibabacloud.com/help/zh/doc-detail/187853.htm), the format is as follows:
	UserCmkInfo StoreEncryptConfUserCmkInfoPtrInput `pulumi:"userCmkInfo"`
}

func (StoreEncryptConfArgs) ElementType

func (StoreEncryptConfArgs) ElementType() reflect.Type

func (StoreEncryptConfArgs) ToStoreEncryptConfOutput

func (i StoreEncryptConfArgs) ToStoreEncryptConfOutput() StoreEncryptConfOutput

func (StoreEncryptConfArgs) ToStoreEncryptConfOutputWithContext

func (i StoreEncryptConfArgs) ToStoreEncryptConfOutputWithContext(ctx context.Context) StoreEncryptConfOutput

func (StoreEncryptConfArgs) ToStoreEncryptConfPtrOutput

func (i StoreEncryptConfArgs) ToStoreEncryptConfPtrOutput() StoreEncryptConfPtrOutput

func (StoreEncryptConfArgs) ToStoreEncryptConfPtrOutputWithContext

func (i StoreEncryptConfArgs) ToStoreEncryptConfPtrOutputWithContext(ctx context.Context) StoreEncryptConfPtrOutput

type StoreEncryptConfInput

type StoreEncryptConfInput interface {
	pulumi.Input

	ToStoreEncryptConfOutput() StoreEncryptConfOutput
	ToStoreEncryptConfOutputWithContext(context.Context) StoreEncryptConfOutput
}

StoreEncryptConfInput is an input type that accepts StoreEncryptConfArgs and StoreEncryptConfOutput values. You can construct a concrete instance of `StoreEncryptConfInput` via:

StoreEncryptConfArgs{...}

type StoreEncryptConfOutput

type StoreEncryptConfOutput struct{ *pulumi.OutputState }

func (StoreEncryptConfOutput) ElementType

func (StoreEncryptConfOutput) ElementType() reflect.Type

func (StoreEncryptConfOutput) Enable

enable encryption. Default `false`

func (StoreEncryptConfOutput) EncryptType

Supported encryption type, only supports `default(AES)`,` m4 `

func (StoreEncryptConfOutput) ToStoreEncryptConfOutput

func (o StoreEncryptConfOutput) ToStoreEncryptConfOutput() StoreEncryptConfOutput

func (StoreEncryptConfOutput) ToStoreEncryptConfOutputWithContext

func (o StoreEncryptConfOutput) ToStoreEncryptConfOutputWithContext(ctx context.Context) StoreEncryptConfOutput

func (StoreEncryptConfOutput) ToStoreEncryptConfPtrOutput

func (o StoreEncryptConfOutput) ToStoreEncryptConfPtrOutput() StoreEncryptConfPtrOutput

func (StoreEncryptConfOutput) ToStoreEncryptConfPtrOutputWithContext

func (o StoreEncryptConfOutput) ToStoreEncryptConfPtrOutputWithContext(ctx context.Context) StoreEncryptConfPtrOutput

func (StoreEncryptConfOutput) UserCmkInfo

User bring your own key (BYOK) encryption [Refer to details](https://www.alibabacloud.com/help/zh/doc-detail/187853.htm), the format is as follows:

type StoreEncryptConfPtrInput

type StoreEncryptConfPtrInput interface {
	pulumi.Input

	ToStoreEncryptConfPtrOutput() StoreEncryptConfPtrOutput
	ToStoreEncryptConfPtrOutputWithContext(context.Context) StoreEncryptConfPtrOutput
}

StoreEncryptConfPtrInput is an input type that accepts StoreEncryptConfArgs, StoreEncryptConfPtr and StoreEncryptConfPtrOutput values. You can construct a concrete instance of `StoreEncryptConfPtrInput` via:

        StoreEncryptConfArgs{...}

or:

        nil

type StoreEncryptConfPtrOutput

type StoreEncryptConfPtrOutput struct{ *pulumi.OutputState }

func (StoreEncryptConfPtrOutput) Elem

func (StoreEncryptConfPtrOutput) ElementType

func (StoreEncryptConfPtrOutput) ElementType() reflect.Type

func (StoreEncryptConfPtrOutput) Enable

enable encryption. Default `false`

func (StoreEncryptConfPtrOutput) EncryptType

Supported encryption type, only supports `default(AES)`,` m4 `

func (StoreEncryptConfPtrOutput) ToStoreEncryptConfPtrOutput

func (o StoreEncryptConfPtrOutput) ToStoreEncryptConfPtrOutput() StoreEncryptConfPtrOutput

func (StoreEncryptConfPtrOutput) ToStoreEncryptConfPtrOutputWithContext

func (o StoreEncryptConfPtrOutput) ToStoreEncryptConfPtrOutputWithContext(ctx context.Context) StoreEncryptConfPtrOutput

func (StoreEncryptConfPtrOutput) UserCmkInfo

User bring your own key (BYOK) encryption [Refer to details](https://www.alibabacloud.com/help/zh/doc-detail/187853.htm), the format is as follows:

type StoreEncryptConfUserCmkInfo

type StoreEncryptConfUserCmkInfo struct {
	// role arn.
	Arn string `pulumi:"arn"`
	// User master key id.
	CmkKeyId string `pulumi:"cmkKeyId"`
	// Region id where the  user master key id is located.
	RegionId string `pulumi:"regionId"`
}

type StoreEncryptConfUserCmkInfoArgs

type StoreEncryptConfUserCmkInfoArgs struct {
	// role arn.
	Arn pulumi.StringInput `pulumi:"arn"`
	// User master key id.
	CmkKeyId pulumi.StringInput `pulumi:"cmkKeyId"`
	// Region id where the  user master key id is located.
	RegionId pulumi.StringInput `pulumi:"regionId"`
}

func (StoreEncryptConfUserCmkInfoArgs) ElementType

func (StoreEncryptConfUserCmkInfoArgs) ToStoreEncryptConfUserCmkInfoOutput

func (i StoreEncryptConfUserCmkInfoArgs) ToStoreEncryptConfUserCmkInfoOutput() StoreEncryptConfUserCmkInfoOutput

func (StoreEncryptConfUserCmkInfoArgs) ToStoreEncryptConfUserCmkInfoOutputWithContext

func (i StoreEncryptConfUserCmkInfoArgs) ToStoreEncryptConfUserCmkInfoOutputWithContext(ctx context.Context) StoreEncryptConfUserCmkInfoOutput

func (StoreEncryptConfUserCmkInfoArgs) ToStoreEncryptConfUserCmkInfoPtrOutput

func (i StoreEncryptConfUserCmkInfoArgs) ToStoreEncryptConfUserCmkInfoPtrOutput() StoreEncryptConfUserCmkInfoPtrOutput

func (StoreEncryptConfUserCmkInfoArgs) ToStoreEncryptConfUserCmkInfoPtrOutputWithContext

func (i StoreEncryptConfUserCmkInfoArgs) ToStoreEncryptConfUserCmkInfoPtrOutputWithContext(ctx context.Context) StoreEncryptConfUserCmkInfoPtrOutput

type StoreEncryptConfUserCmkInfoInput

type StoreEncryptConfUserCmkInfoInput interface {
	pulumi.Input

	ToStoreEncryptConfUserCmkInfoOutput() StoreEncryptConfUserCmkInfoOutput
	ToStoreEncryptConfUserCmkInfoOutputWithContext(context.Context) StoreEncryptConfUserCmkInfoOutput
}

StoreEncryptConfUserCmkInfoInput is an input type that accepts StoreEncryptConfUserCmkInfoArgs and StoreEncryptConfUserCmkInfoOutput values. You can construct a concrete instance of `StoreEncryptConfUserCmkInfoInput` via:

StoreEncryptConfUserCmkInfoArgs{...}

type StoreEncryptConfUserCmkInfoOutput

type StoreEncryptConfUserCmkInfoOutput struct{ *pulumi.OutputState }

func (StoreEncryptConfUserCmkInfoOutput) Arn

role arn.

func (StoreEncryptConfUserCmkInfoOutput) CmkKeyId

User master key id.

func (StoreEncryptConfUserCmkInfoOutput) ElementType

func (StoreEncryptConfUserCmkInfoOutput) RegionId

Region id where the user master key id is located.

func (StoreEncryptConfUserCmkInfoOutput) ToStoreEncryptConfUserCmkInfoOutput

func (o StoreEncryptConfUserCmkInfoOutput) ToStoreEncryptConfUserCmkInfoOutput() StoreEncryptConfUserCmkInfoOutput

func (StoreEncryptConfUserCmkInfoOutput) ToStoreEncryptConfUserCmkInfoOutputWithContext

func (o StoreEncryptConfUserCmkInfoOutput) ToStoreEncryptConfUserCmkInfoOutputWithContext(ctx context.Context) StoreEncryptConfUserCmkInfoOutput

func (StoreEncryptConfUserCmkInfoOutput) ToStoreEncryptConfUserCmkInfoPtrOutput

func (o StoreEncryptConfUserCmkInfoOutput) ToStoreEncryptConfUserCmkInfoPtrOutput() StoreEncryptConfUserCmkInfoPtrOutput

func (StoreEncryptConfUserCmkInfoOutput) ToStoreEncryptConfUserCmkInfoPtrOutputWithContext

func (o StoreEncryptConfUserCmkInfoOutput) ToStoreEncryptConfUserCmkInfoPtrOutputWithContext(ctx context.Context) StoreEncryptConfUserCmkInfoPtrOutput

type StoreEncryptConfUserCmkInfoPtrInput

type StoreEncryptConfUserCmkInfoPtrInput interface {
	pulumi.Input

	ToStoreEncryptConfUserCmkInfoPtrOutput() StoreEncryptConfUserCmkInfoPtrOutput
	ToStoreEncryptConfUserCmkInfoPtrOutputWithContext(context.Context) StoreEncryptConfUserCmkInfoPtrOutput
}

StoreEncryptConfUserCmkInfoPtrInput is an input type that accepts StoreEncryptConfUserCmkInfoArgs, StoreEncryptConfUserCmkInfoPtr and StoreEncryptConfUserCmkInfoPtrOutput values. You can construct a concrete instance of `StoreEncryptConfUserCmkInfoPtrInput` via:

        StoreEncryptConfUserCmkInfoArgs{...}

or:

        nil

type StoreEncryptConfUserCmkInfoPtrOutput

type StoreEncryptConfUserCmkInfoPtrOutput struct{ *pulumi.OutputState }

func (StoreEncryptConfUserCmkInfoPtrOutput) Arn

role arn.

func (StoreEncryptConfUserCmkInfoPtrOutput) CmkKeyId

User master key id.

func (StoreEncryptConfUserCmkInfoPtrOutput) Elem

func (StoreEncryptConfUserCmkInfoPtrOutput) ElementType

func (StoreEncryptConfUserCmkInfoPtrOutput) RegionId

Region id where the user master key id is located.

func (StoreEncryptConfUserCmkInfoPtrOutput) ToStoreEncryptConfUserCmkInfoPtrOutput

func (o StoreEncryptConfUserCmkInfoPtrOutput) ToStoreEncryptConfUserCmkInfoPtrOutput() StoreEncryptConfUserCmkInfoPtrOutput

func (StoreEncryptConfUserCmkInfoPtrOutput) ToStoreEncryptConfUserCmkInfoPtrOutputWithContext

func (o StoreEncryptConfUserCmkInfoPtrOutput) ToStoreEncryptConfUserCmkInfoPtrOutputWithContext(ctx context.Context) StoreEncryptConfUserCmkInfoPtrOutput

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

## Import

Log store index can be imported using the id, e.g.

```sh

$ pulumi import alicloud:log/storeIndex:StoreIndex example tf-log:tf-log-store

```

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.

func (*StoreIndex) ElementType

func (*StoreIndex) ElementType() reflect.Type

func (*StoreIndex) ToStoreIndexOutput

func (i *StoreIndex) ToStoreIndexOutput() StoreIndexOutput

func (*StoreIndex) ToStoreIndexOutputWithContext

func (i *StoreIndex) ToStoreIndexOutputWithContext(ctx context.Context) StoreIndexOutput

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 StoreIndexArray

type StoreIndexArray []StoreIndexInput

func (StoreIndexArray) ElementType

func (StoreIndexArray) ElementType() reflect.Type

func (StoreIndexArray) ToStoreIndexArrayOutput

func (i StoreIndexArray) ToStoreIndexArrayOutput() StoreIndexArrayOutput

func (StoreIndexArray) ToStoreIndexArrayOutputWithContext

func (i StoreIndexArray) ToStoreIndexArrayOutputWithContext(ctx context.Context) StoreIndexArrayOutput

type StoreIndexArrayInput

type StoreIndexArrayInput interface {
	pulumi.Input

	ToStoreIndexArrayOutput() StoreIndexArrayOutput
	ToStoreIndexArrayOutputWithContext(context.Context) StoreIndexArrayOutput
}

StoreIndexArrayInput is an input type that accepts StoreIndexArray and StoreIndexArrayOutput values. You can construct a concrete instance of `StoreIndexArrayInput` via:

StoreIndexArray{ StoreIndexArgs{...} }

type StoreIndexArrayOutput

type StoreIndexArrayOutput struct{ *pulumi.OutputState }

func (StoreIndexArrayOutput) ElementType

func (StoreIndexArrayOutput) ElementType() reflect.Type

func (StoreIndexArrayOutput) Index

func (StoreIndexArrayOutput) ToStoreIndexArrayOutput

func (o StoreIndexArrayOutput) ToStoreIndexArrayOutput() StoreIndexArrayOutput

func (StoreIndexArrayOutput) ToStoreIndexArrayOutputWithContext

func (o StoreIndexArrayOutput) ToStoreIndexArrayOutputWithContext(ctx context.Context) StoreIndexArrayOutput

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 StoreIndexInput

type StoreIndexInput interface {
	pulumi.Input

	ToStoreIndexOutput() StoreIndexOutput
	ToStoreIndexOutputWithContext(ctx context.Context) StoreIndexOutput
}

type StoreIndexMap

type StoreIndexMap map[string]StoreIndexInput

func (StoreIndexMap) ElementType

func (StoreIndexMap) ElementType() reflect.Type

func (StoreIndexMap) ToStoreIndexMapOutput

func (i StoreIndexMap) ToStoreIndexMapOutput() StoreIndexMapOutput

func (StoreIndexMap) ToStoreIndexMapOutputWithContext

func (i StoreIndexMap) ToStoreIndexMapOutputWithContext(ctx context.Context) StoreIndexMapOutput

type StoreIndexMapInput

type StoreIndexMapInput interface {
	pulumi.Input

	ToStoreIndexMapOutput() StoreIndexMapOutput
	ToStoreIndexMapOutputWithContext(context.Context) StoreIndexMapOutput
}

StoreIndexMapInput is an input type that accepts StoreIndexMap and StoreIndexMapOutput values. You can construct a concrete instance of `StoreIndexMapInput` via:

StoreIndexMap{ "key": StoreIndexArgs{...} }

type StoreIndexMapOutput

type StoreIndexMapOutput struct{ *pulumi.OutputState }

func (StoreIndexMapOutput) ElementType

func (StoreIndexMapOutput) ElementType() reflect.Type

func (StoreIndexMapOutput) MapIndex

func (StoreIndexMapOutput) ToStoreIndexMapOutput

func (o StoreIndexMapOutput) ToStoreIndexMapOutput() StoreIndexMapOutput

func (StoreIndexMapOutput) ToStoreIndexMapOutputWithContext

func (o StoreIndexMapOutput) ToStoreIndexMapOutputWithContext(ctx context.Context) StoreIndexMapOutput

type StoreIndexOutput

type StoreIndexOutput struct{ *pulumi.OutputState }

func (StoreIndexOutput) ElementType

func (StoreIndexOutput) ElementType() reflect.Type

func (StoreIndexOutput) FieldSearches

List configurations of field search index. Valid item as follows:

func (StoreIndexOutput) FullText

The configuration of full text index. Valid item as follows:

func (StoreIndexOutput) Logstore

func (o StoreIndexOutput) Logstore() pulumi.StringOutput

The log store name to the query index belongs.

func (StoreIndexOutput) Project

func (o StoreIndexOutput) Project() pulumi.StringOutput

The project name to the log store belongs.

func (StoreIndexOutput) ToStoreIndexOutput

func (o StoreIndexOutput) ToStoreIndexOutput() StoreIndexOutput

func (StoreIndexOutput) ToStoreIndexOutputWithContext

func (o StoreIndexOutput) ToStoreIndexOutputWithContext(ctx context.Context) StoreIndexOutput

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 StoreInput

type StoreInput interface {
	pulumi.Input

	ToStoreOutput() StoreOutput
	ToStoreOutputWithContext(ctx context.Context) StoreOutput
}

type StoreMap

type StoreMap map[string]StoreInput

func (StoreMap) ElementType

func (StoreMap) ElementType() reflect.Type

func (StoreMap) ToStoreMapOutput

func (i StoreMap) ToStoreMapOutput() StoreMapOutput

func (StoreMap) ToStoreMapOutputWithContext

func (i StoreMap) ToStoreMapOutputWithContext(ctx context.Context) StoreMapOutput

type StoreMapInput

type StoreMapInput interface {
	pulumi.Input

	ToStoreMapOutput() StoreMapOutput
	ToStoreMapOutputWithContext(context.Context) StoreMapOutput
}

StoreMapInput is an input type that accepts StoreMap and StoreMapOutput values. You can construct a concrete instance of `StoreMapInput` via:

StoreMap{ "key": StoreArgs{...} }

type StoreMapOutput

type StoreMapOutput struct{ *pulumi.OutputState }

func (StoreMapOutput) ElementType

func (StoreMapOutput) ElementType() reflect.Type

func (StoreMapOutput) MapIndex

func (StoreMapOutput) ToStoreMapOutput

func (o StoreMapOutput) ToStoreMapOutput() StoreMapOutput

func (StoreMapOutput) ToStoreMapOutputWithContext

func (o StoreMapOutput) ToStoreMapOutputWithContext(ctx context.Context) StoreMapOutput

type StoreOutput

type StoreOutput struct{ *pulumi.OutputState }

func (StoreOutput) AppendMeta

func (o StoreOutput) AppendMeta() pulumi.BoolPtrOutput

Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to `true`.

func (StoreOutput) AutoSplit

func (o StoreOutput) AutoSplit() pulumi.BoolPtrOutput

Determines whether to automatically split a shard. Default to `false`.

func (StoreOutput) ElementType

func (StoreOutput) ElementType() reflect.Type

func (StoreOutput) EnableWebTracking

func (o StoreOutput) EnableWebTracking() pulumi.BoolPtrOutput

Determines whether to enable Web Tracking. Default `false`.

func (StoreOutput) EncryptConf

func (o StoreOutput) EncryptConf() StoreEncryptConfPtrOutput

Encrypted storage of data, providing data static protection capability, `encryptConf` can be updated since 1.188.0+ (only `enable` change is supported when updating logstore)

func (StoreOutput) MaxSplitShardCount

func (o StoreOutput) MaxSplitShardCount() pulumi.IntPtrOutput

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.

func (StoreOutput) Name

func (o StoreOutput) Name() pulumi.StringOutput

The log store, which is unique in the same project.

func (StoreOutput) Project

func (o StoreOutput) Project() pulumi.StringOutput

The project name to the log store belongs.

func (StoreOutput) RetentionPeriod

func (o StoreOutput) RetentionPeriod() pulumi.IntPtrOutput

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

func (StoreOutput) ShardCount

func (o StoreOutput) ShardCount() pulumi.IntPtrOutput

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)

func (StoreOutput) Shards

The shard attribute.

func (StoreOutput) TelemetryType

func (o StoreOutput) TelemetryType() pulumi.StringPtrOutput

Determines whether store type is metric. `Metrics` means metric store, empty means log store.

func (StoreOutput) ToStoreOutput

func (o StoreOutput) ToStoreOutput() StoreOutput

func (StoreOutput) ToStoreOutputWithContext

func (o StoreOutput) ToStoreOutputWithContext(ctx context.Context) StoreOutput

type StoreShard

type StoreShard struct {
	// The begin value of the shard range(MD5), included in the shard range.
	BeginKey *string `pulumi:"beginKey"`
	// The end value of the shard range(MD5), not included in shard range.
	EndKey *string `pulumi:"endKey"`
	// The ID of the shard.
	Id *int `pulumi:"id"`
	// Shard status, only two status of `readwrite` and `readonly`.
	Status *string `pulumi:"status"`
}

type StoreShardArgs

type StoreShardArgs struct {
	// The begin value of the shard range(MD5), included in the shard range.
	BeginKey pulumi.StringPtrInput `pulumi:"beginKey"`
	// The end value of the shard range(MD5), not included in shard range.
	EndKey pulumi.StringPtrInput `pulumi:"endKey"`
	// The ID of the shard.
	Id pulumi.IntPtrInput `pulumi:"id"`
	// Shard status, only two status of `readwrite` and `readonly`.
	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

The begin value of the shard range(MD5), included in the shard range.

func (StoreShardOutput) ElementType

func (StoreShardOutput) ElementType() reflect.Type

func (StoreShardOutput) EndKey

The end value of the shard range(MD5), not included in shard range.

func (StoreShardOutput) Id

The ID of the shard.

func (StoreShardOutput) Status

Shard status, only two status of `readwrite` and `readonly`.

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 `false`.
	AutoSplit pulumi.BoolPtrInput
	// Determines whether to enable Web Tracking. Default `false`.
	EnableWebTracking pulumi.BoolPtrInput
	// Encrypted storage of data, providing data static protection capability, `encryptConf` can be updated since 1.188.0+ (only `enable` change is supported when updating logstore)
	EncryptConf StoreEncryptConfPtrInput
	// 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
	// The shard attribute.
	Shards StoreShardArrayInput
	// Determines whether store type is metric. `Metrics` means metric store, empty means log store.
	TelemetryType pulumi.StringPtrInput
}

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