log

package
v3.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alert

type Alert struct {
	pulumi.CustomResourceState

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

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

> **NOTE:** Available in 1.78.0

## Example Usage

Basic Usage

```go package main

import (

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

)

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"),
			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
	})
}

```

## 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

func (*Alert) ToAlertPtrOutput

func (i *Alert) ToAlertPtrOutput() AlertPtrOutput

func (*Alert) ToAlertPtrOutputWithContext

func (i *Alert) ToAlertPtrOutputWithContext(ctx context.Context) AlertPtrOutput

type AlertArgs

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

The set of arguments for constructing a Alert resource.

func (AlertArgs) ElementType

func (AlertArgs) ElementType() reflect.Type

type 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 AlertInput

type AlertInput interface {
	pulumi.Input

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

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"`
	// Notification type. support Email, SMS, DingTalk, MessageCenter.
	Type string `pulumi:"type"`
}

type AlertNotificationListArgs

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

func (AlertNotificationListArgs) ElementType

func (AlertNotificationListArgs) ElementType() reflect.Type

func (AlertNotificationListArgs) ToAlertNotificationListOutput

func (i AlertNotificationListArgs) ToAlertNotificationListOutput() AlertNotificationListOutput

func (AlertNotificationListArgs) ToAlertNotificationListOutputWithContext

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

type AlertNotificationListArray

type AlertNotificationListArray []AlertNotificationListInput

func (AlertNotificationListArray) ElementType

func (AlertNotificationListArray) ElementType() reflect.Type

func (AlertNotificationListArray) ToAlertNotificationListArrayOutput

func (i AlertNotificationListArray) ToAlertNotificationListArrayOutput() AlertNotificationListArrayOutput

func (AlertNotificationListArray) ToAlertNotificationListArrayOutputWithContext

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

type AlertNotificationListArrayInput

type AlertNotificationListArrayInput interface {
	pulumi.Input

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

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

AlertNotificationListArray{ AlertNotificationListArgs{...} }

type AlertNotificationListArrayOutput

type AlertNotificationListArrayOutput struct{ *pulumi.OutputState }

func (AlertNotificationListArrayOutput) ElementType

func (AlertNotificationListArrayOutput) Index

func (AlertNotificationListArrayOutput) ToAlertNotificationListArrayOutput

func (o AlertNotificationListArrayOutput) ToAlertNotificationListArrayOutput() AlertNotificationListArrayOutput

func (AlertNotificationListArrayOutput) ToAlertNotificationListArrayOutputWithContext

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

type AlertNotificationListInput

type AlertNotificationListInput interface {
	pulumi.Input

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

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

AlertNotificationListArgs{...}

type AlertNotificationListOutput

type AlertNotificationListOutput struct{ *pulumi.OutputState }

func (AlertNotificationListOutput) Content

Notice content of alarm.

func (AlertNotificationListOutput) ElementType

func (AlertNotificationListOutput) EmailLists

Email address list.

func (AlertNotificationListOutput) MobileLists

SMS sending mobile number.

func (AlertNotificationListOutput) ServiceUri

Request address.

func (AlertNotificationListOutput) ToAlertNotificationListOutput

func (o AlertNotificationListOutput) ToAlertNotificationListOutput() AlertNotificationListOutput

func (AlertNotificationListOutput) ToAlertNotificationListOutputWithContext

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

func (AlertNotificationListOutput) Type

Notification type. support Email, SMS, DingTalk, MessageCenter.

type AlertOutput

type AlertOutput struct{ *pulumi.OutputState }

func (AlertOutput) ElementType

func (AlertOutput) ElementType() reflect.Type

func (AlertOutput) ToAlertOutput

func (o AlertOutput) ToAlertOutput() AlertOutput

func (AlertOutput) ToAlertOutputWithContext

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

func (AlertOutput) ToAlertPtrOutput

func (o AlertOutput) ToAlertPtrOutput() AlertPtrOutput

func (AlertOutput) ToAlertPtrOutputWithContext

func (o AlertOutput) ToAlertPtrOutputWithContext(ctx context.Context) AlertPtrOutput

type AlertPtrInput

type AlertPtrInput interface {
	pulumi.Input

	ToAlertPtrOutput() AlertPtrOutput
	ToAlertPtrOutputWithContext(ctx context.Context) AlertPtrOutput
}

type AlertPtrOutput

type AlertPtrOutput struct{ *pulumi.OutputState }

func (AlertPtrOutput) Elem added in v3.9.0

func (o AlertPtrOutput) Elem() AlertOutput

func (AlertPtrOutput) ElementType

func (AlertPtrOutput) ElementType() reflect.Type

func (AlertPtrOutput) ToAlertPtrOutput

func (o AlertPtrOutput) ToAlertPtrOutput() AlertPtrOutput

func (AlertPtrOutput) ToAlertPtrOutputWithContext

func (o AlertPtrOutput) ToAlertPtrOutputWithContext(ctx context.Context) AlertPtrOutput

type AlertQueryList

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

type AlertQueryListArgs

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

func (AlertQueryListArgs) ElementType

func (AlertQueryListArgs) ElementType() reflect.Type

func (AlertQueryListArgs) ToAlertQueryListOutput

func (i AlertQueryListArgs) ToAlertQueryListOutput() AlertQueryListOutput

func (AlertQueryListArgs) ToAlertQueryListOutputWithContext

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

type AlertQueryListArray

type AlertQueryListArray []AlertQueryListInput

func (AlertQueryListArray) ElementType

func (AlertQueryListArray) ElementType() reflect.Type

func (AlertQueryListArray) ToAlertQueryListArrayOutput

func (i AlertQueryListArray) ToAlertQueryListArrayOutput() AlertQueryListArrayOutput

func (AlertQueryListArray) ToAlertQueryListArrayOutputWithContext

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

type AlertQueryListArrayInput

type AlertQueryListArrayInput interface {
	pulumi.Input

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

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

AlertQueryListArray{ AlertQueryListArgs{...} }

type AlertQueryListArrayOutput

type AlertQueryListArrayOutput struct{ *pulumi.OutputState }

func (AlertQueryListArrayOutput) ElementType

func (AlertQueryListArrayOutput) ElementType() reflect.Type

func (AlertQueryListArrayOutput) Index

func (AlertQueryListArrayOutput) ToAlertQueryListArrayOutput

func (o AlertQueryListArrayOutput) ToAlertQueryListArrayOutput() AlertQueryListArrayOutput

func (AlertQueryListArrayOutput) ToAlertQueryListArrayOutputWithContext

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

type AlertQueryListInput

type AlertQueryListInput interface {
	pulumi.Input

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

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

AlertQueryListArgs{...}

type AlertQueryListOutput

type AlertQueryListOutput struct{ *pulumi.OutputState }

func (AlertQueryListOutput) ChartTitle

func (o AlertQueryListOutput) ChartTitle() pulumi.StringOutput

chart title

func (AlertQueryListOutput) ElementType

func (AlertQueryListOutput) ElementType() reflect.Type

func (AlertQueryListOutput) End

end time. example: 20s.

func (AlertQueryListOutput) Logstore

Query logstore

func (AlertQueryListOutput) Query

query corresponding to chart. example: * AND aliyun.

func (AlertQueryListOutput) Start

begin time. example: -60s.

func (AlertQueryListOutput) TimeSpanType

func (o AlertQueryListOutput) TimeSpanType() pulumi.StringPtrOutput

default Custom. No need to configure this parameter.

func (AlertQueryListOutput) ToAlertQueryListOutput

func (o AlertQueryListOutput) ToAlertQueryListOutput() AlertQueryListOutput

func (AlertQueryListOutput) ToAlertQueryListOutputWithContext

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

type AlertState

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

func (AlertState) ElementType

func (AlertState) ElementType() reflect.Type

type Audit

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-alicloud/sdk/v3/go/alicloud/log"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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-alicloud/sdk/v3/go/alicloud/log"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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-alicloud/sdk/v3/go/alicloud/log"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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-alicloud/sdk/v3/go/alicloud/log"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

func (*Audit) ToAuditPtrOutput

func (i *Audit) ToAuditPtrOutput() AuditPtrOutput

func (*Audit) ToAuditPtrOutputWithContext

func (i *Audit) ToAuditPtrOutputWithContext(ctx context.Context) AuditPtrOutput

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) ElementType

func (AuditOutput) ElementType() reflect.Type

func (AuditOutput) ToAuditOutput

func (o AuditOutput) ToAuditOutput() AuditOutput

func (AuditOutput) ToAuditOutputWithContext

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

func (AuditOutput) ToAuditPtrOutput

func (o AuditOutput) ToAuditPtrOutput() AuditPtrOutput

func (AuditOutput) ToAuditPtrOutputWithContext

func (o AuditOutput) ToAuditPtrOutputWithContext(ctx context.Context) AuditPtrOutput

type AuditPtrInput

type AuditPtrInput interface {
	pulumi.Input

	ToAuditPtrOutput() AuditPtrOutput
	ToAuditPtrOutputWithContext(ctx context.Context) AuditPtrOutput
}

type AuditPtrOutput

type AuditPtrOutput struct{ *pulumi.OutputState }

func (AuditPtrOutput) Elem added in v3.9.0

func (o AuditPtrOutput) Elem() AuditOutput

func (AuditPtrOutput) ElementType

func (AuditPtrOutput) ElementType() reflect.Type

func (AuditPtrOutput) ToAuditPtrOutput

func (o AuditPtrOutput) ToAuditPtrOutput() AuditPtrOutput

func (AuditPtrOutput) ToAuditPtrOutputWithContext

func (o AuditPtrOutput) ToAuditPtrOutputWithContext(ctx context.Context) AuditPtrOutput

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

	// 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

## Example Usage

Basic Usage

```go package main

import (

"fmt"

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

)

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{
			CharList:      pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "  [\n", "    {\n", "      \"title\":\"new_title\",\n", "      \"type\":\"map\",\n", "      \"search\":{\n", "        \"logstore\":\"tf-logstore\",\n", "        \"topic\":\"new_topic\",\n", "        \"query\":\"* | SELECT COUNT(name) as ct_name, COUNT(product) as ct_product, name,product GROUP BY name,product\",\n", "        \"start\":\"-86400s\",\n", "        \"end\":\"now\"\n", "      },\n", "      \"display\":{\n", "        \"xAxis\":[\n", "          \"ct_name\"\n", "        ],\n", "        \"yAxis\":[\n", "          \"ct_product\"\n", "        ],\n", "        \"xPos\":0,\n", "        \"yPos\":0,\n", "        \"width\":10,\n", "        \"height\":12,\n", "        \"displayName\":\"xixihaha911\"\n", "      }\n", "    }\n", "  ]\n", "\n")),
			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

func (*Dashboard) ToDashboardPtrOutput

func (i *Dashboard) ToDashboardPtrOutput() DashboardPtrOutput

func (*Dashboard) ToDashboardPtrOutputWithContext

func (i *Dashboard) ToDashboardPtrOutputWithContext(ctx context.Context) DashboardPtrOutput

type DashboardArgs

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

The set of arguments for constructing a Dashboard resource.

func (DashboardArgs) ElementType

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) ElementType

func (DashboardOutput) ElementType() reflect.Type

func (DashboardOutput) ToDashboardOutput

func (o DashboardOutput) ToDashboardOutput() DashboardOutput

func (DashboardOutput) ToDashboardOutputWithContext

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

func (DashboardOutput) ToDashboardPtrOutput

func (o DashboardOutput) ToDashboardPtrOutput() DashboardPtrOutput

func (DashboardOutput) ToDashboardPtrOutputWithContext

func (o DashboardOutput) ToDashboardPtrOutputWithContext(ctx context.Context) DashboardPtrOutput

type DashboardPtrInput

type DashboardPtrInput interface {
	pulumi.Input

	ToDashboardPtrOutput() DashboardPtrOutput
	ToDashboardPtrOutputWithContext(ctx context.Context) DashboardPtrOutput
}

type DashboardPtrOutput

type DashboardPtrOutput struct{ *pulumi.OutputState }

func (DashboardPtrOutput) Elem added in v3.9.0

func (DashboardPtrOutput) ElementType

func (DashboardPtrOutput) ElementType() reflect.Type

func (DashboardPtrOutput) ToDashboardPtrOutput

func (o DashboardPtrOutput) ToDashboardPtrOutput() DashboardPtrOutput

func (DashboardPtrOutput) ToDashboardPtrOutputWithContext

func (o DashboardPtrOutput) ToDashboardPtrOutputWithContext(ctx context.Context) DashboardPtrOutput

type DashboardState

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

func (DashboardState) ElementType

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, the default starts from the current time.
	FromTime pulumi.IntOutput `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, the default value is None.
	ToTime pulumi.IntPtrOutput `pulumi:"toTime"`
	// Log etl job version. the default value is `2`.
	Version pulumi.IntPtrOutput `pulumi:"version"`
}

The data processing function 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/v3/go/alicloud/log"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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/v3/go/alicloud/log"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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/v3/go/alicloud/log"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

func (*Etl) ToEtlPtrOutput

func (i *Etl) ToEtlPtrOutput() EtlPtrOutput

func (*Etl) ToEtlPtrOutputWithContext

func (i *Etl) ToEtlPtrOutputWithContext(ctx context.Context) EtlPtrOutput

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, the default starts from the current time.
	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, the default value is None.
	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) ElementType

func (EtlOutput) ElementType() reflect.Type

func (EtlOutput) ToEtlOutput

func (o EtlOutput) ToEtlOutput() EtlOutput

func (EtlOutput) ToEtlOutputWithContext

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

func (EtlOutput) ToEtlPtrOutput

func (o EtlOutput) ToEtlPtrOutput() EtlPtrOutput

func (EtlOutput) ToEtlPtrOutputWithContext

func (o EtlOutput) ToEtlPtrOutputWithContext(ctx context.Context) EtlPtrOutput

type EtlPtrInput

type EtlPtrInput interface {
	pulumi.Input

	ToEtlPtrOutput() EtlPtrOutput
	ToEtlPtrOutputWithContext(ctx context.Context) EtlPtrOutput
}

type EtlPtrOutput

type EtlPtrOutput struct{ *pulumi.OutputState }

func (EtlPtrOutput) Elem added in v3.9.0

func (o EtlPtrOutput) Elem() EtlOutput

func (EtlPtrOutput) ElementType

func (EtlPtrOutput) ElementType() reflect.Type

func (EtlPtrOutput) ToEtlPtrOutput

func (o EtlPtrOutput) ToEtlPtrOutput() EtlPtrOutput

func (EtlPtrOutput) ToEtlPtrOutputWithContext

func (o EtlPtrOutput) ToEtlPtrOutputWithContext(ctx context.Context) EtlPtrOutput

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, the default starts from the current time.
	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, the default value is None.
	ToTime pulumi.IntPtrInput
	// Log etl job version. the default value is `2`.
	Version pulumi.IntPtrInput
}

func (EtlState) ElementType

func (EtlState) ElementType() reflect.Type

type GetProjectsArgs added in v3.4.0

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 added in v3.9.0

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 added in v3.9.0

func (GetProjectsOutputArgs) ElementType() reflect.Type

type GetProjectsProject added in v3.4.0

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 added in v3.4.0

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 added in v3.4.0

func (GetProjectsProjectArgs) ElementType() reflect.Type

func (GetProjectsProjectArgs) ToGetProjectsProjectOutput added in v3.4.0

func (i GetProjectsProjectArgs) ToGetProjectsProjectOutput() GetProjectsProjectOutput

func (GetProjectsProjectArgs) ToGetProjectsProjectOutputWithContext added in v3.4.0

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

type GetProjectsProjectArray added in v3.4.0

type GetProjectsProjectArray []GetProjectsProjectInput

func (GetProjectsProjectArray) ElementType added in v3.4.0

func (GetProjectsProjectArray) ElementType() reflect.Type

func (GetProjectsProjectArray) ToGetProjectsProjectArrayOutput added in v3.4.0

func (i GetProjectsProjectArray) ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput

func (GetProjectsProjectArray) ToGetProjectsProjectArrayOutputWithContext added in v3.4.0

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

type GetProjectsProjectArrayInput added in v3.4.0

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 added in v3.4.0

type GetProjectsProjectArrayOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectArrayOutput) ElementType added in v3.4.0

func (GetProjectsProjectArrayOutput) Index added in v3.4.0

func (GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutput added in v3.4.0

func (o GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput

func (GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutputWithContext added in v3.4.0

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

type GetProjectsProjectInput added in v3.4.0

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 added in v3.4.0

type GetProjectsProjectOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectOutput) Description added in v3.4.0

The description of the project.

func (GetProjectsProjectOutput) ElementType added in v3.4.0

func (GetProjectsProjectOutput) ElementType() reflect.Type

func (GetProjectsProjectOutput) Id added in v3.4.0

The ID of the project.

func (GetProjectsProjectOutput) LastModifyTime added in v3.4.0

func (o GetProjectsProjectOutput) LastModifyTime() pulumi.StringOutput

The last modify time of project.

func (GetProjectsProjectOutput) Owner added in v3.4.0

The owner of project.

func (GetProjectsProjectOutput) ProjectName added in v3.4.0

The name of the project.

func (GetProjectsProjectOutput) Region added in v3.4.0

The region of project.

func (GetProjectsProjectOutput) Status added in v3.4.0

The status of project.

func (GetProjectsProjectOutput) ToGetProjectsProjectOutput added in v3.4.0

func (o GetProjectsProjectOutput) ToGetProjectsProjectOutput() GetProjectsProjectOutput

func (GetProjectsProjectOutput) ToGetProjectsProjectOutputWithContext added in v3.4.0

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

type GetProjectsResult added in v3.4.0

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 added in v3.4.0

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 added in v3.9.0

type GetProjectsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjects.

func GetProjectsOutput added in v3.9.0

func GetProjectsOutput(ctx *pulumi.Context, args GetProjectsOutputArgs, opts ...pulumi.InvokeOption) GetProjectsResultOutput

func (GetProjectsResultOutput) ElementType added in v3.9.0

func (GetProjectsResultOutput) ElementType() reflect.Type

func (GetProjectsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetProjectsResultOutput) Ids added in v3.9.0

func (GetProjectsResultOutput) NameRegex added in v3.9.0

func (GetProjectsResultOutput) Names added in v3.9.0

func (GetProjectsResultOutput) OutputFile added in v3.9.0

func (GetProjectsResultOutput) Projects added in v3.9.0

func (GetProjectsResultOutput) Status added in v3.9.0

func (GetProjectsResultOutput) ToGetProjectsResultOutput added in v3.9.0

func (o GetProjectsResultOutput) ToGetProjectsResultOutput() GetProjectsResultOutput

func (GetProjectsResultOutput) ToGetProjectsResultOutputWithContext added in v3.9.0

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 added in v3.9.0

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 added in v3.9.0

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/v3/go/alicloud/log"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

```

type GetServiceResultOutput added in v3.9.0

type GetServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getService.

func GetServiceOutput added in v3.9.0

func GetServiceOutput(ctx *pulumi.Context, args GetServiceOutputArgs, opts ...pulumi.InvokeOption) GetServiceResultOutput

func (GetServiceResultOutput) ElementType added in v3.9.0

func (GetServiceResultOutput) ElementType() reflect.Type

func (GetServiceResultOutput) Enable added in v3.9.0

func (GetServiceResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetServiceResultOutput) Status added in v3.9.0

The current service enable status.

func (GetServiceResultOutput) ToGetServiceResultOutput added in v3.9.0

func (o GetServiceResultOutput) ToGetServiceResultOutput() GetServiceResultOutput

func (GetServiceResultOutput) ToGetServiceResultOutputWithContext added in v3.9.0

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

type GetStoresArgs added in v3.4.0

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 added in v3.9.0

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 added in v3.9.0

func (GetStoresOutputArgs) ElementType() reflect.Type

type GetStoresResult added in v3.4.0

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 added in v3.4.0

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/v3/go/alicloud/log"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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 added in v3.9.0

type GetStoresResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStores.

func GetStoresOutput added in v3.9.0

func GetStoresOutput(ctx *pulumi.Context, args GetStoresOutputArgs, opts ...pulumi.InvokeOption) GetStoresResultOutput

func (GetStoresResultOutput) ElementType added in v3.9.0

func (GetStoresResultOutput) ElementType() reflect.Type

func (GetStoresResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetStoresResultOutput) Ids added in v3.9.0

func (GetStoresResultOutput) NameRegex added in v3.9.0

func (GetStoresResultOutput) Names added in v3.9.0

func (GetStoresResultOutput) OutputFile added in v3.9.0

func (GetStoresResultOutput) Project added in v3.9.0

func (GetStoresResultOutput) Stores added in v3.9.0

func (GetStoresResultOutput) ToGetStoresResultOutput added in v3.9.0

func (o GetStoresResultOutput) ToGetStoresResultOutput() GetStoresResultOutput

func (GetStoresResultOutput) ToGetStoresResultOutputWithContext added in v3.9.0

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

type GetStoresStore added in v3.4.0

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

type GetStoresStoreArgs added in v3.4.0

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 added in v3.4.0

func (GetStoresStoreArgs) ElementType() reflect.Type

func (GetStoresStoreArgs) ToGetStoresStoreOutput added in v3.4.0

func (i GetStoresStoreArgs) ToGetStoresStoreOutput() GetStoresStoreOutput

func (GetStoresStoreArgs) ToGetStoresStoreOutputWithContext added in v3.4.0

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

type GetStoresStoreArray added in v3.4.0

type GetStoresStoreArray []GetStoresStoreInput

func (GetStoresStoreArray) ElementType added in v3.4.0

func (GetStoresStoreArray) ElementType() reflect.Type

func (GetStoresStoreArray) ToGetStoresStoreArrayOutput added in v3.4.0

func (i GetStoresStoreArray) ToGetStoresStoreArrayOutput() GetStoresStoreArrayOutput

func (GetStoresStoreArray) ToGetStoresStoreArrayOutputWithContext added in v3.4.0

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

type GetStoresStoreArrayInput added in v3.4.0

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 added in v3.4.0

type GetStoresStoreArrayOutput struct{ *pulumi.OutputState }

func (GetStoresStoreArrayOutput) ElementType added in v3.4.0

func (GetStoresStoreArrayOutput) ElementType() reflect.Type

func (GetStoresStoreArrayOutput) Index added in v3.4.0

func (GetStoresStoreArrayOutput) ToGetStoresStoreArrayOutput added in v3.4.0

func (o GetStoresStoreArrayOutput) ToGetStoresStoreArrayOutput() GetStoresStoreArrayOutput

func (GetStoresStoreArrayOutput) ToGetStoresStoreArrayOutputWithContext added in v3.4.0

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

type GetStoresStoreInput added in v3.4.0

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 added in v3.4.0

type GetStoresStoreOutput struct{ *pulumi.OutputState }

func (GetStoresStoreOutput) ElementType added in v3.4.0

func (GetStoresStoreOutput) ElementType() reflect.Type

func (GetStoresStoreOutput) Id added in v3.4.0

The ID of the store.

func (GetStoresStoreOutput) StoreName added in v3.4.0

The name of the store.

func (GetStoresStoreOutput) ToGetStoresStoreOutput added in v3.4.0

func (o GetStoresStoreOutput) ToGetStoresStoreOutput() GetStoresStoreOutput

func (GetStoresStoreOutput) ToGetStoresStoreOutputWithContext added in v3.4.0

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

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-alicloud/sdk/v3/go/alicloud/log"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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("%v%v%v%v%v%v%v%v%v%v%v", "  	{\n", "		\"logPath\": \"/logPath\",\n", "		\"filePattern\": \"access.log\",\n", "		\"logType\": \"json_log\",\n", "		\"topicFormat\": \"default\",\n", "		\"discardUnmatch\": false,\n", "		\"enableRawLog\": true,\n", "		\"fileEncoding\": \"gbk\",\n", "		\"maxDepth\": 10\n", "	}\n", "	\n")),
		})
		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

func (*LogTailAttachment) ToLogTailAttachmentPtrOutput

func (i *LogTailAttachment) ToLogTailAttachmentPtrOutput() LogTailAttachmentPtrOutput

func (*LogTailAttachment) ToLogTailAttachmentPtrOutputWithContext

func (i *LogTailAttachment) ToLogTailAttachmentPtrOutputWithContext(ctx context.Context) LogTailAttachmentPtrOutput

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) ToLogTailAttachmentOutput

func (o LogTailAttachmentOutput) ToLogTailAttachmentOutput() LogTailAttachmentOutput

func (LogTailAttachmentOutput) ToLogTailAttachmentOutputWithContext

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

func (LogTailAttachmentOutput) ToLogTailAttachmentPtrOutput

func (o LogTailAttachmentOutput) ToLogTailAttachmentPtrOutput() LogTailAttachmentPtrOutput

func (LogTailAttachmentOutput) ToLogTailAttachmentPtrOutputWithContext

func (o LogTailAttachmentOutput) ToLogTailAttachmentPtrOutputWithContext(ctx context.Context) LogTailAttachmentPtrOutput

type LogTailAttachmentPtrInput

type LogTailAttachmentPtrInput interface {
	pulumi.Input

	ToLogTailAttachmentPtrOutput() LogTailAttachmentPtrOutput
	ToLogTailAttachmentPtrOutputWithContext(ctx context.Context) LogTailAttachmentPtrOutput
}

type LogTailAttachmentPtrOutput

type LogTailAttachmentPtrOutput struct{ *pulumi.OutputState }

func (LogTailAttachmentPtrOutput) Elem added in v3.9.0

func (LogTailAttachmentPtrOutput) ElementType

func (LogTailAttachmentPtrOutput) ElementType() reflect.Type

func (LogTailAttachmentPtrOutput) ToLogTailAttachmentPtrOutput

func (o LogTailAttachmentPtrOutput) ToLogTailAttachmentPtrOutput() LogTailAttachmentPtrOutput

func (LogTailAttachmentPtrOutput) ToLogTailAttachmentPtrOutputWithContext

func (o LogTailAttachmentPtrOutput) ToLogTailAttachmentPtrOutputWithContext(ctx context.Context) LogTailAttachmentPtrOutput

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

func (*LogTailConfig) ToLogTailConfigPtrOutput

func (i *LogTailConfig) ToLogTailConfigPtrOutput() LogTailConfigPtrOutput

func (*LogTailConfig) ToLogTailConfigPtrOutputWithContext

func (i *LogTailConfig) ToLogTailConfigPtrOutputWithContext(ctx context.Context) LogTailConfigPtrOutput

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) ToLogTailConfigOutput

func (o LogTailConfigOutput) ToLogTailConfigOutput() LogTailConfigOutput

func (LogTailConfigOutput) ToLogTailConfigOutputWithContext

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

func (LogTailConfigOutput) ToLogTailConfigPtrOutput

func (o LogTailConfigOutput) ToLogTailConfigPtrOutput() LogTailConfigPtrOutput

func (LogTailConfigOutput) ToLogTailConfigPtrOutputWithContext

func (o LogTailConfigOutput) ToLogTailConfigPtrOutputWithContext(ctx context.Context) LogTailConfigPtrOutput

type LogTailConfigPtrInput

type LogTailConfigPtrInput interface {
	pulumi.Input

	ToLogTailConfigPtrOutput() LogTailConfigPtrOutput
	ToLogTailConfigPtrOutputWithContext(ctx context.Context) LogTailConfigPtrOutput
}

type LogTailConfigPtrOutput

type LogTailConfigPtrOutput struct{ *pulumi.OutputState }

func (LogTailConfigPtrOutput) Elem added in v3.9.0

func (LogTailConfigPtrOutput) ElementType

func (LogTailConfigPtrOutput) ElementType() reflect.Type

func (LogTailConfigPtrOutput) ToLogTailConfigPtrOutput

func (o LogTailConfigPtrOutput) ToLogTailConfigPtrOutput() LogTailConfigPtrOutput

func (LogTailConfigPtrOutput) ToLogTailConfigPtrOutputWithContext

func (o LogTailConfigPtrOutput) ToLogTailConfigPtrOutputWithContext(ctx context.Context) LogTailConfigPtrOutput

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

func (*MachineGroup) ToMachineGroupPtrOutput

func (i *MachineGroup) ToMachineGroupPtrOutput() MachineGroupPtrOutput

func (*MachineGroup) ToMachineGroupPtrOutputWithContext

func (i *MachineGroup) ToMachineGroupPtrOutputWithContext(ctx context.Context) MachineGroupPtrOutput

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) ToMachineGroupOutput

func (o MachineGroupOutput) ToMachineGroupOutput() MachineGroupOutput

func (MachineGroupOutput) ToMachineGroupOutputWithContext

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

func (MachineGroupOutput) ToMachineGroupPtrOutput

func (o MachineGroupOutput) ToMachineGroupPtrOutput() MachineGroupPtrOutput

func (MachineGroupOutput) ToMachineGroupPtrOutputWithContext

func (o MachineGroupOutput) ToMachineGroupPtrOutputWithContext(ctx context.Context) MachineGroupPtrOutput

type MachineGroupPtrInput

type MachineGroupPtrInput interface {
	pulumi.Input

	ToMachineGroupPtrOutput() MachineGroupPtrOutput
	ToMachineGroupPtrOutputWithContext(ctx context.Context) MachineGroupPtrOutput
}

type MachineGroupPtrOutput

type MachineGroupPtrOutput struct{ *pulumi.OutputState }

func (MachineGroupPtrOutput) Elem added in v3.9.0

func (MachineGroupPtrOutput) ElementType

func (MachineGroupPtrOutput) ElementType() reflect.Type

func (MachineGroupPtrOutput) ToMachineGroupPtrOutput

func (o MachineGroupPtrOutput) ToMachineGroupPtrOutput() MachineGroupPtrOutput

func (MachineGroupPtrOutput) ToMachineGroupPtrOutputWithContext

func (o MachineGroupPtrOutput) ToMachineGroupPtrOutputWithContext(ctx context.Context) MachineGroupPtrOutput

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-alicloud/sdk/v3/go/alicloud/log"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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("%v%v%v%v%v%v%v%v%v%v", "%", "Y/", "%", "m/", "%", "d/", "%", "H/", "%", "M")),
			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

func (*OssShipper) ToOssShipperPtrOutput

func (i *OssShipper) ToOssShipperPtrOutput() OssShipperPtrOutput

func (*OssShipper) ToOssShipperPtrOutputWithContext

func (i *OssShipper) ToOssShipperPtrOutputWithContext(ctx context.Context) OssShipperPtrOutput

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) ElementType

func (OssShipperOutput) ElementType() reflect.Type

func (OssShipperOutput) ToOssShipperOutput

func (o OssShipperOutput) ToOssShipperOutput() OssShipperOutput

func (OssShipperOutput) ToOssShipperOutputWithContext

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

func (OssShipperOutput) ToOssShipperPtrOutput

func (o OssShipperOutput) ToOssShipperPtrOutput() OssShipperPtrOutput

func (OssShipperOutput) ToOssShipperPtrOutputWithContext

func (o OssShipperOutput) ToOssShipperPtrOutputWithContext(ctx context.Context) OssShipperPtrOutput

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 OssShipperPtrInput

type OssShipperPtrInput interface {
	pulumi.Input

	ToOssShipperPtrOutput() OssShipperPtrOutput
	ToOssShipperPtrOutputWithContext(ctx context.Context) OssShipperPtrOutput
}

type OssShipperPtrOutput

type OssShipperPtrOutput struct{ *pulumi.OutputState }

func (OssShipperPtrOutput) Elem added in v3.9.0

func (OssShipperPtrOutput) ElementType

func (OssShipperPtrOutput) ElementType() reflect.Type

func (OssShipperPtrOutput) ToOssShipperPtrOutput

func (o OssShipperPtrOutput) ToOssShipperPtrOutput() OssShipperPtrOutput

func (OssShipperPtrOutput) ToOssShipperPtrOutputWithContext

func (o OssShipperPtrOutput) ToOssShipperPtrOutputWithContext(ctx context.Context) OssShipperPtrOutput

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

func (*Project) ToProjectPtrOutput

func (i *Project) ToProjectPtrOutput() ProjectPtrOutput

func (*Project) ToProjectPtrOutputWithContext

func (i *Project) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput

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) ElementType

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) ToProjectOutput

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext

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

func (ProjectOutput) ToProjectPtrOutput

func (o ProjectOutput) ToProjectPtrOutput() ProjectPtrOutput

func (ProjectOutput) ToProjectPtrOutputWithContext

func (o ProjectOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput

type ProjectPtrInput

type ProjectPtrInput interface {
	pulumi.Input

	ToProjectPtrOutput() ProjectPtrOutput
	ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput
}

type ProjectPtrOutput

type ProjectPtrOutput struct{ *pulumi.OutputState }

func (ProjectPtrOutput) Elem added in v3.9.0

func (ProjectPtrOutput) ElementType

func (ProjectPtrOutput) ElementType() reflect.Type

func (ProjectPtrOutput) ToProjectPtrOutput

func (o ProjectPtrOutput) ToProjectPtrOutput() ProjectPtrOutput

func (ProjectPtrOutput) ToProjectPtrOutputWithContext

func (o ProjectPtrOutput) ToProjectPtrOutputWithContext(ctx context.Context) ProjectPtrOutput

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 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, only supported at creation time.
	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"`
	Shards     StoreShardArrayOutput `pulumi:"shards"`
}

## 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

func (*Store) ToStorePtrOutput

func (i *Store) ToStorePtrOutput() StorePtrOutput

func (*Store) ToStorePtrOutputWithContext

func (i *Store) ToStorePtrOutputWithContext(ctx context.Context) StorePtrOutput

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, only supported at creation time.
	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
}

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 added in v3.3.0

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 added in v3.3.0

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 added in v3.3.0

func (StoreEncryptConfArgs) ElementType() reflect.Type

func (StoreEncryptConfArgs) ToStoreEncryptConfOutput added in v3.3.0

func (i StoreEncryptConfArgs) ToStoreEncryptConfOutput() StoreEncryptConfOutput

func (StoreEncryptConfArgs) ToStoreEncryptConfOutputWithContext added in v3.3.0

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

func (StoreEncryptConfArgs) ToStoreEncryptConfPtrOutput added in v3.3.0

func (i StoreEncryptConfArgs) ToStoreEncryptConfPtrOutput() StoreEncryptConfPtrOutput

func (StoreEncryptConfArgs) ToStoreEncryptConfPtrOutputWithContext added in v3.3.0

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

type StoreEncryptConfInput added in v3.3.0

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 added in v3.3.0

type StoreEncryptConfOutput struct{ *pulumi.OutputState }

func (StoreEncryptConfOutput) ElementType added in v3.3.0

func (StoreEncryptConfOutput) ElementType() reflect.Type

func (StoreEncryptConfOutput) Enable added in v3.3.0

enable encryption. Default `false`

func (StoreEncryptConfOutput) EncryptType added in v3.3.0

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

func (StoreEncryptConfOutput) ToStoreEncryptConfOutput added in v3.3.0

func (o StoreEncryptConfOutput) ToStoreEncryptConfOutput() StoreEncryptConfOutput

func (StoreEncryptConfOutput) ToStoreEncryptConfOutputWithContext added in v3.3.0

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

func (StoreEncryptConfOutput) ToStoreEncryptConfPtrOutput added in v3.3.0

func (o StoreEncryptConfOutput) ToStoreEncryptConfPtrOutput() StoreEncryptConfPtrOutput

func (StoreEncryptConfOutput) ToStoreEncryptConfPtrOutputWithContext added in v3.3.0

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

func (StoreEncryptConfOutput) UserCmkInfo added in v3.3.0

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 added in v3.3.0

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

func StoreEncryptConfPtr added in v3.3.0

func StoreEncryptConfPtr(v *StoreEncryptConfArgs) StoreEncryptConfPtrInput

type StoreEncryptConfPtrOutput added in v3.3.0

type StoreEncryptConfPtrOutput struct{ *pulumi.OutputState }

func (StoreEncryptConfPtrOutput) Elem added in v3.3.0

func (StoreEncryptConfPtrOutput) ElementType added in v3.3.0

func (StoreEncryptConfPtrOutput) ElementType() reflect.Type

func (StoreEncryptConfPtrOutput) Enable added in v3.3.0

enable encryption. Default `false`

func (StoreEncryptConfPtrOutput) EncryptType added in v3.3.0

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

func (StoreEncryptConfPtrOutput) ToStoreEncryptConfPtrOutput added in v3.3.0

func (o StoreEncryptConfPtrOutput) ToStoreEncryptConfPtrOutput() StoreEncryptConfPtrOutput

func (StoreEncryptConfPtrOutput) ToStoreEncryptConfPtrOutputWithContext added in v3.3.0

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

func (StoreEncryptConfPtrOutput) UserCmkInfo added in v3.3.0

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 added in v3.3.0

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 added in v3.3.0

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 added in v3.3.0

func (StoreEncryptConfUserCmkInfoArgs) ToStoreEncryptConfUserCmkInfoOutput added in v3.3.0

func (i StoreEncryptConfUserCmkInfoArgs) ToStoreEncryptConfUserCmkInfoOutput() StoreEncryptConfUserCmkInfoOutput

func (StoreEncryptConfUserCmkInfoArgs) ToStoreEncryptConfUserCmkInfoOutputWithContext added in v3.3.0

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

func (StoreEncryptConfUserCmkInfoArgs) ToStoreEncryptConfUserCmkInfoPtrOutput added in v3.3.0

func (i StoreEncryptConfUserCmkInfoArgs) ToStoreEncryptConfUserCmkInfoPtrOutput() StoreEncryptConfUserCmkInfoPtrOutput

func (StoreEncryptConfUserCmkInfoArgs) ToStoreEncryptConfUserCmkInfoPtrOutputWithContext added in v3.3.0

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

type StoreEncryptConfUserCmkInfoInput added in v3.3.0

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 added in v3.3.0

type StoreEncryptConfUserCmkInfoOutput struct{ *pulumi.OutputState }

func (StoreEncryptConfUserCmkInfoOutput) Arn added in v3.3.0

role arn.

func (StoreEncryptConfUserCmkInfoOutput) CmkKeyId added in v3.3.0

User master key id.

func (StoreEncryptConfUserCmkInfoOutput) ElementType added in v3.3.0

func (StoreEncryptConfUserCmkInfoOutput) RegionId added in v3.3.0

Region id where the user master key id is located.

func (StoreEncryptConfUserCmkInfoOutput) ToStoreEncryptConfUserCmkInfoOutput added in v3.3.0

func (o StoreEncryptConfUserCmkInfoOutput) ToStoreEncryptConfUserCmkInfoOutput() StoreEncryptConfUserCmkInfoOutput

func (StoreEncryptConfUserCmkInfoOutput) ToStoreEncryptConfUserCmkInfoOutputWithContext added in v3.3.0

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

func (StoreEncryptConfUserCmkInfoOutput) ToStoreEncryptConfUserCmkInfoPtrOutput added in v3.3.0

func (o StoreEncryptConfUserCmkInfoOutput) ToStoreEncryptConfUserCmkInfoPtrOutput() StoreEncryptConfUserCmkInfoPtrOutput

func (StoreEncryptConfUserCmkInfoOutput) ToStoreEncryptConfUserCmkInfoPtrOutputWithContext added in v3.3.0

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

type StoreEncryptConfUserCmkInfoPtrInput added in v3.3.0

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

func StoreEncryptConfUserCmkInfoPtr added in v3.3.0

type StoreEncryptConfUserCmkInfoPtrOutput added in v3.3.0

type StoreEncryptConfUserCmkInfoPtrOutput struct{ *pulumi.OutputState }

func (StoreEncryptConfUserCmkInfoPtrOutput) Arn added in v3.3.0

role arn.

func (StoreEncryptConfUserCmkInfoPtrOutput) CmkKeyId added in v3.3.0

User master key id.

func (StoreEncryptConfUserCmkInfoPtrOutput) Elem added in v3.3.0

func (StoreEncryptConfUserCmkInfoPtrOutput) ElementType added in v3.3.0

func (StoreEncryptConfUserCmkInfoPtrOutput) RegionId added in v3.3.0

Region id where the user master key id is located.

func (StoreEncryptConfUserCmkInfoPtrOutput) ToStoreEncryptConfUserCmkInfoPtrOutput added in v3.3.0

func (o StoreEncryptConfUserCmkInfoPtrOutput) ToStoreEncryptConfUserCmkInfoPtrOutput() StoreEncryptConfUserCmkInfoPtrOutput

func (StoreEncryptConfUserCmkInfoPtrOutput) ToStoreEncryptConfUserCmkInfoPtrOutputWithContext added in v3.3.0

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

func (*StoreIndex) ToStoreIndexPtrOutput

func (i *StoreIndex) ToStoreIndexPtrOutput() StoreIndexPtrOutput

func (*StoreIndex) ToStoreIndexPtrOutputWithContext

func (i *StoreIndex) ToStoreIndexPtrOutputWithContext(ctx context.Context) StoreIndexPtrOutput

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) ToStoreIndexOutput

func (o StoreIndexOutput) ToStoreIndexOutput() StoreIndexOutput

func (StoreIndexOutput) ToStoreIndexOutputWithContext

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

func (StoreIndexOutput) ToStoreIndexPtrOutput

func (o StoreIndexOutput) ToStoreIndexPtrOutput() StoreIndexPtrOutput

func (StoreIndexOutput) ToStoreIndexPtrOutputWithContext

func (o StoreIndexOutput) ToStoreIndexPtrOutputWithContext(ctx context.Context) StoreIndexPtrOutput

type StoreIndexPtrInput

type StoreIndexPtrInput interface {
	pulumi.Input

	ToStoreIndexPtrOutput() StoreIndexPtrOutput
	ToStoreIndexPtrOutputWithContext(ctx context.Context) StoreIndexPtrOutput
}

type StoreIndexPtrOutput

type StoreIndexPtrOutput struct{ *pulumi.OutputState }

func (StoreIndexPtrOutput) Elem added in v3.9.0

func (StoreIndexPtrOutput) ElementType

func (StoreIndexPtrOutput) ElementType() reflect.Type

func (StoreIndexPtrOutput) ToStoreIndexPtrOutput

func (o StoreIndexPtrOutput) ToStoreIndexPtrOutput() StoreIndexPtrOutput

func (StoreIndexPtrOutput) ToStoreIndexPtrOutputWithContext

func (o StoreIndexPtrOutput) ToStoreIndexPtrOutputWithContext(ctx context.Context) StoreIndexPtrOutput

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) ElementType

func (StoreOutput) ElementType() reflect.Type

func (StoreOutput) ToStoreOutput

func (o StoreOutput) ToStoreOutput() StoreOutput

func (StoreOutput) ToStoreOutputWithContext

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

func (StoreOutput) ToStorePtrOutput

func (o StoreOutput) ToStorePtrOutput() StorePtrOutput

func (StoreOutput) ToStorePtrOutputWithContext

func (o StoreOutput) ToStorePtrOutputWithContext(ctx context.Context) StorePtrOutput

type StorePtrInput

type StorePtrInput interface {
	pulumi.Input

	ToStorePtrOutput() StorePtrOutput
	ToStorePtrOutputWithContext(ctx context.Context) StorePtrOutput
}

type StorePtrOutput

type StorePtrOutput struct{ *pulumi.OutputState }

func (StorePtrOutput) Elem added in v3.9.0

func (o StorePtrOutput) Elem() StoreOutput

func (StorePtrOutput) ElementType

func (StorePtrOutput) ElementType() reflect.Type

func (StorePtrOutput) ToStorePtrOutput

func (o StorePtrOutput) ToStorePtrOutput() StorePtrOutput

func (StorePtrOutput) ToStorePtrOutputWithContext

func (o StorePtrOutput) ToStorePtrOutputWithContext(ctx context.Context) StorePtrOutput

type StoreShard

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

type StoreShardArgs

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

func (StoreShardArgs) ElementType

func (StoreShardArgs) ElementType() reflect.Type

func (StoreShardArgs) ToStoreShardOutput

func (i StoreShardArgs) ToStoreShardOutput() StoreShardOutput

func (StoreShardArgs) ToStoreShardOutputWithContext

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

type StoreShardArray

type StoreShardArray []StoreShardInput

func (StoreShardArray) ElementType

func (StoreShardArray) ElementType() reflect.Type

func (StoreShardArray) ToStoreShardArrayOutput

func (i StoreShardArray) ToStoreShardArrayOutput() StoreShardArrayOutput

func (StoreShardArray) ToStoreShardArrayOutputWithContext

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

type StoreShardArrayInput

type StoreShardArrayInput interface {
	pulumi.Input

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

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

StoreShardArray{ StoreShardArgs{...} }

type StoreShardArrayOutput

type StoreShardArrayOutput struct{ *pulumi.OutputState }

func (StoreShardArrayOutput) ElementType

func (StoreShardArrayOutput) ElementType() reflect.Type

func (StoreShardArrayOutput) Index

func (StoreShardArrayOutput) ToStoreShardArrayOutput

func (o StoreShardArrayOutput) ToStoreShardArrayOutput() StoreShardArrayOutput

func (StoreShardArrayOutput) ToStoreShardArrayOutputWithContext

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

type StoreShardInput

type StoreShardInput interface {
	pulumi.Input

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

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

StoreShardArgs{...}

type StoreShardOutput

type StoreShardOutput struct{ *pulumi.OutputState }

func (StoreShardOutput) BeginKey

func (StoreShardOutput) ElementType

func (StoreShardOutput) ElementType() reflect.Type

func (StoreShardOutput) EndKey

func (StoreShardOutput) Id

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

func (StoreShardOutput) Status

func (StoreShardOutput) ToStoreShardOutput

func (o StoreShardOutput) ToStoreShardOutput() StoreShardOutput

func (StoreShardOutput) ToStoreShardOutputWithContext

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

type StoreState

type StoreState struct {
	// Determines whether to append log meta automatically. The meta includes log receive time and client IP address. Default to `true`.
	AppendMeta pulumi.BoolPtrInput
	// Determines whether to automatically split a shard. Default to `false`.
	AutoSplit pulumi.BoolPtrInput
	// Determines whether to enable Web Tracking. Default `false`.
	EnableWebTracking pulumi.BoolPtrInput
	// Encrypted storage of data, providing data static protection capability, only supported at creation time.
	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
	Shards     StoreShardArrayInput
}

func (StoreState) ElementType

func (StoreState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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