cls

package
v0.0.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.5

func PkgVersion() (semver.Version, error)

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

Types

type Config

type Config struct {
	pulumi.CustomResourceState

	// Collection path blocklist.
	ExcludePaths ConfigExcludePathArrayOutput `pulumi:"excludePaths"`
	// Extraction rule. If ExtractRule is set, LogType must be set.
	ExtractRule ConfigExtractRuleOutput `pulumi:"extractRule"`
	// Type of the log to be collected. Valid values: json_log: log in JSON format; delimiter_log: log in delimited format; minimalist_log: minimalist log; multiline_log: log in multi-line format; fullregex_log: log in full regex format. Default value: minimalist_log.
	LogType pulumi.StringPtrOutput `pulumi:"logType"`
	// Collection configuration name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Log topic ID (TopicId) of collection configuration.
	Output pulumi.StringPtrOutput `pulumi:"output"`
	// Log collection path containing the filename.
	Path pulumi.StringPtrOutput `pulumi:"path"`
	// Custom collection rule, which is a serialized JSON string.
	UserDefineRule pulumi.StringPtrOutput `pulumi:"userDefineRule"`
}

Provides a resource to create a cls config

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Cls"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Cls"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Cls.NewConfig(ctx, "config", &Cls.ConfigArgs{
			ExcludePaths: cls.ConfigExcludePathArray{
				&cls.ConfigExcludePathArgs{
					Type:  pulumi.String("Path"),
					Value: pulumi.String("/data"),
				},
				&cls.ConfigExcludePathArgs{
					Type:  pulumi.String("File"),
					Value: pulumi.String("/file"),
				},
			},
			ExtractRule: &cls.ConfigExtractRuleArgs{
				Backtracking: -1,
				FilterKeyRegexes: cls.ConfigExtractRuleFilterKeyRegexArray{
					&cls.ConfigExtractRuleFilterKeyRegexArgs{
						Key:   pulumi.String("key1"),
						Regex: pulumi.String("value1"),
					},
					&cls.ConfigExtractRuleFilterKeyRegexArgs{
						Key:   pulumi.String("key2"),
						Regex: pulumi.String("value2"),
					},
				},
				UnMatchLogKey:       pulumi.String("config"),
				UnMatchUpLoadSwitch: pulumi.Bool(true),
			},
			LogType: pulumi.String("json_log"),
			Output:  pulumi.String("4d07fba0-b93e-4e0b-9a7f-d58542560bbb"),
			Path:    pulumi.String("/var/log/kubernetes"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetConfig

func GetConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigState, opts ...pulumi.ResourceOption) (*Config, error)

GetConfig gets an existing Config 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 NewConfig

func NewConfig(ctx *pulumi.Context,
	name string, args *ConfigArgs, opts ...pulumi.ResourceOption) (*Config, error)

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

func (*Config) ElementType

func (*Config) ElementType() reflect.Type

func (*Config) ToConfigOutput

func (i *Config) ToConfigOutput() ConfigOutput

func (*Config) ToConfigOutputWithContext

func (i *Config) ToConfigOutputWithContext(ctx context.Context) ConfigOutput

type ConfigArgs

type ConfigArgs struct {
	// Collection path blocklist.
	ExcludePaths ConfigExcludePathArrayInput
	// Extraction rule. If ExtractRule is set, LogType must be set.
	ExtractRule ConfigExtractRuleInput
	// Type of the log to be collected. Valid values: json_log: log in JSON format; delimiter_log: log in delimited format; minimalist_log: minimalist log; multiline_log: log in multi-line format; fullregex_log: log in full regex format. Default value: minimalist_log.
	LogType pulumi.StringPtrInput
	// Collection configuration name.
	Name pulumi.StringPtrInput
	// Log topic ID (TopicId) of collection configuration.
	Output pulumi.StringPtrInput
	// Log collection path containing the filename.
	Path pulumi.StringPtrInput
	// Custom collection rule, which is a serialized JSON string.
	UserDefineRule pulumi.StringPtrInput
}

The set of arguments for constructing a Config resource.

func (ConfigArgs) ElementType

func (ConfigArgs) ElementType() reflect.Type

type ConfigArray

type ConfigArray []ConfigInput

func (ConfigArray) ElementType

func (ConfigArray) ElementType() reflect.Type

func (ConfigArray) ToConfigArrayOutput

func (i ConfigArray) ToConfigArrayOutput() ConfigArrayOutput

func (ConfigArray) ToConfigArrayOutputWithContext

func (i ConfigArray) ToConfigArrayOutputWithContext(ctx context.Context) ConfigArrayOutput

type ConfigArrayInput

type ConfigArrayInput interface {
	pulumi.Input

	ToConfigArrayOutput() ConfigArrayOutput
	ToConfigArrayOutputWithContext(context.Context) ConfigArrayOutput
}

ConfigArrayInput is an input type that accepts ConfigArray and ConfigArrayOutput values. You can construct a concrete instance of `ConfigArrayInput` via:

ConfigArray{ ConfigArgs{...} }

type ConfigArrayOutput

type ConfigArrayOutput struct{ *pulumi.OutputState }

func (ConfigArrayOutput) ElementType

func (ConfigArrayOutput) ElementType() reflect.Type

func (ConfigArrayOutput) Index

func (ConfigArrayOutput) ToConfigArrayOutput

func (o ConfigArrayOutput) ToConfigArrayOutput() ConfigArrayOutput

func (ConfigArrayOutput) ToConfigArrayOutputWithContext

func (o ConfigArrayOutput) ToConfigArrayOutputWithContext(ctx context.Context) ConfigArrayOutput

type ConfigAttachment

type ConfigAttachment struct {
	pulumi.CustomResourceState

	// Collection configuration id.
	ConfigId pulumi.StringOutput `pulumi:"configId"`
	// Machine group id.
	GroupId pulumi.StringOutput `pulumi:"groupId"`
}

Provides a resource to create a cls config attachment

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Cls"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Cls.NewConfigAttachment(ctx, "attach", &Cls.ConfigAttachmentArgs{
			ConfigId: pulumi.Any(tencentcloud_cls_config.Config.Id),
			GroupId:  pulumi.String("27752a9b-9918-440a-8ee7-9c84a14a47ed"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetConfigAttachment

func GetConfigAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigAttachmentState, opts ...pulumi.ResourceOption) (*ConfigAttachment, error)

GetConfigAttachment gets an existing ConfigAttachment 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 NewConfigAttachment

func NewConfigAttachment(ctx *pulumi.Context,
	name string, args *ConfigAttachmentArgs, opts ...pulumi.ResourceOption) (*ConfigAttachment, error)

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

func (*ConfigAttachment) ElementType

func (*ConfigAttachment) ElementType() reflect.Type

func (*ConfigAttachment) ToConfigAttachmentOutput

func (i *ConfigAttachment) ToConfigAttachmentOutput() ConfigAttachmentOutput

func (*ConfigAttachment) ToConfigAttachmentOutputWithContext

func (i *ConfigAttachment) ToConfigAttachmentOutputWithContext(ctx context.Context) ConfigAttachmentOutput

type ConfigAttachmentArgs

type ConfigAttachmentArgs struct {
	// Collection configuration id.
	ConfigId pulumi.StringInput
	// Machine group id.
	GroupId pulumi.StringInput
}

The set of arguments for constructing a ConfigAttachment resource.

func (ConfigAttachmentArgs) ElementType

func (ConfigAttachmentArgs) ElementType() reflect.Type

type ConfigAttachmentArray

type ConfigAttachmentArray []ConfigAttachmentInput

func (ConfigAttachmentArray) ElementType

func (ConfigAttachmentArray) ElementType() reflect.Type

func (ConfigAttachmentArray) ToConfigAttachmentArrayOutput

func (i ConfigAttachmentArray) ToConfigAttachmentArrayOutput() ConfigAttachmentArrayOutput

func (ConfigAttachmentArray) ToConfigAttachmentArrayOutputWithContext

func (i ConfigAttachmentArray) ToConfigAttachmentArrayOutputWithContext(ctx context.Context) ConfigAttachmentArrayOutput

type ConfigAttachmentArrayInput

type ConfigAttachmentArrayInput interface {
	pulumi.Input

	ToConfigAttachmentArrayOutput() ConfigAttachmentArrayOutput
	ToConfigAttachmentArrayOutputWithContext(context.Context) ConfigAttachmentArrayOutput
}

ConfigAttachmentArrayInput is an input type that accepts ConfigAttachmentArray and ConfigAttachmentArrayOutput values. You can construct a concrete instance of `ConfigAttachmentArrayInput` via:

ConfigAttachmentArray{ ConfigAttachmentArgs{...} }

type ConfigAttachmentArrayOutput

type ConfigAttachmentArrayOutput struct{ *pulumi.OutputState }

func (ConfigAttachmentArrayOutput) ElementType

func (ConfigAttachmentArrayOutput) Index

func (ConfigAttachmentArrayOutput) ToConfigAttachmentArrayOutput

func (o ConfigAttachmentArrayOutput) ToConfigAttachmentArrayOutput() ConfigAttachmentArrayOutput

func (ConfigAttachmentArrayOutput) ToConfigAttachmentArrayOutputWithContext

func (o ConfigAttachmentArrayOutput) ToConfigAttachmentArrayOutputWithContext(ctx context.Context) ConfigAttachmentArrayOutput

type ConfigAttachmentInput

type ConfigAttachmentInput interface {
	pulumi.Input

	ToConfigAttachmentOutput() ConfigAttachmentOutput
	ToConfigAttachmentOutputWithContext(ctx context.Context) ConfigAttachmentOutput
}

type ConfigAttachmentMap

type ConfigAttachmentMap map[string]ConfigAttachmentInput

func (ConfigAttachmentMap) ElementType

func (ConfigAttachmentMap) ElementType() reflect.Type

func (ConfigAttachmentMap) ToConfigAttachmentMapOutput

func (i ConfigAttachmentMap) ToConfigAttachmentMapOutput() ConfigAttachmentMapOutput

func (ConfigAttachmentMap) ToConfigAttachmentMapOutputWithContext

func (i ConfigAttachmentMap) ToConfigAttachmentMapOutputWithContext(ctx context.Context) ConfigAttachmentMapOutput

type ConfigAttachmentMapInput

type ConfigAttachmentMapInput interface {
	pulumi.Input

	ToConfigAttachmentMapOutput() ConfigAttachmentMapOutput
	ToConfigAttachmentMapOutputWithContext(context.Context) ConfigAttachmentMapOutput
}

ConfigAttachmentMapInput is an input type that accepts ConfigAttachmentMap and ConfigAttachmentMapOutput values. You can construct a concrete instance of `ConfigAttachmentMapInput` via:

ConfigAttachmentMap{ "key": ConfigAttachmentArgs{...} }

type ConfigAttachmentMapOutput

type ConfigAttachmentMapOutput struct{ *pulumi.OutputState }

func (ConfigAttachmentMapOutput) ElementType

func (ConfigAttachmentMapOutput) ElementType() reflect.Type

func (ConfigAttachmentMapOutput) MapIndex

func (ConfigAttachmentMapOutput) ToConfigAttachmentMapOutput

func (o ConfigAttachmentMapOutput) ToConfigAttachmentMapOutput() ConfigAttachmentMapOutput

func (ConfigAttachmentMapOutput) ToConfigAttachmentMapOutputWithContext

func (o ConfigAttachmentMapOutput) ToConfigAttachmentMapOutputWithContext(ctx context.Context) ConfigAttachmentMapOutput

type ConfigAttachmentOutput

type ConfigAttachmentOutput struct{ *pulumi.OutputState }

func (ConfigAttachmentOutput) ConfigId

Collection configuration id.

func (ConfigAttachmentOutput) ElementType

func (ConfigAttachmentOutput) ElementType() reflect.Type

func (ConfigAttachmentOutput) GroupId

Machine group id.

func (ConfigAttachmentOutput) ToConfigAttachmentOutput

func (o ConfigAttachmentOutput) ToConfigAttachmentOutput() ConfigAttachmentOutput

func (ConfigAttachmentOutput) ToConfigAttachmentOutputWithContext

func (o ConfigAttachmentOutput) ToConfigAttachmentOutputWithContext(ctx context.Context) ConfigAttachmentOutput

type ConfigAttachmentState

type ConfigAttachmentState struct {
	// Collection configuration id.
	ConfigId pulumi.StringPtrInput
	// Machine group id.
	GroupId pulumi.StringPtrInput
}

func (ConfigAttachmentState) ElementType

func (ConfigAttachmentState) ElementType() reflect.Type

type ConfigExcludePath

type ConfigExcludePath struct {
	// Type. Valid values: File, Path.
	Type *string `pulumi:"type"`
	// Specific content corresponding to Type.
	Value *string `pulumi:"value"`
}

type ConfigExcludePathArgs

type ConfigExcludePathArgs struct {
	// Type. Valid values: File, Path.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// Specific content corresponding to Type.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ConfigExcludePathArgs) ElementType

func (ConfigExcludePathArgs) ElementType() reflect.Type

func (ConfigExcludePathArgs) ToConfigExcludePathOutput

func (i ConfigExcludePathArgs) ToConfigExcludePathOutput() ConfigExcludePathOutput

func (ConfigExcludePathArgs) ToConfigExcludePathOutputWithContext

func (i ConfigExcludePathArgs) ToConfigExcludePathOutputWithContext(ctx context.Context) ConfigExcludePathOutput

type ConfigExcludePathArray

type ConfigExcludePathArray []ConfigExcludePathInput

func (ConfigExcludePathArray) ElementType

func (ConfigExcludePathArray) ElementType() reflect.Type

func (ConfigExcludePathArray) ToConfigExcludePathArrayOutput

func (i ConfigExcludePathArray) ToConfigExcludePathArrayOutput() ConfigExcludePathArrayOutput

func (ConfigExcludePathArray) ToConfigExcludePathArrayOutputWithContext

func (i ConfigExcludePathArray) ToConfigExcludePathArrayOutputWithContext(ctx context.Context) ConfigExcludePathArrayOutput

type ConfigExcludePathArrayInput

type ConfigExcludePathArrayInput interface {
	pulumi.Input

	ToConfigExcludePathArrayOutput() ConfigExcludePathArrayOutput
	ToConfigExcludePathArrayOutputWithContext(context.Context) ConfigExcludePathArrayOutput
}

ConfigExcludePathArrayInput is an input type that accepts ConfigExcludePathArray and ConfigExcludePathArrayOutput values. You can construct a concrete instance of `ConfigExcludePathArrayInput` via:

ConfigExcludePathArray{ ConfigExcludePathArgs{...} }

type ConfigExcludePathArrayOutput

type ConfigExcludePathArrayOutput struct{ *pulumi.OutputState }

func (ConfigExcludePathArrayOutput) ElementType

func (ConfigExcludePathArrayOutput) Index

func (ConfigExcludePathArrayOutput) ToConfigExcludePathArrayOutput

func (o ConfigExcludePathArrayOutput) ToConfigExcludePathArrayOutput() ConfigExcludePathArrayOutput

func (ConfigExcludePathArrayOutput) ToConfigExcludePathArrayOutputWithContext

func (o ConfigExcludePathArrayOutput) ToConfigExcludePathArrayOutputWithContext(ctx context.Context) ConfigExcludePathArrayOutput

type ConfigExcludePathInput

type ConfigExcludePathInput interface {
	pulumi.Input

	ToConfigExcludePathOutput() ConfigExcludePathOutput
	ToConfigExcludePathOutputWithContext(context.Context) ConfigExcludePathOutput
}

ConfigExcludePathInput is an input type that accepts ConfigExcludePathArgs and ConfigExcludePathOutput values. You can construct a concrete instance of `ConfigExcludePathInput` via:

ConfigExcludePathArgs{...}

type ConfigExcludePathOutput

type ConfigExcludePathOutput struct{ *pulumi.OutputState }

func (ConfigExcludePathOutput) ElementType

func (ConfigExcludePathOutput) ElementType() reflect.Type

func (ConfigExcludePathOutput) ToConfigExcludePathOutput

func (o ConfigExcludePathOutput) ToConfigExcludePathOutput() ConfigExcludePathOutput

func (ConfigExcludePathOutput) ToConfigExcludePathOutputWithContext

func (o ConfigExcludePathOutput) ToConfigExcludePathOutputWithContext(ctx context.Context) ConfigExcludePathOutput

func (ConfigExcludePathOutput) Type

Type. Valid values: File, Path.

func (ConfigExcludePathOutput) Value

Specific content corresponding to Type.

type ConfigExtra

type ConfigExtra struct {
	pulumi.CustomResourceState

	// Collection configuration flag.
	ConfigFlag pulumi.StringOutput `pulumi:"configFlag"`
	// Container file path info.
	ContainerFile ConfigExtraContainerFilePtrOutput `pulumi:"containerFile"`
	// Container stdout info.
	ContainerStdout ConfigExtraContainerStdoutPtrOutput `pulumi:"containerStdout"`
	// Collection path blocklist.
	ExcludePaths ConfigExtraExcludePathArrayOutput `pulumi:"excludePaths"`
	// Extraction rule. If ExtractRule is set, LogType must be set.
	ExtractRule ConfigExtraExtractRulePtrOutput `pulumi:"extractRule"`
	// Binding group id.
	GroupId pulumi.StringPtrOutput `pulumi:"groupId"`
	// Binding group ids.
	GroupIds pulumi.StringArrayOutput `pulumi:"groupIds"`
	// Node file config info.
	HostFile ConfigExtraHostFilePtrOutput `pulumi:"hostFile"`
	// Type of the log to be collected. Valid values: json_log: log in JSON format; delimiter_log: log in delimited format; minimalist_log: minimalist log; multiline_log: log in multi-line format; fullregex_log: log in full regex format. Default value: minimalist_log.
	LogType pulumi.StringOutput `pulumi:"logType"`
	// Logset Id.
	LogsetId pulumi.StringOutput `pulumi:"logsetId"`
	// Logset Name.
	LogsetName pulumi.StringOutput `pulumi:"logsetName"`
	// Collection configuration name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Log topic ID (TopicId) of collection configuration.
	TopicId pulumi.StringOutput `pulumi:"topicId"`
	// Topic Name.
	TopicName pulumi.StringOutput `pulumi:"topicName"`
	// Type. Valid values: container_stdout; container_file; host_file.
	Type pulumi.StringOutput `pulumi:"type"`
	// Custom collection rule, which is a serialized JSON string.
	UserDefineRule pulumi.StringPtrOutput `pulumi:"userDefineRule"`
}

Provides a resource to create a cls config extra

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Cls"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Cls"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Cls.NewConfigExtra(ctx, "extra", &Cls.ConfigExtraArgs{
			TopicId:    pulumi.Any(tencentcloud_cls_topic.Topic.Id),
			Type:       pulumi.String("container_file"),
			LogType:    pulumi.String("json_log"),
			ConfigFlag: pulumi.String("label_k8s"),
			LogsetId:   pulumi.Any(tencentcloud_cls_logset.Logset.Id),
			LogsetName: pulumi.Any(tencentcloud_cls_logset.Logset.Logset_name),
			TopicName:  pulumi.Any(tencentcloud_cls_topic.Topic.Topic_name),
			ContainerFile: &cls.ConfigExtraContainerFileArgs{
				Container:   pulumi.String("nginx"),
				FilePattern: pulumi.String("log"),
				LogPath:     pulumi.String("/nginx"),
				Namespace:   pulumi.String("default"),
				Workload: &cls.ConfigExtraContainerFileWorkloadArgs{
					Container: pulumi.String("nginx"),
					Kind:      pulumi.String("deployment"),
					Name:      pulumi.String("nginx"),
					Namespace: pulumi.String("default"),
				},
			},
			GroupId: pulumi.String("27752a9b-9918-440a-8ee7-9c84a14a47ed"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetConfigExtra

func GetConfigExtra(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigExtraState, opts ...pulumi.ResourceOption) (*ConfigExtra, error)

GetConfigExtra gets an existing ConfigExtra 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 NewConfigExtra

func NewConfigExtra(ctx *pulumi.Context,
	name string, args *ConfigExtraArgs, opts ...pulumi.ResourceOption) (*ConfigExtra, error)

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

func (*ConfigExtra) ElementType

func (*ConfigExtra) ElementType() reflect.Type

func (*ConfigExtra) ToConfigExtraOutput

func (i *ConfigExtra) ToConfigExtraOutput() ConfigExtraOutput

func (*ConfigExtra) ToConfigExtraOutputWithContext

func (i *ConfigExtra) ToConfigExtraOutputWithContext(ctx context.Context) ConfigExtraOutput

type ConfigExtraArgs

type ConfigExtraArgs struct {
	// Collection configuration flag.
	ConfigFlag pulumi.StringInput
	// Container file path info.
	ContainerFile ConfigExtraContainerFilePtrInput
	// Container stdout info.
	ContainerStdout ConfigExtraContainerStdoutPtrInput
	// Collection path blocklist.
	ExcludePaths ConfigExtraExcludePathArrayInput
	// Extraction rule. If ExtractRule is set, LogType must be set.
	ExtractRule ConfigExtraExtractRulePtrInput
	// Binding group id.
	GroupId pulumi.StringPtrInput
	// Binding group ids.
	GroupIds pulumi.StringArrayInput
	// Node file config info.
	HostFile ConfigExtraHostFilePtrInput
	// Type of the log to be collected. Valid values: json_log: log in JSON format; delimiter_log: log in delimited format; minimalist_log: minimalist log; multiline_log: log in multi-line format; fullregex_log: log in full regex format. Default value: minimalist_log.
	LogType pulumi.StringInput
	// Logset Id.
	LogsetId pulumi.StringInput
	// Logset Name.
	LogsetName pulumi.StringInput
	// Collection configuration name.
	Name pulumi.StringPtrInput
	// Log topic ID (TopicId) of collection configuration.
	TopicId pulumi.StringInput
	// Topic Name.
	TopicName pulumi.StringInput
	// Type. Valid values: container_stdout; container_file; host_file.
	Type pulumi.StringInput
	// Custom collection rule, which is a serialized JSON string.
	UserDefineRule pulumi.StringPtrInput
}

The set of arguments for constructing a ConfigExtra resource.

func (ConfigExtraArgs) ElementType

func (ConfigExtraArgs) ElementType() reflect.Type

type ConfigExtraArray

type ConfigExtraArray []ConfigExtraInput

func (ConfigExtraArray) ElementType

func (ConfigExtraArray) ElementType() reflect.Type

func (ConfigExtraArray) ToConfigExtraArrayOutput

func (i ConfigExtraArray) ToConfigExtraArrayOutput() ConfigExtraArrayOutput

func (ConfigExtraArray) ToConfigExtraArrayOutputWithContext

func (i ConfigExtraArray) ToConfigExtraArrayOutputWithContext(ctx context.Context) ConfigExtraArrayOutput

type ConfigExtraArrayInput

type ConfigExtraArrayInput interface {
	pulumi.Input

	ToConfigExtraArrayOutput() ConfigExtraArrayOutput
	ToConfigExtraArrayOutputWithContext(context.Context) ConfigExtraArrayOutput
}

ConfigExtraArrayInput is an input type that accepts ConfigExtraArray and ConfigExtraArrayOutput values. You can construct a concrete instance of `ConfigExtraArrayInput` via:

ConfigExtraArray{ ConfigExtraArgs{...} }

type ConfigExtraArrayOutput

type ConfigExtraArrayOutput struct{ *pulumi.OutputState }

func (ConfigExtraArrayOutput) ElementType

func (ConfigExtraArrayOutput) ElementType() reflect.Type

func (ConfigExtraArrayOutput) Index

func (ConfigExtraArrayOutput) ToConfigExtraArrayOutput

func (o ConfigExtraArrayOutput) ToConfigExtraArrayOutput() ConfigExtraArrayOutput

func (ConfigExtraArrayOutput) ToConfigExtraArrayOutputWithContext

func (o ConfigExtraArrayOutput) ToConfigExtraArrayOutputWithContext(ctx context.Context) ConfigExtraArrayOutput

type ConfigExtraContainerFile

type ConfigExtraContainerFile struct {
	// Container name.
	Container string `pulumi:"container"`
	// Pod label to be excluded.
	ExcludeLabels []string `pulumi:"excludeLabels"`
	// Namespaces to be excluded, separated by separators, such as A, B.
	ExcludeNamespace *string `pulumi:"excludeNamespace"`
	// log name.
	FilePattern string `pulumi:"filePattern"`
	// Pod label info.
	IncludeLabels []string `pulumi:"includeLabels"`
	// Log Path.
	LogPath string `pulumi:"logPath"`
	// Namespace. There can be multiple namespaces, separated by separators, such as A, B.
	Namespace string `pulumi:"namespace"`
	// Workload info.
	Workload *ConfigExtraContainerFileWorkload `pulumi:"workload"`
}

type ConfigExtraContainerFileArgs

type ConfigExtraContainerFileArgs struct {
	// Container name.
	Container pulumi.StringInput `pulumi:"container"`
	// Pod label to be excluded.
	ExcludeLabels pulumi.StringArrayInput `pulumi:"excludeLabels"`
	// Namespaces to be excluded, separated by separators, such as A, B.
	ExcludeNamespace pulumi.StringPtrInput `pulumi:"excludeNamespace"`
	// log name.
	FilePattern pulumi.StringInput `pulumi:"filePattern"`
	// Pod label info.
	IncludeLabels pulumi.StringArrayInput `pulumi:"includeLabels"`
	// Log Path.
	LogPath pulumi.StringInput `pulumi:"logPath"`
	// Namespace. There can be multiple namespaces, separated by separators, such as A, B.
	Namespace pulumi.StringInput `pulumi:"namespace"`
	// Workload info.
	Workload ConfigExtraContainerFileWorkloadPtrInput `pulumi:"workload"`
}

func (ConfigExtraContainerFileArgs) ElementType

func (ConfigExtraContainerFileArgs) ToConfigExtraContainerFileOutput

func (i ConfigExtraContainerFileArgs) ToConfigExtraContainerFileOutput() ConfigExtraContainerFileOutput

func (ConfigExtraContainerFileArgs) ToConfigExtraContainerFileOutputWithContext

func (i ConfigExtraContainerFileArgs) ToConfigExtraContainerFileOutputWithContext(ctx context.Context) ConfigExtraContainerFileOutput

func (ConfigExtraContainerFileArgs) ToConfigExtraContainerFilePtrOutput

func (i ConfigExtraContainerFileArgs) ToConfigExtraContainerFilePtrOutput() ConfigExtraContainerFilePtrOutput

func (ConfigExtraContainerFileArgs) ToConfigExtraContainerFilePtrOutputWithContext

func (i ConfigExtraContainerFileArgs) ToConfigExtraContainerFilePtrOutputWithContext(ctx context.Context) ConfigExtraContainerFilePtrOutput

type ConfigExtraContainerFileInput

type ConfigExtraContainerFileInput interface {
	pulumi.Input

	ToConfigExtraContainerFileOutput() ConfigExtraContainerFileOutput
	ToConfigExtraContainerFileOutputWithContext(context.Context) ConfigExtraContainerFileOutput
}

ConfigExtraContainerFileInput is an input type that accepts ConfigExtraContainerFileArgs and ConfigExtraContainerFileOutput values. You can construct a concrete instance of `ConfigExtraContainerFileInput` via:

ConfigExtraContainerFileArgs{...}

type ConfigExtraContainerFileOutput

type ConfigExtraContainerFileOutput struct{ *pulumi.OutputState }

func (ConfigExtraContainerFileOutput) Container

Container name.

func (ConfigExtraContainerFileOutput) ElementType

func (ConfigExtraContainerFileOutput) ExcludeLabels

Pod label to be excluded.

func (ConfigExtraContainerFileOutput) ExcludeNamespace

Namespaces to be excluded, separated by separators, such as A, B.

func (ConfigExtraContainerFileOutput) FilePattern

log name.

func (ConfigExtraContainerFileOutput) IncludeLabels

Pod label info.

func (ConfigExtraContainerFileOutput) LogPath

Log Path.

func (ConfigExtraContainerFileOutput) Namespace

Namespace. There can be multiple namespaces, separated by separators, such as A, B.

func (ConfigExtraContainerFileOutput) ToConfigExtraContainerFileOutput

func (o ConfigExtraContainerFileOutput) ToConfigExtraContainerFileOutput() ConfigExtraContainerFileOutput

func (ConfigExtraContainerFileOutput) ToConfigExtraContainerFileOutputWithContext

func (o ConfigExtraContainerFileOutput) ToConfigExtraContainerFileOutputWithContext(ctx context.Context) ConfigExtraContainerFileOutput

func (ConfigExtraContainerFileOutput) ToConfigExtraContainerFilePtrOutput

func (o ConfigExtraContainerFileOutput) ToConfigExtraContainerFilePtrOutput() ConfigExtraContainerFilePtrOutput

func (ConfigExtraContainerFileOutput) ToConfigExtraContainerFilePtrOutputWithContext

func (o ConfigExtraContainerFileOutput) ToConfigExtraContainerFilePtrOutputWithContext(ctx context.Context) ConfigExtraContainerFilePtrOutput

func (ConfigExtraContainerFileOutput) Workload

Workload info.

type ConfigExtraContainerFilePtrInput

type ConfigExtraContainerFilePtrInput interface {
	pulumi.Input

	ToConfigExtraContainerFilePtrOutput() ConfigExtraContainerFilePtrOutput
	ToConfigExtraContainerFilePtrOutputWithContext(context.Context) ConfigExtraContainerFilePtrOutput
}

ConfigExtraContainerFilePtrInput is an input type that accepts ConfigExtraContainerFileArgs, ConfigExtraContainerFilePtr and ConfigExtraContainerFilePtrOutput values. You can construct a concrete instance of `ConfigExtraContainerFilePtrInput` via:

        ConfigExtraContainerFileArgs{...}

or:

        nil

type ConfigExtraContainerFilePtrOutput

type ConfigExtraContainerFilePtrOutput struct{ *pulumi.OutputState }

func (ConfigExtraContainerFilePtrOutput) Container

Container name.

func (ConfigExtraContainerFilePtrOutput) Elem

func (ConfigExtraContainerFilePtrOutput) ElementType

func (ConfigExtraContainerFilePtrOutput) ExcludeLabels

Pod label to be excluded.

func (ConfigExtraContainerFilePtrOutput) ExcludeNamespace

Namespaces to be excluded, separated by separators, such as A, B.

func (ConfigExtraContainerFilePtrOutput) FilePattern

log name.

func (ConfigExtraContainerFilePtrOutput) IncludeLabels

Pod label info.

func (ConfigExtraContainerFilePtrOutput) LogPath

Log Path.

func (ConfigExtraContainerFilePtrOutput) Namespace

Namespace. There can be multiple namespaces, separated by separators, such as A, B.

func (ConfigExtraContainerFilePtrOutput) ToConfigExtraContainerFilePtrOutput

func (o ConfigExtraContainerFilePtrOutput) ToConfigExtraContainerFilePtrOutput() ConfigExtraContainerFilePtrOutput

func (ConfigExtraContainerFilePtrOutput) ToConfigExtraContainerFilePtrOutputWithContext

func (o ConfigExtraContainerFilePtrOutput) ToConfigExtraContainerFilePtrOutputWithContext(ctx context.Context) ConfigExtraContainerFilePtrOutput

func (ConfigExtraContainerFilePtrOutput) Workload

Workload info.

type ConfigExtraContainerFileWorkload

type ConfigExtraContainerFileWorkload struct {
	// container name.
	Container *string `pulumi:"container"`
	// workload type.
	Kind string `pulumi:"kind"`
	// workload name.
	Name string `pulumi:"name"`
	// namespace.
	Namespace *string `pulumi:"namespace"`
}

type ConfigExtraContainerFileWorkloadArgs

type ConfigExtraContainerFileWorkloadArgs struct {
	// container name.
	Container pulumi.StringPtrInput `pulumi:"container"`
	// workload type.
	Kind pulumi.StringInput `pulumi:"kind"`
	// workload name.
	Name pulumi.StringInput `pulumi:"name"`
	// namespace.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
}

func (ConfigExtraContainerFileWorkloadArgs) ElementType

func (ConfigExtraContainerFileWorkloadArgs) ToConfigExtraContainerFileWorkloadOutput

func (i ConfigExtraContainerFileWorkloadArgs) ToConfigExtraContainerFileWorkloadOutput() ConfigExtraContainerFileWorkloadOutput

func (ConfigExtraContainerFileWorkloadArgs) ToConfigExtraContainerFileWorkloadOutputWithContext

func (i ConfigExtraContainerFileWorkloadArgs) ToConfigExtraContainerFileWorkloadOutputWithContext(ctx context.Context) ConfigExtraContainerFileWorkloadOutput

func (ConfigExtraContainerFileWorkloadArgs) ToConfigExtraContainerFileWorkloadPtrOutput

func (i ConfigExtraContainerFileWorkloadArgs) ToConfigExtraContainerFileWorkloadPtrOutput() ConfigExtraContainerFileWorkloadPtrOutput

func (ConfigExtraContainerFileWorkloadArgs) ToConfigExtraContainerFileWorkloadPtrOutputWithContext

func (i ConfigExtraContainerFileWorkloadArgs) ToConfigExtraContainerFileWorkloadPtrOutputWithContext(ctx context.Context) ConfigExtraContainerFileWorkloadPtrOutput

type ConfigExtraContainerFileWorkloadInput

type ConfigExtraContainerFileWorkloadInput interface {
	pulumi.Input

	ToConfigExtraContainerFileWorkloadOutput() ConfigExtraContainerFileWorkloadOutput
	ToConfigExtraContainerFileWorkloadOutputWithContext(context.Context) ConfigExtraContainerFileWorkloadOutput
}

ConfigExtraContainerFileWorkloadInput is an input type that accepts ConfigExtraContainerFileWorkloadArgs and ConfigExtraContainerFileWorkloadOutput values. You can construct a concrete instance of `ConfigExtraContainerFileWorkloadInput` via:

ConfigExtraContainerFileWorkloadArgs{...}

type ConfigExtraContainerFileWorkloadOutput

type ConfigExtraContainerFileWorkloadOutput struct{ *pulumi.OutputState }

func (ConfigExtraContainerFileWorkloadOutput) Container

container name.

func (ConfigExtraContainerFileWorkloadOutput) ElementType

func (ConfigExtraContainerFileWorkloadOutput) Kind

workload type.

func (ConfigExtraContainerFileWorkloadOutput) Name

workload name.

func (ConfigExtraContainerFileWorkloadOutput) Namespace

namespace.

func (ConfigExtraContainerFileWorkloadOutput) ToConfigExtraContainerFileWorkloadOutput

func (o ConfigExtraContainerFileWorkloadOutput) ToConfigExtraContainerFileWorkloadOutput() ConfigExtraContainerFileWorkloadOutput

func (ConfigExtraContainerFileWorkloadOutput) ToConfigExtraContainerFileWorkloadOutputWithContext

func (o ConfigExtraContainerFileWorkloadOutput) ToConfigExtraContainerFileWorkloadOutputWithContext(ctx context.Context) ConfigExtraContainerFileWorkloadOutput

func (ConfigExtraContainerFileWorkloadOutput) ToConfigExtraContainerFileWorkloadPtrOutput

func (o ConfigExtraContainerFileWorkloadOutput) ToConfigExtraContainerFileWorkloadPtrOutput() ConfigExtraContainerFileWorkloadPtrOutput

func (ConfigExtraContainerFileWorkloadOutput) ToConfigExtraContainerFileWorkloadPtrOutputWithContext

func (o ConfigExtraContainerFileWorkloadOutput) ToConfigExtraContainerFileWorkloadPtrOutputWithContext(ctx context.Context) ConfigExtraContainerFileWorkloadPtrOutput

type ConfigExtraContainerFileWorkloadPtrInput

type ConfigExtraContainerFileWorkloadPtrInput interface {
	pulumi.Input

	ToConfigExtraContainerFileWorkloadPtrOutput() ConfigExtraContainerFileWorkloadPtrOutput
	ToConfigExtraContainerFileWorkloadPtrOutputWithContext(context.Context) ConfigExtraContainerFileWorkloadPtrOutput
}

ConfigExtraContainerFileWorkloadPtrInput is an input type that accepts ConfigExtraContainerFileWorkloadArgs, ConfigExtraContainerFileWorkloadPtr and ConfigExtraContainerFileWorkloadPtrOutput values. You can construct a concrete instance of `ConfigExtraContainerFileWorkloadPtrInput` via:

        ConfigExtraContainerFileWorkloadArgs{...}

or:

        nil

type ConfigExtraContainerFileWorkloadPtrOutput

type ConfigExtraContainerFileWorkloadPtrOutput struct{ *pulumi.OutputState }

func (ConfigExtraContainerFileWorkloadPtrOutput) Container

container name.

func (ConfigExtraContainerFileWorkloadPtrOutput) Elem

func (ConfigExtraContainerFileWorkloadPtrOutput) ElementType

func (ConfigExtraContainerFileWorkloadPtrOutput) Kind

workload type.

func (ConfigExtraContainerFileWorkloadPtrOutput) Name

workload name.

func (ConfigExtraContainerFileWorkloadPtrOutput) Namespace

namespace.

func (ConfigExtraContainerFileWorkloadPtrOutput) ToConfigExtraContainerFileWorkloadPtrOutput

func (o ConfigExtraContainerFileWorkloadPtrOutput) ToConfigExtraContainerFileWorkloadPtrOutput() ConfigExtraContainerFileWorkloadPtrOutput

func (ConfigExtraContainerFileWorkloadPtrOutput) ToConfigExtraContainerFileWorkloadPtrOutputWithContext

func (o ConfigExtraContainerFileWorkloadPtrOutput) ToConfigExtraContainerFileWorkloadPtrOutputWithContext(ctx context.Context) ConfigExtraContainerFileWorkloadPtrOutput

type ConfigExtraContainerStdout

type ConfigExtraContainerStdout struct {
	// Is all containers.
	AllContainers bool `pulumi:"allContainers"`
	// Pod label to be excluded.
	ExcludeLabels []string `pulumi:"excludeLabels"`
	// Namespaces to be excluded, separated by separators, such as A, B.
	ExcludeNamespace *string `pulumi:"excludeNamespace"`
	// Pod label info.
	IncludeLabels []string `pulumi:"includeLabels"`
	// Namespace. There can be multiple namespaces, separated by separators, such as A, B.
	Namespace *string `pulumi:"namespace"`
	// Workload info.
	Workloads []ConfigExtraContainerStdoutWorkload `pulumi:"workloads"`
}

type ConfigExtraContainerStdoutArgs

type ConfigExtraContainerStdoutArgs struct {
	// Is all containers.
	AllContainers pulumi.BoolInput `pulumi:"allContainers"`
	// Pod label to be excluded.
	ExcludeLabels pulumi.StringArrayInput `pulumi:"excludeLabels"`
	// Namespaces to be excluded, separated by separators, such as A, B.
	ExcludeNamespace pulumi.StringPtrInput `pulumi:"excludeNamespace"`
	// Pod label info.
	IncludeLabels pulumi.StringArrayInput `pulumi:"includeLabels"`
	// Namespace. There can be multiple namespaces, separated by separators, such as A, B.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// Workload info.
	Workloads ConfigExtraContainerStdoutWorkloadArrayInput `pulumi:"workloads"`
}

func (ConfigExtraContainerStdoutArgs) ElementType

func (ConfigExtraContainerStdoutArgs) ToConfigExtraContainerStdoutOutput

func (i ConfigExtraContainerStdoutArgs) ToConfigExtraContainerStdoutOutput() ConfigExtraContainerStdoutOutput

func (ConfigExtraContainerStdoutArgs) ToConfigExtraContainerStdoutOutputWithContext

func (i ConfigExtraContainerStdoutArgs) ToConfigExtraContainerStdoutOutputWithContext(ctx context.Context) ConfigExtraContainerStdoutOutput

func (ConfigExtraContainerStdoutArgs) ToConfigExtraContainerStdoutPtrOutput

func (i ConfigExtraContainerStdoutArgs) ToConfigExtraContainerStdoutPtrOutput() ConfigExtraContainerStdoutPtrOutput

func (ConfigExtraContainerStdoutArgs) ToConfigExtraContainerStdoutPtrOutputWithContext

func (i ConfigExtraContainerStdoutArgs) ToConfigExtraContainerStdoutPtrOutputWithContext(ctx context.Context) ConfigExtraContainerStdoutPtrOutput

type ConfigExtraContainerStdoutInput

type ConfigExtraContainerStdoutInput interface {
	pulumi.Input

	ToConfigExtraContainerStdoutOutput() ConfigExtraContainerStdoutOutput
	ToConfigExtraContainerStdoutOutputWithContext(context.Context) ConfigExtraContainerStdoutOutput
}

ConfigExtraContainerStdoutInput is an input type that accepts ConfigExtraContainerStdoutArgs and ConfigExtraContainerStdoutOutput values. You can construct a concrete instance of `ConfigExtraContainerStdoutInput` via:

ConfigExtraContainerStdoutArgs{...}

type ConfigExtraContainerStdoutOutput

type ConfigExtraContainerStdoutOutput struct{ *pulumi.OutputState }

func (ConfigExtraContainerStdoutOutput) AllContainers

Is all containers.

func (ConfigExtraContainerStdoutOutput) ElementType

func (ConfigExtraContainerStdoutOutput) ExcludeLabels

Pod label to be excluded.

func (ConfigExtraContainerStdoutOutput) ExcludeNamespace

Namespaces to be excluded, separated by separators, such as A, B.

func (ConfigExtraContainerStdoutOutput) IncludeLabels

Pod label info.

func (ConfigExtraContainerStdoutOutput) Namespace

Namespace. There can be multiple namespaces, separated by separators, such as A, B.

func (ConfigExtraContainerStdoutOutput) ToConfigExtraContainerStdoutOutput

func (o ConfigExtraContainerStdoutOutput) ToConfigExtraContainerStdoutOutput() ConfigExtraContainerStdoutOutput

func (ConfigExtraContainerStdoutOutput) ToConfigExtraContainerStdoutOutputWithContext

func (o ConfigExtraContainerStdoutOutput) ToConfigExtraContainerStdoutOutputWithContext(ctx context.Context) ConfigExtraContainerStdoutOutput

func (ConfigExtraContainerStdoutOutput) ToConfigExtraContainerStdoutPtrOutput

func (o ConfigExtraContainerStdoutOutput) ToConfigExtraContainerStdoutPtrOutput() ConfigExtraContainerStdoutPtrOutput

func (ConfigExtraContainerStdoutOutput) ToConfigExtraContainerStdoutPtrOutputWithContext

func (o ConfigExtraContainerStdoutOutput) ToConfigExtraContainerStdoutPtrOutputWithContext(ctx context.Context) ConfigExtraContainerStdoutPtrOutput

func (ConfigExtraContainerStdoutOutput) Workloads

Workload info.

type ConfigExtraContainerStdoutPtrInput

type ConfigExtraContainerStdoutPtrInput interface {
	pulumi.Input

	ToConfigExtraContainerStdoutPtrOutput() ConfigExtraContainerStdoutPtrOutput
	ToConfigExtraContainerStdoutPtrOutputWithContext(context.Context) ConfigExtraContainerStdoutPtrOutput
}

ConfigExtraContainerStdoutPtrInput is an input type that accepts ConfigExtraContainerStdoutArgs, ConfigExtraContainerStdoutPtr and ConfigExtraContainerStdoutPtrOutput values. You can construct a concrete instance of `ConfigExtraContainerStdoutPtrInput` via:

        ConfigExtraContainerStdoutArgs{...}

or:

        nil

type ConfigExtraContainerStdoutPtrOutput

type ConfigExtraContainerStdoutPtrOutput struct{ *pulumi.OutputState }

func (ConfigExtraContainerStdoutPtrOutput) AllContainers

Is all containers.

func (ConfigExtraContainerStdoutPtrOutput) Elem

func (ConfigExtraContainerStdoutPtrOutput) ElementType

func (ConfigExtraContainerStdoutPtrOutput) ExcludeLabels

Pod label to be excluded.

func (ConfigExtraContainerStdoutPtrOutput) ExcludeNamespace

Namespaces to be excluded, separated by separators, such as A, B.

func (ConfigExtraContainerStdoutPtrOutput) IncludeLabels

Pod label info.

func (ConfigExtraContainerStdoutPtrOutput) Namespace

Namespace. There can be multiple namespaces, separated by separators, such as A, B.

func (ConfigExtraContainerStdoutPtrOutput) ToConfigExtraContainerStdoutPtrOutput

func (o ConfigExtraContainerStdoutPtrOutput) ToConfigExtraContainerStdoutPtrOutput() ConfigExtraContainerStdoutPtrOutput

func (ConfigExtraContainerStdoutPtrOutput) ToConfigExtraContainerStdoutPtrOutputWithContext

func (o ConfigExtraContainerStdoutPtrOutput) ToConfigExtraContainerStdoutPtrOutputWithContext(ctx context.Context) ConfigExtraContainerStdoutPtrOutput

func (ConfigExtraContainerStdoutPtrOutput) Workloads

Workload info.

type ConfigExtraContainerStdoutWorkload

type ConfigExtraContainerStdoutWorkload struct {
	// container name.
	Container *string `pulumi:"container"`
	// workload type.
	Kind string `pulumi:"kind"`
	// workload name.
	Name string `pulumi:"name"`
	// namespace.
	Namespace *string `pulumi:"namespace"`
}

type ConfigExtraContainerStdoutWorkloadArgs

type ConfigExtraContainerStdoutWorkloadArgs struct {
	// container name.
	Container pulumi.StringPtrInput `pulumi:"container"`
	// workload type.
	Kind pulumi.StringInput `pulumi:"kind"`
	// workload name.
	Name pulumi.StringInput `pulumi:"name"`
	// namespace.
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
}

func (ConfigExtraContainerStdoutWorkloadArgs) ElementType

func (ConfigExtraContainerStdoutWorkloadArgs) ToConfigExtraContainerStdoutWorkloadOutput

func (i ConfigExtraContainerStdoutWorkloadArgs) ToConfigExtraContainerStdoutWorkloadOutput() ConfigExtraContainerStdoutWorkloadOutput

func (ConfigExtraContainerStdoutWorkloadArgs) ToConfigExtraContainerStdoutWorkloadOutputWithContext

func (i ConfigExtraContainerStdoutWorkloadArgs) ToConfigExtraContainerStdoutWorkloadOutputWithContext(ctx context.Context) ConfigExtraContainerStdoutWorkloadOutput

type ConfigExtraContainerStdoutWorkloadArray

type ConfigExtraContainerStdoutWorkloadArray []ConfigExtraContainerStdoutWorkloadInput

func (ConfigExtraContainerStdoutWorkloadArray) ElementType

func (ConfigExtraContainerStdoutWorkloadArray) ToConfigExtraContainerStdoutWorkloadArrayOutput

func (i ConfigExtraContainerStdoutWorkloadArray) ToConfigExtraContainerStdoutWorkloadArrayOutput() ConfigExtraContainerStdoutWorkloadArrayOutput

func (ConfigExtraContainerStdoutWorkloadArray) ToConfigExtraContainerStdoutWorkloadArrayOutputWithContext

func (i ConfigExtraContainerStdoutWorkloadArray) ToConfigExtraContainerStdoutWorkloadArrayOutputWithContext(ctx context.Context) ConfigExtraContainerStdoutWorkloadArrayOutput

type ConfigExtraContainerStdoutWorkloadArrayInput

type ConfigExtraContainerStdoutWorkloadArrayInput interface {
	pulumi.Input

	ToConfigExtraContainerStdoutWorkloadArrayOutput() ConfigExtraContainerStdoutWorkloadArrayOutput
	ToConfigExtraContainerStdoutWorkloadArrayOutputWithContext(context.Context) ConfigExtraContainerStdoutWorkloadArrayOutput
}

ConfigExtraContainerStdoutWorkloadArrayInput is an input type that accepts ConfigExtraContainerStdoutWorkloadArray and ConfigExtraContainerStdoutWorkloadArrayOutput values. You can construct a concrete instance of `ConfigExtraContainerStdoutWorkloadArrayInput` via:

ConfigExtraContainerStdoutWorkloadArray{ ConfigExtraContainerStdoutWorkloadArgs{...} }

type ConfigExtraContainerStdoutWorkloadArrayOutput

type ConfigExtraContainerStdoutWorkloadArrayOutput struct{ *pulumi.OutputState }

func (ConfigExtraContainerStdoutWorkloadArrayOutput) ElementType

func (ConfigExtraContainerStdoutWorkloadArrayOutput) Index

func (ConfigExtraContainerStdoutWorkloadArrayOutput) ToConfigExtraContainerStdoutWorkloadArrayOutput

func (o ConfigExtraContainerStdoutWorkloadArrayOutput) ToConfigExtraContainerStdoutWorkloadArrayOutput() ConfigExtraContainerStdoutWorkloadArrayOutput

func (ConfigExtraContainerStdoutWorkloadArrayOutput) ToConfigExtraContainerStdoutWorkloadArrayOutputWithContext

func (o ConfigExtraContainerStdoutWorkloadArrayOutput) ToConfigExtraContainerStdoutWorkloadArrayOutputWithContext(ctx context.Context) ConfigExtraContainerStdoutWorkloadArrayOutput

type ConfigExtraContainerStdoutWorkloadInput

type ConfigExtraContainerStdoutWorkloadInput interface {
	pulumi.Input

	ToConfigExtraContainerStdoutWorkloadOutput() ConfigExtraContainerStdoutWorkloadOutput
	ToConfigExtraContainerStdoutWorkloadOutputWithContext(context.Context) ConfigExtraContainerStdoutWorkloadOutput
}

ConfigExtraContainerStdoutWorkloadInput is an input type that accepts ConfigExtraContainerStdoutWorkloadArgs and ConfigExtraContainerStdoutWorkloadOutput values. You can construct a concrete instance of `ConfigExtraContainerStdoutWorkloadInput` via:

ConfigExtraContainerStdoutWorkloadArgs{...}

type ConfigExtraContainerStdoutWorkloadOutput

type ConfigExtraContainerStdoutWorkloadOutput struct{ *pulumi.OutputState }

func (ConfigExtraContainerStdoutWorkloadOutput) Container

container name.

func (ConfigExtraContainerStdoutWorkloadOutput) ElementType

func (ConfigExtraContainerStdoutWorkloadOutput) Kind

workload type.

func (ConfigExtraContainerStdoutWorkloadOutput) Name

workload name.

func (ConfigExtraContainerStdoutWorkloadOutput) Namespace

namespace.

func (ConfigExtraContainerStdoutWorkloadOutput) ToConfigExtraContainerStdoutWorkloadOutput

func (o ConfigExtraContainerStdoutWorkloadOutput) ToConfigExtraContainerStdoutWorkloadOutput() ConfigExtraContainerStdoutWorkloadOutput

func (ConfigExtraContainerStdoutWorkloadOutput) ToConfigExtraContainerStdoutWorkloadOutputWithContext

func (o ConfigExtraContainerStdoutWorkloadOutput) ToConfigExtraContainerStdoutWorkloadOutputWithContext(ctx context.Context) ConfigExtraContainerStdoutWorkloadOutput

type ConfigExtraExcludePath

type ConfigExtraExcludePath struct {
	// Type. Valid values: File, Path.
	Type *string `pulumi:"type"`
	// Specific content corresponding to Type.
	Value *string `pulumi:"value"`
}

type ConfigExtraExcludePathArgs

type ConfigExtraExcludePathArgs struct {
	// Type. Valid values: File, Path.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// Specific content corresponding to Type.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (ConfigExtraExcludePathArgs) ElementType

func (ConfigExtraExcludePathArgs) ElementType() reflect.Type

func (ConfigExtraExcludePathArgs) ToConfigExtraExcludePathOutput

func (i ConfigExtraExcludePathArgs) ToConfigExtraExcludePathOutput() ConfigExtraExcludePathOutput

func (ConfigExtraExcludePathArgs) ToConfigExtraExcludePathOutputWithContext

func (i ConfigExtraExcludePathArgs) ToConfigExtraExcludePathOutputWithContext(ctx context.Context) ConfigExtraExcludePathOutput

type ConfigExtraExcludePathArray

type ConfigExtraExcludePathArray []ConfigExtraExcludePathInput

func (ConfigExtraExcludePathArray) ElementType

func (ConfigExtraExcludePathArray) ToConfigExtraExcludePathArrayOutput

func (i ConfigExtraExcludePathArray) ToConfigExtraExcludePathArrayOutput() ConfigExtraExcludePathArrayOutput

func (ConfigExtraExcludePathArray) ToConfigExtraExcludePathArrayOutputWithContext

func (i ConfigExtraExcludePathArray) ToConfigExtraExcludePathArrayOutputWithContext(ctx context.Context) ConfigExtraExcludePathArrayOutput

type ConfigExtraExcludePathArrayInput

type ConfigExtraExcludePathArrayInput interface {
	pulumi.Input

	ToConfigExtraExcludePathArrayOutput() ConfigExtraExcludePathArrayOutput
	ToConfigExtraExcludePathArrayOutputWithContext(context.Context) ConfigExtraExcludePathArrayOutput
}

ConfigExtraExcludePathArrayInput is an input type that accepts ConfigExtraExcludePathArray and ConfigExtraExcludePathArrayOutput values. You can construct a concrete instance of `ConfigExtraExcludePathArrayInput` via:

ConfigExtraExcludePathArray{ ConfigExtraExcludePathArgs{...} }

type ConfigExtraExcludePathArrayOutput

type ConfigExtraExcludePathArrayOutput struct{ *pulumi.OutputState }

func (ConfigExtraExcludePathArrayOutput) ElementType

func (ConfigExtraExcludePathArrayOutput) Index

func (ConfigExtraExcludePathArrayOutput) ToConfigExtraExcludePathArrayOutput

func (o ConfigExtraExcludePathArrayOutput) ToConfigExtraExcludePathArrayOutput() ConfigExtraExcludePathArrayOutput

func (ConfigExtraExcludePathArrayOutput) ToConfigExtraExcludePathArrayOutputWithContext

func (o ConfigExtraExcludePathArrayOutput) ToConfigExtraExcludePathArrayOutputWithContext(ctx context.Context) ConfigExtraExcludePathArrayOutput

type ConfigExtraExcludePathInput

type ConfigExtraExcludePathInput interface {
	pulumi.Input

	ToConfigExtraExcludePathOutput() ConfigExtraExcludePathOutput
	ToConfigExtraExcludePathOutputWithContext(context.Context) ConfigExtraExcludePathOutput
}

ConfigExtraExcludePathInput is an input type that accepts ConfigExtraExcludePathArgs and ConfigExtraExcludePathOutput values. You can construct a concrete instance of `ConfigExtraExcludePathInput` via:

ConfigExtraExcludePathArgs{...}

type ConfigExtraExcludePathOutput

type ConfigExtraExcludePathOutput struct{ *pulumi.OutputState }

func (ConfigExtraExcludePathOutput) ElementType

func (ConfigExtraExcludePathOutput) ToConfigExtraExcludePathOutput

func (o ConfigExtraExcludePathOutput) ToConfigExtraExcludePathOutput() ConfigExtraExcludePathOutput

func (ConfigExtraExcludePathOutput) ToConfigExtraExcludePathOutputWithContext

func (o ConfigExtraExcludePathOutput) ToConfigExtraExcludePathOutputWithContext(ctx context.Context) ConfigExtraExcludePathOutput

func (ConfigExtraExcludePathOutput) Type

Type. Valid values: File, Path.

func (ConfigExtraExcludePathOutput) Value

Specific content corresponding to Type.

type ConfigExtraExtractRule

type ConfigExtraExtractRule struct {
	// Size of the data to be rewound in incremental collection mode. Default value: -1 (full collection).
	Backtracking *int `pulumi:"backtracking"`
	// First-Line matching rule, which is valid only if logType is multilineLog or fullregex_log.
	BeginRegex *string `pulumi:"beginRegex"`
	// Delimiter for delimited log, which is valid only if logType is delimiter_log.
	Delimiter *string `pulumi:"delimiter"`
	// Log keys to be filtered and the corresponding regex.
	FilterKeyRegexes []ConfigExtraExtractRuleFilterKeyRegex `pulumi:"filterKeyRegexes"`
	// Key name of each extracted field. An empty key indicates to discard the field. This parameter is valid only if logType is delimiter_log. jsonLog logs use the key of JSON itself.
	Keys []string `pulumi:"keys"`
	// Full log matching rule, which is valid only if logType is fullregex_log.
	LogRegex *string `pulumi:"logRegex"`
	// Time field format. For more information, please see the output parameters of the time format description of the strftime function in C language.
	TimeFormat *string `pulumi:"timeFormat"`
	// Time field key name. timeKey and timeFormat must appear in pair.
	TimeKey *string `pulumi:"timeKey"`
	// Unmatched log key.
	UnMatchLogKey *string `pulumi:"unMatchLogKey"`
	// Whether to upload the logs that failed to be parsed. Valid values: true: yes; false: no.
	UnMatchUpLoadSwitch *bool `pulumi:"unMatchUpLoadSwitch"`
}

type ConfigExtraExtractRuleArgs

type ConfigExtraExtractRuleArgs struct {
	// Size of the data to be rewound in incremental collection mode. Default value: -1 (full collection).
	Backtracking pulumi.IntPtrInput `pulumi:"backtracking"`
	// First-Line matching rule, which is valid only if logType is multilineLog or fullregex_log.
	BeginRegex pulumi.StringPtrInput `pulumi:"beginRegex"`
	// Delimiter for delimited log, which is valid only if logType is delimiter_log.
	Delimiter pulumi.StringPtrInput `pulumi:"delimiter"`
	// Log keys to be filtered and the corresponding regex.
	FilterKeyRegexes ConfigExtraExtractRuleFilterKeyRegexArrayInput `pulumi:"filterKeyRegexes"`
	// Key name of each extracted field. An empty key indicates to discard the field. This parameter is valid only if logType is delimiter_log. jsonLog logs use the key of JSON itself.
	Keys pulumi.StringArrayInput `pulumi:"keys"`
	// Full log matching rule, which is valid only if logType is fullregex_log.
	LogRegex pulumi.StringPtrInput `pulumi:"logRegex"`
	// Time field format. For more information, please see the output parameters of the time format description of the strftime function in C language.
	TimeFormat pulumi.StringPtrInput `pulumi:"timeFormat"`
	// Time field key name. timeKey and timeFormat must appear in pair.
	TimeKey pulumi.StringPtrInput `pulumi:"timeKey"`
	// Unmatched log key.
	UnMatchLogKey pulumi.StringPtrInput `pulumi:"unMatchLogKey"`
	// Whether to upload the logs that failed to be parsed. Valid values: true: yes; false: no.
	UnMatchUpLoadSwitch pulumi.BoolPtrInput `pulumi:"unMatchUpLoadSwitch"`
}

func (ConfigExtraExtractRuleArgs) ElementType

func (ConfigExtraExtractRuleArgs) ElementType() reflect.Type

func (ConfigExtraExtractRuleArgs) ToConfigExtraExtractRuleOutput

func (i ConfigExtraExtractRuleArgs) ToConfigExtraExtractRuleOutput() ConfigExtraExtractRuleOutput

func (ConfigExtraExtractRuleArgs) ToConfigExtraExtractRuleOutputWithContext

func (i ConfigExtraExtractRuleArgs) ToConfigExtraExtractRuleOutputWithContext(ctx context.Context) ConfigExtraExtractRuleOutput

func (ConfigExtraExtractRuleArgs) ToConfigExtraExtractRulePtrOutput

func (i ConfigExtraExtractRuleArgs) ToConfigExtraExtractRulePtrOutput() ConfigExtraExtractRulePtrOutput

func (ConfigExtraExtractRuleArgs) ToConfigExtraExtractRulePtrOutputWithContext

func (i ConfigExtraExtractRuleArgs) ToConfigExtraExtractRulePtrOutputWithContext(ctx context.Context) ConfigExtraExtractRulePtrOutput

type ConfigExtraExtractRuleFilterKeyRegex

type ConfigExtraExtractRuleFilterKeyRegex struct {
	// Log key to be filtered.
	Key *string `pulumi:"key"`
	// Filter rule regex corresponding to key.
	Regex *string `pulumi:"regex"`
}

type ConfigExtraExtractRuleFilterKeyRegexArgs

type ConfigExtraExtractRuleFilterKeyRegexArgs struct {
	// Log key to be filtered.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// Filter rule regex corresponding to key.
	Regex pulumi.StringPtrInput `pulumi:"regex"`
}

func (ConfigExtraExtractRuleFilterKeyRegexArgs) ElementType

func (ConfigExtraExtractRuleFilterKeyRegexArgs) ToConfigExtraExtractRuleFilterKeyRegexOutput

func (i ConfigExtraExtractRuleFilterKeyRegexArgs) ToConfigExtraExtractRuleFilterKeyRegexOutput() ConfigExtraExtractRuleFilterKeyRegexOutput

func (ConfigExtraExtractRuleFilterKeyRegexArgs) ToConfigExtraExtractRuleFilterKeyRegexOutputWithContext

func (i ConfigExtraExtractRuleFilterKeyRegexArgs) ToConfigExtraExtractRuleFilterKeyRegexOutputWithContext(ctx context.Context) ConfigExtraExtractRuleFilterKeyRegexOutput

type ConfigExtraExtractRuleFilterKeyRegexArray

type ConfigExtraExtractRuleFilterKeyRegexArray []ConfigExtraExtractRuleFilterKeyRegexInput

func (ConfigExtraExtractRuleFilterKeyRegexArray) ElementType

func (ConfigExtraExtractRuleFilterKeyRegexArray) ToConfigExtraExtractRuleFilterKeyRegexArrayOutput

func (i ConfigExtraExtractRuleFilterKeyRegexArray) ToConfigExtraExtractRuleFilterKeyRegexArrayOutput() ConfigExtraExtractRuleFilterKeyRegexArrayOutput

func (ConfigExtraExtractRuleFilterKeyRegexArray) ToConfigExtraExtractRuleFilterKeyRegexArrayOutputWithContext

func (i ConfigExtraExtractRuleFilterKeyRegexArray) ToConfigExtraExtractRuleFilterKeyRegexArrayOutputWithContext(ctx context.Context) ConfigExtraExtractRuleFilterKeyRegexArrayOutput

type ConfigExtraExtractRuleFilterKeyRegexArrayInput

type ConfigExtraExtractRuleFilterKeyRegexArrayInput interface {
	pulumi.Input

	ToConfigExtraExtractRuleFilterKeyRegexArrayOutput() ConfigExtraExtractRuleFilterKeyRegexArrayOutput
	ToConfigExtraExtractRuleFilterKeyRegexArrayOutputWithContext(context.Context) ConfigExtraExtractRuleFilterKeyRegexArrayOutput
}

ConfigExtraExtractRuleFilterKeyRegexArrayInput is an input type that accepts ConfigExtraExtractRuleFilterKeyRegexArray and ConfigExtraExtractRuleFilterKeyRegexArrayOutput values. You can construct a concrete instance of `ConfigExtraExtractRuleFilterKeyRegexArrayInput` via:

ConfigExtraExtractRuleFilterKeyRegexArray{ ConfigExtraExtractRuleFilterKeyRegexArgs{...} }

type ConfigExtraExtractRuleFilterKeyRegexArrayOutput

type ConfigExtraExtractRuleFilterKeyRegexArrayOutput struct{ *pulumi.OutputState }

func (ConfigExtraExtractRuleFilterKeyRegexArrayOutput) ElementType

func (ConfigExtraExtractRuleFilterKeyRegexArrayOutput) Index

func (ConfigExtraExtractRuleFilterKeyRegexArrayOutput) ToConfigExtraExtractRuleFilterKeyRegexArrayOutput

func (o ConfigExtraExtractRuleFilterKeyRegexArrayOutput) ToConfigExtraExtractRuleFilterKeyRegexArrayOutput() ConfigExtraExtractRuleFilterKeyRegexArrayOutput

func (ConfigExtraExtractRuleFilterKeyRegexArrayOutput) ToConfigExtraExtractRuleFilterKeyRegexArrayOutputWithContext

func (o ConfigExtraExtractRuleFilterKeyRegexArrayOutput) ToConfigExtraExtractRuleFilterKeyRegexArrayOutputWithContext(ctx context.Context) ConfigExtraExtractRuleFilterKeyRegexArrayOutput

type ConfigExtraExtractRuleFilterKeyRegexInput

type ConfigExtraExtractRuleFilterKeyRegexInput interface {
	pulumi.Input

	ToConfigExtraExtractRuleFilterKeyRegexOutput() ConfigExtraExtractRuleFilterKeyRegexOutput
	ToConfigExtraExtractRuleFilterKeyRegexOutputWithContext(context.Context) ConfigExtraExtractRuleFilterKeyRegexOutput
}

ConfigExtraExtractRuleFilterKeyRegexInput is an input type that accepts ConfigExtraExtractRuleFilterKeyRegexArgs and ConfigExtraExtractRuleFilterKeyRegexOutput values. You can construct a concrete instance of `ConfigExtraExtractRuleFilterKeyRegexInput` via:

ConfigExtraExtractRuleFilterKeyRegexArgs{...}

type ConfigExtraExtractRuleFilterKeyRegexOutput

type ConfigExtraExtractRuleFilterKeyRegexOutput struct{ *pulumi.OutputState }

func (ConfigExtraExtractRuleFilterKeyRegexOutput) ElementType

func (ConfigExtraExtractRuleFilterKeyRegexOutput) Key

Log key to be filtered.

func (ConfigExtraExtractRuleFilterKeyRegexOutput) Regex

Filter rule regex corresponding to key.

func (ConfigExtraExtractRuleFilterKeyRegexOutput) ToConfigExtraExtractRuleFilterKeyRegexOutput

func (o ConfigExtraExtractRuleFilterKeyRegexOutput) ToConfigExtraExtractRuleFilterKeyRegexOutput() ConfigExtraExtractRuleFilterKeyRegexOutput

func (ConfigExtraExtractRuleFilterKeyRegexOutput) ToConfigExtraExtractRuleFilterKeyRegexOutputWithContext

func (o ConfigExtraExtractRuleFilterKeyRegexOutput) ToConfigExtraExtractRuleFilterKeyRegexOutputWithContext(ctx context.Context) ConfigExtraExtractRuleFilterKeyRegexOutput

type ConfigExtraExtractRuleInput

type ConfigExtraExtractRuleInput interface {
	pulumi.Input

	ToConfigExtraExtractRuleOutput() ConfigExtraExtractRuleOutput
	ToConfigExtraExtractRuleOutputWithContext(context.Context) ConfigExtraExtractRuleOutput
}

ConfigExtraExtractRuleInput is an input type that accepts ConfigExtraExtractRuleArgs and ConfigExtraExtractRuleOutput values. You can construct a concrete instance of `ConfigExtraExtractRuleInput` via:

ConfigExtraExtractRuleArgs{...}

type ConfigExtraExtractRuleOutput

type ConfigExtraExtractRuleOutput struct{ *pulumi.OutputState }

func (ConfigExtraExtractRuleOutput) Backtracking

Size of the data to be rewound in incremental collection mode. Default value: -1 (full collection).

func (ConfigExtraExtractRuleOutput) BeginRegex

First-Line matching rule, which is valid only if logType is multilineLog or fullregex_log.

func (ConfigExtraExtractRuleOutput) Delimiter

Delimiter for delimited log, which is valid only if logType is delimiter_log.

func (ConfigExtraExtractRuleOutput) ElementType

func (ConfigExtraExtractRuleOutput) FilterKeyRegexes

Log keys to be filtered and the corresponding regex.

func (ConfigExtraExtractRuleOutput) Keys

Key name of each extracted field. An empty key indicates to discard the field. This parameter is valid only if logType is delimiter_log. jsonLog logs use the key of JSON itself.

func (ConfigExtraExtractRuleOutput) LogRegex

Full log matching rule, which is valid only if logType is fullregex_log.

func (ConfigExtraExtractRuleOutput) TimeFormat

Time field format. For more information, please see the output parameters of the time format description of the strftime function in C language.

func (ConfigExtraExtractRuleOutput) TimeKey

Time field key name. timeKey and timeFormat must appear in pair.

func (ConfigExtraExtractRuleOutput) ToConfigExtraExtractRuleOutput

func (o ConfigExtraExtractRuleOutput) ToConfigExtraExtractRuleOutput() ConfigExtraExtractRuleOutput

func (ConfigExtraExtractRuleOutput) ToConfigExtraExtractRuleOutputWithContext

func (o ConfigExtraExtractRuleOutput) ToConfigExtraExtractRuleOutputWithContext(ctx context.Context) ConfigExtraExtractRuleOutput

func (ConfigExtraExtractRuleOutput) ToConfigExtraExtractRulePtrOutput

func (o ConfigExtraExtractRuleOutput) ToConfigExtraExtractRulePtrOutput() ConfigExtraExtractRulePtrOutput

func (ConfigExtraExtractRuleOutput) ToConfigExtraExtractRulePtrOutputWithContext

func (o ConfigExtraExtractRuleOutput) ToConfigExtraExtractRulePtrOutputWithContext(ctx context.Context) ConfigExtraExtractRulePtrOutput

func (ConfigExtraExtractRuleOutput) UnMatchLogKey

Unmatched log key.

func (ConfigExtraExtractRuleOutput) UnMatchUpLoadSwitch

func (o ConfigExtraExtractRuleOutput) UnMatchUpLoadSwitch() pulumi.BoolPtrOutput

Whether to upload the logs that failed to be parsed. Valid values: true: yes; false: no.

type ConfigExtraExtractRulePtrInput

type ConfigExtraExtractRulePtrInput interface {
	pulumi.Input

	ToConfigExtraExtractRulePtrOutput() ConfigExtraExtractRulePtrOutput
	ToConfigExtraExtractRulePtrOutputWithContext(context.Context) ConfigExtraExtractRulePtrOutput
}

ConfigExtraExtractRulePtrInput is an input type that accepts ConfigExtraExtractRuleArgs, ConfigExtraExtractRulePtr and ConfigExtraExtractRulePtrOutput values. You can construct a concrete instance of `ConfigExtraExtractRulePtrInput` via:

        ConfigExtraExtractRuleArgs{...}

or:

        nil

type ConfigExtraExtractRulePtrOutput

type ConfigExtraExtractRulePtrOutput struct{ *pulumi.OutputState }

func (ConfigExtraExtractRulePtrOutput) Backtracking

Size of the data to be rewound in incremental collection mode. Default value: -1 (full collection).

func (ConfigExtraExtractRulePtrOutput) BeginRegex

First-Line matching rule, which is valid only if logType is multilineLog or fullregex_log.

func (ConfigExtraExtractRulePtrOutput) Delimiter

Delimiter for delimited log, which is valid only if logType is delimiter_log.

func (ConfigExtraExtractRulePtrOutput) Elem

func (ConfigExtraExtractRulePtrOutput) ElementType

func (ConfigExtraExtractRulePtrOutput) FilterKeyRegexes

Log keys to be filtered and the corresponding regex.

func (ConfigExtraExtractRulePtrOutput) Keys

Key name of each extracted field. An empty key indicates to discard the field. This parameter is valid only if logType is delimiter_log. jsonLog logs use the key of JSON itself.

func (ConfigExtraExtractRulePtrOutput) LogRegex

Full log matching rule, which is valid only if logType is fullregex_log.

func (ConfigExtraExtractRulePtrOutput) TimeFormat

Time field format. For more information, please see the output parameters of the time format description of the strftime function in C language.

func (ConfigExtraExtractRulePtrOutput) TimeKey

Time field key name. timeKey and timeFormat must appear in pair.

func (ConfigExtraExtractRulePtrOutput) ToConfigExtraExtractRulePtrOutput

func (o ConfigExtraExtractRulePtrOutput) ToConfigExtraExtractRulePtrOutput() ConfigExtraExtractRulePtrOutput

func (ConfigExtraExtractRulePtrOutput) ToConfigExtraExtractRulePtrOutputWithContext

func (o ConfigExtraExtractRulePtrOutput) ToConfigExtraExtractRulePtrOutputWithContext(ctx context.Context) ConfigExtraExtractRulePtrOutput

func (ConfigExtraExtractRulePtrOutput) UnMatchLogKey

Unmatched log key.

func (ConfigExtraExtractRulePtrOutput) UnMatchUpLoadSwitch

func (o ConfigExtraExtractRulePtrOutput) UnMatchUpLoadSwitch() pulumi.BoolPtrOutput

Whether to upload the logs that failed to be parsed. Valid values: true: yes; false: no.

type ConfigExtraHostFile

type ConfigExtraHostFile struct {
	// Metadata info.
	CustomLabels []string `pulumi:"customLabels"`
	// Log file name.
	FilePattern string `pulumi:"filePattern"`
	// Log file dir.
	LogPath string `pulumi:"logPath"`
}

type ConfigExtraHostFileArgs

type ConfigExtraHostFileArgs struct {
	// Metadata info.
	CustomLabels pulumi.StringArrayInput `pulumi:"customLabels"`
	// Log file name.
	FilePattern pulumi.StringInput `pulumi:"filePattern"`
	// Log file dir.
	LogPath pulumi.StringInput `pulumi:"logPath"`
}

func (ConfigExtraHostFileArgs) ElementType

func (ConfigExtraHostFileArgs) ElementType() reflect.Type

func (ConfigExtraHostFileArgs) ToConfigExtraHostFileOutput

func (i ConfigExtraHostFileArgs) ToConfigExtraHostFileOutput() ConfigExtraHostFileOutput

func (ConfigExtraHostFileArgs) ToConfigExtraHostFileOutputWithContext

func (i ConfigExtraHostFileArgs) ToConfigExtraHostFileOutputWithContext(ctx context.Context) ConfigExtraHostFileOutput

func (ConfigExtraHostFileArgs) ToConfigExtraHostFilePtrOutput

func (i ConfigExtraHostFileArgs) ToConfigExtraHostFilePtrOutput() ConfigExtraHostFilePtrOutput

func (ConfigExtraHostFileArgs) ToConfigExtraHostFilePtrOutputWithContext

func (i ConfigExtraHostFileArgs) ToConfigExtraHostFilePtrOutputWithContext(ctx context.Context) ConfigExtraHostFilePtrOutput

type ConfigExtraHostFileInput

type ConfigExtraHostFileInput interface {
	pulumi.Input

	ToConfigExtraHostFileOutput() ConfigExtraHostFileOutput
	ToConfigExtraHostFileOutputWithContext(context.Context) ConfigExtraHostFileOutput
}

ConfigExtraHostFileInput is an input type that accepts ConfigExtraHostFileArgs and ConfigExtraHostFileOutput values. You can construct a concrete instance of `ConfigExtraHostFileInput` via:

ConfigExtraHostFileArgs{...}

type ConfigExtraHostFileOutput

type ConfigExtraHostFileOutput struct{ *pulumi.OutputState }

func (ConfigExtraHostFileOutput) CustomLabels

Metadata info.

func (ConfigExtraHostFileOutput) ElementType

func (ConfigExtraHostFileOutput) ElementType() reflect.Type

func (ConfigExtraHostFileOutput) FilePattern

Log file name.

func (ConfigExtraHostFileOutput) LogPath

Log file dir.

func (ConfigExtraHostFileOutput) ToConfigExtraHostFileOutput

func (o ConfigExtraHostFileOutput) ToConfigExtraHostFileOutput() ConfigExtraHostFileOutput

func (ConfigExtraHostFileOutput) ToConfigExtraHostFileOutputWithContext

func (o ConfigExtraHostFileOutput) ToConfigExtraHostFileOutputWithContext(ctx context.Context) ConfigExtraHostFileOutput

func (ConfigExtraHostFileOutput) ToConfigExtraHostFilePtrOutput

func (o ConfigExtraHostFileOutput) ToConfigExtraHostFilePtrOutput() ConfigExtraHostFilePtrOutput

func (ConfigExtraHostFileOutput) ToConfigExtraHostFilePtrOutputWithContext

func (o ConfigExtraHostFileOutput) ToConfigExtraHostFilePtrOutputWithContext(ctx context.Context) ConfigExtraHostFilePtrOutput

type ConfigExtraHostFilePtrInput

type ConfigExtraHostFilePtrInput interface {
	pulumi.Input

	ToConfigExtraHostFilePtrOutput() ConfigExtraHostFilePtrOutput
	ToConfigExtraHostFilePtrOutputWithContext(context.Context) ConfigExtraHostFilePtrOutput
}

ConfigExtraHostFilePtrInput is an input type that accepts ConfigExtraHostFileArgs, ConfigExtraHostFilePtr and ConfigExtraHostFilePtrOutput values. You can construct a concrete instance of `ConfigExtraHostFilePtrInput` via:

        ConfigExtraHostFileArgs{...}

or:

        nil

type ConfigExtraHostFilePtrOutput

type ConfigExtraHostFilePtrOutput struct{ *pulumi.OutputState }

func (ConfigExtraHostFilePtrOutput) CustomLabels

Metadata info.

func (ConfigExtraHostFilePtrOutput) Elem

func (ConfigExtraHostFilePtrOutput) ElementType

func (ConfigExtraHostFilePtrOutput) FilePattern

Log file name.

func (ConfigExtraHostFilePtrOutput) LogPath

Log file dir.

func (ConfigExtraHostFilePtrOutput) ToConfigExtraHostFilePtrOutput

func (o ConfigExtraHostFilePtrOutput) ToConfigExtraHostFilePtrOutput() ConfigExtraHostFilePtrOutput

func (ConfigExtraHostFilePtrOutput) ToConfigExtraHostFilePtrOutputWithContext

func (o ConfigExtraHostFilePtrOutput) ToConfigExtraHostFilePtrOutputWithContext(ctx context.Context) ConfigExtraHostFilePtrOutput

type ConfigExtraInput

type ConfigExtraInput interface {
	pulumi.Input

	ToConfigExtraOutput() ConfigExtraOutput
	ToConfigExtraOutputWithContext(ctx context.Context) ConfigExtraOutput
}

type ConfigExtraMap

type ConfigExtraMap map[string]ConfigExtraInput

func (ConfigExtraMap) ElementType

func (ConfigExtraMap) ElementType() reflect.Type

func (ConfigExtraMap) ToConfigExtraMapOutput

func (i ConfigExtraMap) ToConfigExtraMapOutput() ConfigExtraMapOutput

func (ConfigExtraMap) ToConfigExtraMapOutputWithContext

func (i ConfigExtraMap) ToConfigExtraMapOutputWithContext(ctx context.Context) ConfigExtraMapOutput

type ConfigExtraMapInput

type ConfigExtraMapInput interface {
	pulumi.Input

	ToConfigExtraMapOutput() ConfigExtraMapOutput
	ToConfigExtraMapOutputWithContext(context.Context) ConfigExtraMapOutput
}

ConfigExtraMapInput is an input type that accepts ConfigExtraMap and ConfigExtraMapOutput values. You can construct a concrete instance of `ConfigExtraMapInput` via:

ConfigExtraMap{ "key": ConfigExtraArgs{...} }

type ConfigExtraMapOutput

type ConfigExtraMapOutput struct{ *pulumi.OutputState }

func (ConfigExtraMapOutput) ElementType

func (ConfigExtraMapOutput) ElementType() reflect.Type

func (ConfigExtraMapOutput) MapIndex

func (ConfigExtraMapOutput) ToConfigExtraMapOutput

func (o ConfigExtraMapOutput) ToConfigExtraMapOutput() ConfigExtraMapOutput

func (ConfigExtraMapOutput) ToConfigExtraMapOutputWithContext

func (o ConfigExtraMapOutput) ToConfigExtraMapOutputWithContext(ctx context.Context) ConfigExtraMapOutput

type ConfigExtraOutput

type ConfigExtraOutput struct{ *pulumi.OutputState }

func (ConfigExtraOutput) ConfigFlag

func (o ConfigExtraOutput) ConfigFlag() pulumi.StringOutput

Collection configuration flag.

func (ConfigExtraOutput) ContainerFile

Container file path info.

func (ConfigExtraOutput) ContainerStdout

Container stdout info.

func (ConfigExtraOutput) ElementType

func (ConfigExtraOutput) ElementType() reflect.Type

func (ConfigExtraOutput) ExcludePaths

Collection path blocklist.

func (ConfigExtraOutput) ExtractRule

Extraction rule. If ExtractRule is set, LogType must be set.

func (ConfigExtraOutput) GroupId

Binding group id.

func (ConfigExtraOutput) GroupIds

Binding group ids.

func (ConfigExtraOutput) HostFile

Node file config info.

func (ConfigExtraOutput) LogType

Type of the log to be collected. Valid values: json_log: log in JSON format; delimiter_log: log in delimited format; minimalist_log: minimalist log; multiline_log: log in multi-line format; fullregex_log: log in full regex format. Default value: minimalist_log.

func (ConfigExtraOutput) LogsetId

func (o ConfigExtraOutput) LogsetId() pulumi.StringOutput

Logset Id.

func (ConfigExtraOutput) LogsetName

func (o ConfigExtraOutput) LogsetName() pulumi.StringOutput

Logset Name.

func (ConfigExtraOutput) Name

Collection configuration name.

func (ConfigExtraOutput) ToConfigExtraOutput

func (o ConfigExtraOutput) ToConfigExtraOutput() ConfigExtraOutput

func (ConfigExtraOutput) ToConfigExtraOutputWithContext

func (o ConfigExtraOutput) ToConfigExtraOutputWithContext(ctx context.Context) ConfigExtraOutput

func (ConfigExtraOutput) TopicId

Log topic ID (TopicId) of collection configuration.

func (ConfigExtraOutput) TopicName

func (o ConfigExtraOutput) TopicName() pulumi.StringOutput

Topic Name.

func (ConfigExtraOutput) Type

Type. Valid values: container_stdout; container_file; host_file.

func (ConfigExtraOutput) UserDefineRule

func (o ConfigExtraOutput) UserDefineRule() pulumi.StringPtrOutput

Custom collection rule, which is a serialized JSON string.

type ConfigExtraState

type ConfigExtraState struct {
	// Collection configuration flag.
	ConfigFlag pulumi.StringPtrInput
	// Container file path info.
	ContainerFile ConfigExtraContainerFilePtrInput
	// Container stdout info.
	ContainerStdout ConfigExtraContainerStdoutPtrInput
	// Collection path blocklist.
	ExcludePaths ConfigExtraExcludePathArrayInput
	// Extraction rule. If ExtractRule is set, LogType must be set.
	ExtractRule ConfigExtraExtractRulePtrInput
	// Binding group id.
	GroupId pulumi.StringPtrInput
	// Binding group ids.
	GroupIds pulumi.StringArrayInput
	// Node file config info.
	HostFile ConfigExtraHostFilePtrInput
	// Type of the log to be collected. Valid values: json_log: log in JSON format; delimiter_log: log in delimited format; minimalist_log: minimalist log; multiline_log: log in multi-line format; fullregex_log: log in full regex format. Default value: minimalist_log.
	LogType pulumi.StringPtrInput
	// Logset Id.
	LogsetId pulumi.StringPtrInput
	// Logset Name.
	LogsetName pulumi.StringPtrInput
	// Collection configuration name.
	Name pulumi.StringPtrInput
	// Log topic ID (TopicId) of collection configuration.
	TopicId pulumi.StringPtrInput
	// Topic Name.
	TopicName pulumi.StringPtrInput
	// Type. Valid values: container_stdout; container_file; host_file.
	Type pulumi.StringPtrInput
	// Custom collection rule, which is a serialized JSON string.
	UserDefineRule pulumi.StringPtrInput
}

func (ConfigExtraState) ElementType

func (ConfigExtraState) ElementType() reflect.Type

type ConfigExtractRule

type ConfigExtractRule struct {
	// Size of the data to be rewound in incremental collection mode. Default value: -1 (full collection).
	Backtracking *int `pulumi:"backtracking"`
	// First-Line matching rule, which is valid only if logType is multilineLog or fullregex_log.
	BeginRegex *string `pulumi:"beginRegex"`
	// Delimiter for delimited log, which is valid only if logType is delimiter_log.
	Delimiter *string `pulumi:"delimiter"`
	// Log keys to be filtered and the corresponding regex.
	FilterKeyRegexes []ConfigExtractRuleFilterKeyRegex `pulumi:"filterKeyRegexes"`
	// Key name of each extracted field. An empty key indicates to discard the field. This parameter is valid only if logType is delimiter_log. jsonLog logs use the key of JSON itself.
	Keys []string `pulumi:"keys"`
	// Full log matching rule, which is valid only if logType is fullregex_log.
	LogRegex *string `pulumi:"logRegex"`
	// Time field format. For more information, please see the output parameters of the time format description of the strftime function in C language.
	TimeFormat *string `pulumi:"timeFormat"`
	// Time field key name. timeKey and timeFormat must appear in pair.
	TimeKey *string `pulumi:"timeKey"`
	// Unmatched log key.
	UnMatchLogKey *string `pulumi:"unMatchLogKey"`
	// Whether to upload the logs that failed to be parsed. Valid values: true: yes; false: no.
	UnMatchUpLoadSwitch *bool `pulumi:"unMatchUpLoadSwitch"`
}

type ConfigExtractRuleArgs

type ConfigExtractRuleArgs struct {
	// Size of the data to be rewound in incremental collection mode. Default value: -1 (full collection).
	Backtracking pulumi.IntPtrInput `pulumi:"backtracking"`
	// First-Line matching rule, which is valid only if logType is multilineLog or fullregex_log.
	BeginRegex pulumi.StringPtrInput `pulumi:"beginRegex"`
	// Delimiter for delimited log, which is valid only if logType is delimiter_log.
	Delimiter pulumi.StringPtrInput `pulumi:"delimiter"`
	// Log keys to be filtered and the corresponding regex.
	FilterKeyRegexes ConfigExtractRuleFilterKeyRegexArrayInput `pulumi:"filterKeyRegexes"`
	// Key name of each extracted field. An empty key indicates to discard the field. This parameter is valid only if logType is delimiter_log. jsonLog logs use the key of JSON itself.
	Keys pulumi.StringArrayInput `pulumi:"keys"`
	// Full log matching rule, which is valid only if logType is fullregex_log.
	LogRegex pulumi.StringPtrInput `pulumi:"logRegex"`
	// Time field format. For more information, please see the output parameters of the time format description of the strftime function in C language.
	TimeFormat pulumi.StringPtrInput `pulumi:"timeFormat"`
	// Time field key name. timeKey and timeFormat must appear in pair.
	TimeKey pulumi.StringPtrInput `pulumi:"timeKey"`
	// Unmatched log key.
	UnMatchLogKey pulumi.StringPtrInput `pulumi:"unMatchLogKey"`
	// Whether to upload the logs that failed to be parsed. Valid values: true: yes; false: no.
	UnMatchUpLoadSwitch pulumi.BoolPtrInput `pulumi:"unMatchUpLoadSwitch"`
}

func (ConfigExtractRuleArgs) ElementType

func (ConfigExtractRuleArgs) ElementType() reflect.Type

func (ConfigExtractRuleArgs) ToConfigExtractRuleOutput

func (i ConfigExtractRuleArgs) ToConfigExtractRuleOutput() ConfigExtractRuleOutput

func (ConfigExtractRuleArgs) ToConfigExtractRuleOutputWithContext

func (i ConfigExtractRuleArgs) ToConfigExtractRuleOutputWithContext(ctx context.Context) ConfigExtractRuleOutput

func (ConfigExtractRuleArgs) ToConfigExtractRulePtrOutput

func (i ConfigExtractRuleArgs) ToConfigExtractRulePtrOutput() ConfigExtractRulePtrOutput

func (ConfigExtractRuleArgs) ToConfigExtractRulePtrOutputWithContext

func (i ConfigExtractRuleArgs) ToConfigExtractRulePtrOutputWithContext(ctx context.Context) ConfigExtractRulePtrOutput

type ConfigExtractRuleFilterKeyRegex

type ConfigExtractRuleFilterKeyRegex struct {
	// Log key to be filtered.
	Key *string `pulumi:"key"`
	// Filter rule regex corresponding to key.
	Regex *string `pulumi:"regex"`
}

type ConfigExtractRuleFilterKeyRegexArgs

type ConfigExtractRuleFilterKeyRegexArgs struct {
	// Log key to be filtered.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// Filter rule regex corresponding to key.
	Regex pulumi.StringPtrInput `pulumi:"regex"`
}

func (ConfigExtractRuleFilterKeyRegexArgs) ElementType

func (ConfigExtractRuleFilterKeyRegexArgs) ToConfigExtractRuleFilterKeyRegexOutput

func (i ConfigExtractRuleFilterKeyRegexArgs) ToConfigExtractRuleFilterKeyRegexOutput() ConfigExtractRuleFilterKeyRegexOutput

func (ConfigExtractRuleFilterKeyRegexArgs) ToConfigExtractRuleFilterKeyRegexOutputWithContext

func (i ConfigExtractRuleFilterKeyRegexArgs) ToConfigExtractRuleFilterKeyRegexOutputWithContext(ctx context.Context) ConfigExtractRuleFilterKeyRegexOutput

type ConfigExtractRuleFilterKeyRegexArray

type ConfigExtractRuleFilterKeyRegexArray []ConfigExtractRuleFilterKeyRegexInput

func (ConfigExtractRuleFilterKeyRegexArray) ElementType

func (ConfigExtractRuleFilterKeyRegexArray) ToConfigExtractRuleFilterKeyRegexArrayOutput

func (i ConfigExtractRuleFilterKeyRegexArray) ToConfigExtractRuleFilterKeyRegexArrayOutput() ConfigExtractRuleFilterKeyRegexArrayOutput

func (ConfigExtractRuleFilterKeyRegexArray) ToConfigExtractRuleFilterKeyRegexArrayOutputWithContext

func (i ConfigExtractRuleFilterKeyRegexArray) ToConfigExtractRuleFilterKeyRegexArrayOutputWithContext(ctx context.Context) ConfigExtractRuleFilterKeyRegexArrayOutput

type ConfigExtractRuleFilterKeyRegexArrayInput

type ConfigExtractRuleFilterKeyRegexArrayInput interface {
	pulumi.Input

	ToConfigExtractRuleFilterKeyRegexArrayOutput() ConfigExtractRuleFilterKeyRegexArrayOutput
	ToConfigExtractRuleFilterKeyRegexArrayOutputWithContext(context.Context) ConfigExtractRuleFilterKeyRegexArrayOutput
}

ConfigExtractRuleFilterKeyRegexArrayInput is an input type that accepts ConfigExtractRuleFilterKeyRegexArray and ConfigExtractRuleFilterKeyRegexArrayOutput values. You can construct a concrete instance of `ConfigExtractRuleFilterKeyRegexArrayInput` via:

ConfigExtractRuleFilterKeyRegexArray{ ConfigExtractRuleFilterKeyRegexArgs{...} }

type ConfigExtractRuleFilterKeyRegexArrayOutput

type ConfigExtractRuleFilterKeyRegexArrayOutput struct{ *pulumi.OutputState }

func (ConfigExtractRuleFilterKeyRegexArrayOutput) ElementType

func (ConfigExtractRuleFilterKeyRegexArrayOutput) Index

func (ConfigExtractRuleFilterKeyRegexArrayOutput) ToConfigExtractRuleFilterKeyRegexArrayOutput

func (o ConfigExtractRuleFilterKeyRegexArrayOutput) ToConfigExtractRuleFilterKeyRegexArrayOutput() ConfigExtractRuleFilterKeyRegexArrayOutput

func (ConfigExtractRuleFilterKeyRegexArrayOutput) ToConfigExtractRuleFilterKeyRegexArrayOutputWithContext

func (o ConfigExtractRuleFilterKeyRegexArrayOutput) ToConfigExtractRuleFilterKeyRegexArrayOutputWithContext(ctx context.Context) ConfigExtractRuleFilterKeyRegexArrayOutput

type ConfigExtractRuleFilterKeyRegexInput

type ConfigExtractRuleFilterKeyRegexInput interface {
	pulumi.Input

	ToConfigExtractRuleFilterKeyRegexOutput() ConfigExtractRuleFilterKeyRegexOutput
	ToConfigExtractRuleFilterKeyRegexOutputWithContext(context.Context) ConfigExtractRuleFilterKeyRegexOutput
}

ConfigExtractRuleFilterKeyRegexInput is an input type that accepts ConfigExtractRuleFilterKeyRegexArgs and ConfigExtractRuleFilterKeyRegexOutput values. You can construct a concrete instance of `ConfigExtractRuleFilterKeyRegexInput` via:

ConfigExtractRuleFilterKeyRegexArgs{...}

type ConfigExtractRuleFilterKeyRegexOutput

type ConfigExtractRuleFilterKeyRegexOutput struct{ *pulumi.OutputState }

func (ConfigExtractRuleFilterKeyRegexOutput) ElementType

func (ConfigExtractRuleFilterKeyRegexOutput) Key

Log key to be filtered.

func (ConfigExtractRuleFilterKeyRegexOutput) Regex

Filter rule regex corresponding to key.

func (ConfigExtractRuleFilterKeyRegexOutput) ToConfigExtractRuleFilterKeyRegexOutput

func (o ConfigExtractRuleFilterKeyRegexOutput) ToConfigExtractRuleFilterKeyRegexOutput() ConfigExtractRuleFilterKeyRegexOutput

func (ConfigExtractRuleFilterKeyRegexOutput) ToConfigExtractRuleFilterKeyRegexOutputWithContext

func (o ConfigExtractRuleFilterKeyRegexOutput) ToConfigExtractRuleFilterKeyRegexOutputWithContext(ctx context.Context) ConfigExtractRuleFilterKeyRegexOutput

type ConfigExtractRuleInput

type ConfigExtractRuleInput interface {
	pulumi.Input

	ToConfigExtractRuleOutput() ConfigExtractRuleOutput
	ToConfigExtractRuleOutputWithContext(context.Context) ConfigExtractRuleOutput
}

ConfigExtractRuleInput is an input type that accepts ConfigExtractRuleArgs and ConfigExtractRuleOutput values. You can construct a concrete instance of `ConfigExtractRuleInput` via:

ConfigExtractRuleArgs{...}

type ConfigExtractRuleOutput

type ConfigExtractRuleOutput struct{ *pulumi.OutputState }

func (ConfigExtractRuleOutput) Backtracking

func (o ConfigExtractRuleOutput) Backtracking() pulumi.IntPtrOutput

Size of the data to be rewound in incremental collection mode. Default value: -1 (full collection).

func (ConfigExtractRuleOutput) BeginRegex

First-Line matching rule, which is valid only if logType is multilineLog or fullregex_log.

func (ConfigExtractRuleOutput) Delimiter

Delimiter for delimited log, which is valid only if logType is delimiter_log.

func (ConfigExtractRuleOutput) ElementType

func (ConfigExtractRuleOutput) ElementType() reflect.Type

func (ConfigExtractRuleOutput) FilterKeyRegexes

Log keys to be filtered and the corresponding regex.

func (ConfigExtractRuleOutput) Keys

Key name of each extracted field. An empty key indicates to discard the field. This parameter is valid only if logType is delimiter_log. jsonLog logs use the key of JSON itself.

func (ConfigExtractRuleOutput) LogRegex

Full log matching rule, which is valid only if logType is fullregex_log.

func (ConfigExtractRuleOutput) TimeFormat

Time field format. For more information, please see the output parameters of the time format description of the strftime function in C language.

func (ConfigExtractRuleOutput) TimeKey

Time field key name. timeKey and timeFormat must appear in pair.

func (ConfigExtractRuleOutput) ToConfigExtractRuleOutput

func (o ConfigExtractRuleOutput) ToConfigExtractRuleOutput() ConfigExtractRuleOutput

func (ConfigExtractRuleOutput) ToConfigExtractRuleOutputWithContext

func (o ConfigExtractRuleOutput) ToConfigExtractRuleOutputWithContext(ctx context.Context) ConfigExtractRuleOutput

func (ConfigExtractRuleOutput) ToConfigExtractRulePtrOutput

func (o ConfigExtractRuleOutput) ToConfigExtractRulePtrOutput() ConfigExtractRulePtrOutput

func (ConfigExtractRuleOutput) ToConfigExtractRulePtrOutputWithContext

func (o ConfigExtractRuleOutput) ToConfigExtractRulePtrOutputWithContext(ctx context.Context) ConfigExtractRulePtrOutput

func (ConfigExtractRuleOutput) UnMatchLogKey

Unmatched log key.

func (ConfigExtractRuleOutput) UnMatchUpLoadSwitch

func (o ConfigExtractRuleOutput) UnMatchUpLoadSwitch() pulumi.BoolPtrOutput

Whether to upload the logs that failed to be parsed. Valid values: true: yes; false: no.

type ConfigExtractRulePtrInput

type ConfigExtractRulePtrInput interface {
	pulumi.Input

	ToConfigExtractRulePtrOutput() ConfigExtractRulePtrOutput
	ToConfigExtractRulePtrOutputWithContext(context.Context) ConfigExtractRulePtrOutput
}

ConfigExtractRulePtrInput is an input type that accepts ConfigExtractRuleArgs, ConfigExtractRulePtr and ConfigExtractRulePtrOutput values. You can construct a concrete instance of `ConfigExtractRulePtrInput` via:

        ConfigExtractRuleArgs{...}

or:

        nil

type ConfigExtractRulePtrOutput

type ConfigExtractRulePtrOutput struct{ *pulumi.OutputState }

func (ConfigExtractRulePtrOutput) Backtracking

Size of the data to be rewound in incremental collection mode. Default value: -1 (full collection).

func (ConfigExtractRulePtrOutput) BeginRegex

First-Line matching rule, which is valid only if logType is multilineLog or fullregex_log.

func (ConfigExtractRulePtrOutput) Delimiter

Delimiter for delimited log, which is valid only if logType is delimiter_log.

func (ConfigExtractRulePtrOutput) Elem

func (ConfigExtractRulePtrOutput) ElementType

func (ConfigExtractRulePtrOutput) ElementType() reflect.Type

func (ConfigExtractRulePtrOutput) FilterKeyRegexes

Log keys to be filtered and the corresponding regex.

func (ConfigExtractRulePtrOutput) Keys

Key name of each extracted field. An empty key indicates to discard the field. This parameter is valid only if logType is delimiter_log. jsonLog logs use the key of JSON itself.

func (ConfigExtractRulePtrOutput) LogRegex

Full log matching rule, which is valid only if logType is fullregex_log.

func (ConfigExtractRulePtrOutput) TimeFormat

Time field format. For more information, please see the output parameters of the time format description of the strftime function in C language.

func (ConfigExtractRulePtrOutput) TimeKey

Time field key name. timeKey and timeFormat must appear in pair.

func (ConfigExtractRulePtrOutput) ToConfigExtractRulePtrOutput

func (o ConfigExtractRulePtrOutput) ToConfigExtractRulePtrOutput() ConfigExtractRulePtrOutput

func (ConfigExtractRulePtrOutput) ToConfigExtractRulePtrOutputWithContext

func (o ConfigExtractRulePtrOutput) ToConfigExtractRulePtrOutputWithContext(ctx context.Context) ConfigExtractRulePtrOutput

func (ConfigExtractRulePtrOutput) UnMatchLogKey

Unmatched log key.

func (ConfigExtractRulePtrOutput) UnMatchUpLoadSwitch

func (o ConfigExtractRulePtrOutput) UnMatchUpLoadSwitch() pulumi.BoolPtrOutput

Whether to upload the logs that failed to be parsed. Valid values: true: yes; false: no.

type ConfigInput

type ConfigInput interface {
	pulumi.Input

	ToConfigOutput() ConfigOutput
	ToConfigOutputWithContext(ctx context.Context) ConfigOutput
}

type ConfigMap

type ConfigMap map[string]ConfigInput

func (ConfigMap) ElementType

func (ConfigMap) ElementType() reflect.Type

func (ConfigMap) ToConfigMapOutput

func (i ConfigMap) ToConfigMapOutput() ConfigMapOutput

func (ConfigMap) ToConfigMapOutputWithContext

func (i ConfigMap) ToConfigMapOutputWithContext(ctx context.Context) ConfigMapOutput

type ConfigMapInput

type ConfigMapInput interface {
	pulumi.Input

	ToConfigMapOutput() ConfigMapOutput
	ToConfigMapOutputWithContext(context.Context) ConfigMapOutput
}

ConfigMapInput is an input type that accepts ConfigMap and ConfigMapOutput values. You can construct a concrete instance of `ConfigMapInput` via:

ConfigMap{ "key": ConfigArgs{...} }

type ConfigMapOutput

type ConfigMapOutput struct{ *pulumi.OutputState }

func (ConfigMapOutput) ElementType

func (ConfigMapOutput) ElementType() reflect.Type

func (ConfigMapOutput) MapIndex

func (ConfigMapOutput) ToConfigMapOutput

func (o ConfigMapOutput) ToConfigMapOutput() ConfigMapOutput

func (ConfigMapOutput) ToConfigMapOutputWithContext

func (o ConfigMapOutput) ToConfigMapOutputWithContext(ctx context.Context) ConfigMapOutput

type ConfigOutput

type ConfigOutput struct{ *pulumi.OutputState }

func (ConfigOutput) ElementType

func (ConfigOutput) ElementType() reflect.Type

func (ConfigOutput) ExcludePaths

func (o ConfigOutput) ExcludePaths() ConfigExcludePathArrayOutput

Collection path blocklist.

func (ConfigOutput) ExtractRule

func (o ConfigOutput) ExtractRule() ConfigExtractRuleOutput

Extraction rule. If ExtractRule is set, LogType must be set.

func (ConfigOutput) LogType

func (o ConfigOutput) LogType() pulumi.StringPtrOutput

Type of the log to be collected. Valid values: json_log: log in JSON format; delimiter_log: log in delimited format; minimalist_log: minimalist log; multiline_log: log in multi-line format; fullregex_log: log in full regex format. Default value: minimalist_log.

func (ConfigOutput) Name

func (o ConfigOutput) Name() pulumi.StringOutput

Collection configuration name.

func (ConfigOutput) Output

func (o ConfigOutput) Output() pulumi.StringPtrOutput

Log topic ID (TopicId) of collection configuration.

func (ConfigOutput) Path

Log collection path containing the filename.

func (ConfigOutput) ToConfigOutput

func (o ConfigOutput) ToConfigOutput() ConfigOutput

func (ConfigOutput) ToConfigOutputWithContext

func (o ConfigOutput) ToConfigOutputWithContext(ctx context.Context) ConfigOutput

func (ConfigOutput) UserDefineRule

func (o ConfigOutput) UserDefineRule() pulumi.StringPtrOutput

Custom collection rule, which is a serialized JSON string.

type ConfigState

type ConfigState struct {
	// Collection path blocklist.
	ExcludePaths ConfigExcludePathArrayInput
	// Extraction rule. If ExtractRule is set, LogType must be set.
	ExtractRule ConfigExtractRulePtrInput
	// Type of the log to be collected. Valid values: json_log: log in JSON format; delimiter_log: log in delimited format; minimalist_log: minimalist log; multiline_log: log in multi-line format; fullregex_log: log in full regex format. Default value: minimalist_log.
	LogType pulumi.StringPtrInput
	// Collection configuration name.
	Name pulumi.StringPtrInput
	// Log topic ID (TopicId) of collection configuration.
	Output pulumi.StringPtrInput
	// Log collection path containing the filename.
	Path pulumi.StringPtrInput
	// Custom collection rule, which is a serialized JSON string.
	UserDefineRule pulumi.StringPtrInput
}

func (ConfigState) ElementType

func (ConfigState) ElementType() reflect.Type

type CosShipper

type CosShipper struct {
	pulumi.CustomResourceState

	// Destination bucket in the shipping rule to be created.
	Bucket pulumi.StringOutput `pulumi:"bucket"`
	// Compression configuration of shipped log.
	Compress CosShipperCompressPtrOutput `pulumi:"compress"`
	// Format configuration of shipped log content.
	Content CosShipperContentPtrOutput `pulumi:"content"`
	// Filter rules for shipped logs. Only logs matching the rules can be shipped. All rules are in the AND relationship, and up to five rules can be added. If the array is empty, no filtering will be performed, and all logs will be shipped.
	FilterRules CosShipperFilterRuleArrayOutput `pulumi:"filterRules"`
	// Shipping time interval in seconds. Default value: 300. Value range: 300~900.
	Interval pulumi.IntPtrOutput `pulumi:"interval"`
	// Maximum size of a file to be shipped, in MB. Default value: 256. Value range: 100~256.
	MaxSize pulumi.IntPtrOutput `pulumi:"maxSize"`
	// Partition rule of shipped log, which can be represented in strftime time format.
	Partition pulumi.StringPtrOutput `pulumi:"partition"`
	// Prefix of the shipping directory in the shipping rule to be created.
	Prefix pulumi.StringOutput `pulumi:"prefix"`
	// Shipping rule name.
	ShipperName pulumi.StringOutput `pulumi:"shipperName"`
	// ID of the log topic to which the shipping rule to be created belongs.
	TopicId pulumi.StringOutput `pulumi:"topicId"`
}

Provides a resource to create a cls cos shipper.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Cls"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Cls"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Cls.NewCosShipper(ctx, "shipper", &Cls.CosShipperArgs{
			Bucket: pulumi.String("preset-scf-bucket-1308919341"),
			Compress: &cls.CosShipperCompressArgs{
				Format: pulumi.String("lzop"),
			},
			Content: &cls.CosShipperContentArgs{
				Format: pulumi.String("json"),
				Json: &cls.CosShipperContentJsonArgs{
					EnableTag: pulumi.Bool(true),
					MetaFields: pulumi.StringArray{
						pulumi.String("__FILENAME__"),
						pulumi.String("__SOURCE__"),
						pulumi.String("__TIMESTAMP__"),
					},
				},
			},
			Interval:    pulumi.Int(300),
			MaxSize:     pulumi.Int(200),
			Partition:   pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v", "/", "%", "Y/", "%", "m/", "%", "d/", "%", "H/")),
			Prefix:      pulumi.String("ap-guangzhou-fffsasad-1649734752"),
			ShipperName: pulumi.String("ap-guangzhou-fffsasad-1649734752"),
			TopicId:     pulumi.String("4d07fba0-b93e-4e0b-9a7f-d58542560bbb"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

cls cos shipper can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Cls/cosShipper:CosShipper shipper 5d1b7b2a-c163-4c48-bb01-9ee00584d761

```

func GetCosShipper

func GetCosShipper(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CosShipperState, opts ...pulumi.ResourceOption) (*CosShipper, error)

GetCosShipper gets an existing CosShipper 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 NewCosShipper

func NewCosShipper(ctx *pulumi.Context,
	name string, args *CosShipperArgs, opts ...pulumi.ResourceOption) (*CosShipper, error)

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

func (*CosShipper) ElementType

func (*CosShipper) ElementType() reflect.Type

func (*CosShipper) ToCosShipperOutput

func (i *CosShipper) ToCosShipperOutput() CosShipperOutput

func (*CosShipper) ToCosShipperOutputWithContext

func (i *CosShipper) ToCosShipperOutputWithContext(ctx context.Context) CosShipperOutput

type CosShipperArgs

type CosShipperArgs struct {
	// Destination bucket in the shipping rule to be created.
	Bucket pulumi.StringInput
	// Compression configuration of shipped log.
	Compress CosShipperCompressPtrInput
	// Format configuration of shipped log content.
	Content CosShipperContentPtrInput
	// Filter rules for shipped logs. Only logs matching the rules can be shipped. All rules are in the AND relationship, and up to five rules can be added. If the array is empty, no filtering will be performed, and all logs will be shipped.
	FilterRules CosShipperFilterRuleArrayInput
	// Shipping time interval in seconds. Default value: 300. Value range: 300~900.
	Interval pulumi.IntPtrInput
	// Maximum size of a file to be shipped, in MB. Default value: 256. Value range: 100~256.
	MaxSize pulumi.IntPtrInput
	// Partition rule of shipped log, which can be represented in strftime time format.
	Partition pulumi.StringPtrInput
	// Prefix of the shipping directory in the shipping rule to be created.
	Prefix pulumi.StringInput
	// Shipping rule name.
	ShipperName pulumi.StringInput
	// ID of the log topic to which the shipping rule to be created belongs.
	TopicId pulumi.StringInput
}

The set of arguments for constructing a CosShipper resource.

func (CosShipperArgs) ElementType

func (CosShipperArgs) ElementType() reflect.Type

type CosShipperArray

type CosShipperArray []CosShipperInput

func (CosShipperArray) ElementType

func (CosShipperArray) ElementType() reflect.Type

func (CosShipperArray) ToCosShipperArrayOutput

func (i CosShipperArray) ToCosShipperArrayOutput() CosShipperArrayOutput

func (CosShipperArray) ToCosShipperArrayOutputWithContext

func (i CosShipperArray) ToCosShipperArrayOutputWithContext(ctx context.Context) CosShipperArrayOutput

type CosShipperArrayInput

type CosShipperArrayInput interface {
	pulumi.Input

	ToCosShipperArrayOutput() CosShipperArrayOutput
	ToCosShipperArrayOutputWithContext(context.Context) CosShipperArrayOutput
}

CosShipperArrayInput is an input type that accepts CosShipperArray and CosShipperArrayOutput values. You can construct a concrete instance of `CosShipperArrayInput` via:

CosShipperArray{ CosShipperArgs{...} }

type CosShipperArrayOutput

type CosShipperArrayOutput struct{ *pulumi.OutputState }

func (CosShipperArrayOutput) ElementType

func (CosShipperArrayOutput) ElementType() reflect.Type

func (CosShipperArrayOutput) Index

func (CosShipperArrayOutput) ToCosShipperArrayOutput

func (o CosShipperArrayOutput) ToCosShipperArrayOutput() CosShipperArrayOutput

func (CosShipperArrayOutput) ToCosShipperArrayOutputWithContext

func (o CosShipperArrayOutput) ToCosShipperArrayOutputWithContext(ctx context.Context) CosShipperArrayOutput

type CosShipperCompress

type CosShipperCompress struct {
	// Compression format. Valid values: gzip, lzop, none (no compression).
	Format string `pulumi:"format"`
}

type CosShipperCompressArgs

type CosShipperCompressArgs struct {
	// Compression format. Valid values: gzip, lzop, none (no compression).
	Format pulumi.StringInput `pulumi:"format"`
}

func (CosShipperCompressArgs) ElementType

func (CosShipperCompressArgs) ElementType() reflect.Type

func (CosShipperCompressArgs) ToCosShipperCompressOutput

func (i CosShipperCompressArgs) ToCosShipperCompressOutput() CosShipperCompressOutput

func (CosShipperCompressArgs) ToCosShipperCompressOutputWithContext

func (i CosShipperCompressArgs) ToCosShipperCompressOutputWithContext(ctx context.Context) CosShipperCompressOutput

func (CosShipperCompressArgs) ToCosShipperCompressPtrOutput

func (i CosShipperCompressArgs) ToCosShipperCompressPtrOutput() CosShipperCompressPtrOutput

func (CosShipperCompressArgs) ToCosShipperCompressPtrOutputWithContext

func (i CosShipperCompressArgs) ToCosShipperCompressPtrOutputWithContext(ctx context.Context) CosShipperCompressPtrOutput

type CosShipperCompressInput

type CosShipperCompressInput interface {
	pulumi.Input

	ToCosShipperCompressOutput() CosShipperCompressOutput
	ToCosShipperCompressOutputWithContext(context.Context) CosShipperCompressOutput
}

CosShipperCompressInput is an input type that accepts CosShipperCompressArgs and CosShipperCompressOutput values. You can construct a concrete instance of `CosShipperCompressInput` via:

CosShipperCompressArgs{...}

type CosShipperCompressOutput

type CosShipperCompressOutput struct{ *pulumi.OutputState }

func (CosShipperCompressOutput) ElementType

func (CosShipperCompressOutput) ElementType() reflect.Type

func (CosShipperCompressOutput) Format

Compression format. Valid values: gzip, lzop, none (no compression).

func (CosShipperCompressOutput) ToCosShipperCompressOutput

func (o CosShipperCompressOutput) ToCosShipperCompressOutput() CosShipperCompressOutput

func (CosShipperCompressOutput) ToCosShipperCompressOutputWithContext

func (o CosShipperCompressOutput) ToCosShipperCompressOutputWithContext(ctx context.Context) CosShipperCompressOutput

func (CosShipperCompressOutput) ToCosShipperCompressPtrOutput

func (o CosShipperCompressOutput) ToCosShipperCompressPtrOutput() CosShipperCompressPtrOutput

func (CosShipperCompressOutput) ToCosShipperCompressPtrOutputWithContext

func (o CosShipperCompressOutput) ToCosShipperCompressPtrOutputWithContext(ctx context.Context) CosShipperCompressPtrOutput

type CosShipperCompressPtrInput

type CosShipperCompressPtrInput interface {
	pulumi.Input

	ToCosShipperCompressPtrOutput() CosShipperCompressPtrOutput
	ToCosShipperCompressPtrOutputWithContext(context.Context) CosShipperCompressPtrOutput
}

CosShipperCompressPtrInput is an input type that accepts CosShipperCompressArgs, CosShipperCompressPtr and CosShipperCompressPtrOutput values. You can construct a concrete instance of `CosShipperCompressPtrInput` via:

        CosShipperCompressArgs{...}

or:

        nil

type CosShipperCompressPtrOutput

type CosShipperCompressPtrOutput struct{ *pulumi.OutputState }

func (CosShipperCompressPtrOutput) Elem

func (CosShipperCompressPtrOutput) ElementType

func (CosShipperCompressPtrOutput) Format

Compression format. Valid values: gzip, lzop, none (no compression).

func (CosShipperCompressPtrOutput) ToCosShipperCompressPtrOutput

func (o CosShipperCompressPtrOutput) ToCosShipperCompressPtrOutput() CosShipperCompressPtrOutput

func (CosShipperCompressPtrOutput) ToCosShipperCompressPtrOutputWithContext

func (o CosShipperCompressPtrOutput) ToCosShipperCompressPtrOutputWithContext(ctx context.Context) CosShipperCompressPtrOutput

type CosShipperContent

type CosShipperContent struct {
	// CSV format content description.Note: this field may return null, indicating that no valid values can be obtained.
	Csv *CosShipperContentCsv `pulumi:"csv"`
	// Content format. Valid values: json, csv.
	Format string `pulumi:"format"`
	// JSON format content description.Note: this field may return null, indicating that no valid values can be obtained.
	Json *CosShipperContentJson `pulumi:"json"`
}

type CosShipperContentArgs

type CosShipperContentArgs struct {
	// CSV format content description.Note: this field may return null, indicating that no valid values can be obtained.
	Csv CosShipperContentCsvPtrInput `pulumi:"csv"`
	// Content format. Valid values: json, csv.
	Format pulumi.StringInput `pulumi:"format"`
	// JSON format content description.Note: this field may return null, indicating that no valid values can be obtained.
	Json CosShipperContentJsonPtrInput `pulumi:"json"`
}

func (CosShipperContentArgs) ElementType

func (CosShipperContentArgs) ElementType() reflect.Type

func (CosShipperContentArgs) ToCosShipperContentOutput

func (i CosShipperContentArgs) ToCosShipperContentOutput() CosShipperContentOutput

func (CosShipperContentArgs) ToCosShipperContentOutputWithContext

func (i CosShipperContentArgs) ToCosShipperContentOutputWithContext(ctx context.Context) CosShipperContentOutput

func (CosShipperContentArgs) ToCosShipperContentPtrOutput

func (i CosShipperContentArgs) ToCosShipperContentPtrOutput() CosShipperContentPtrOutput

func (CosShipperContentArgs) ToCosShipperContentPtrOutputWithContext

func (i CosShipperContentArgs) ToCosShipperContentPtrOutputWithContext(ctx context.Context) CosShipperContentPtrOutput

type CosShipperContentCsv

type CosShipperContentCsv struct {
	// Field delimiter.
	Delimiter string `pulumi:"delimiter"`
	// Field delimiter.
	EscapeChar string `pulumi:"escapeChar"`
	// Names of keys.Note: this field may return null, indicating that no valid values can be obtained.
	Keys []string `pulumi:"keys"`
	// Content used to populate non-existing fields.
	NonExistingField string `pulumi:"nonExistingField"`
	// Whether to print key on the first row of the CSV file.
	PrintKey bool `pulumi:"printKey"`
}

type CosShipperContentCsvArgs

type CosShipperContentCsvArgs struct {
	// Field delimiter.
	Delimiter pulumi.StringInput `pulumi:"delimiter"`
	// Field delimiter.
	EscapeChar pulumi.StringInput `pulumi:"escapeChar"`
	// Names of keys.Note: this field may return null, indicating that no valid values can be obtained.
	Keys pulumi.StringArrayInput `pulumi:"keys"`
	// Content used to populate non-existing fields.
	NonExistingField pulumi.StringInput `pulumi:"nonExistingField"`
	// Whether to print key on the first row of the CSV file.
	PrintKey pulumi.BoolInput `pulumi:"printKey"`
}

func (CosShipperContentCsvArgs) ElementType

func (CosShipperContentCsvArgs) ElementType() reflect.Type

func (CosShipperContentCsvArgs) ToCosShipperContentCsvOutput

func (i CosShipperContentCsvArgs) ToCosShipperContentCsvOutput() CosShipperContentCsvOutput

func (CosShipperContentCsvArgs) ToCosShipperContentCsvOutputWithContext

func (i CosShipperContentCsvArgs) ToCosShipperContentCsvOutputWithContext(ctx context.Context) CosShipperContentCsvOutput

func (CosShipperContentCsvArgs) ToCosShipperContentCsvPtrOutput

func (i CosShipperContentCsvArgs) ToCosShipperContentCsvPtrOutput() CosShipperContentCsvPtrOutput

func (CosShipperContentCsvArgs) ToCosShipperContentCsvPtrOutputWithContext

func (i CosShipperContentCsvArgs) ToCosShipperContentCsvPtrOutputWithContext(ctx context.Context) CosShipperContentCsvPtrOutput

type CosShipperContentCsvInput

type CosShipperContentCsvInput interface {
	pulumi.Input

	ToCosShipperContentCsvOutput() CosShipperContentCsvOutput
	ToCosShipperContentCsvOutputWithContext(context.Context) CosShipperContentCsvOutput
}

CosShipperContentCsvInput is an input type that accepts CosShipperContentCsvArgs and CosShipperContentCsvOutput values. You can construct a concrete instance of `CosShipperContentCsvInput` via:

CosShipperContentCsvArgs{...}

type CosShipperContentCsvOutput

type CosShipperContentCsvOutput struct{ *pulumi.OutputState }

func (CosShipperContentCsvOutput) Delimiter

Field delimiter.

func (CosShipperContentCsvOutput) ElementType

func (CosShipperContentCsvOutput) ElementType() reflect.Type

func (CosShipperContentCsvOutput) EscapeChar

Field delimiter.

func (CosShipperContentCsvOutput) Keys

Names of keys.Note: this field may return null, indicating that no valid values can be obtained.

func (CosShipperContentCsvOutput) NonExistingField

func (o CosShipperContentCsvOutput) NonExistingField() pulumi.StringOutput

Content used to populate non-existing fields.

func (CosShipperContentCsvOutput) PrintKey

Whether to print key on the first row of the CSV file.

func (CosShipperContentCsvOutput) ToCosShipperContentCsvOutput

func (o CosShipperContentCsvOutput) ToCosShipperContentCsvOutput() CosShipperContentCsvOutput

func (CosShipperContentCsvOutput) ToCosShipperContentCsvOutputWithContext

func (o CosShipperContentCsvOutput) ToCosShipperContentCsvOutputWithContext(ctx context.Context) CosShipperContentCsvOutput

func (CosShipperContentCsvOutput) ToCosShipperContentCsvPtrOutput

func (o CosShipperContentCsvOutput) ToCosShipperContentCsvPtrOutput() CosShipperContentCsvPtrOutput

func (CosShipperContentCsvOutput) ToCosShipperContentCsvPtrOutputWithContext

func (o CosShipperContentCsvOutput) ToCosShipperContentCsvPtrOutputWithContext(ctx context.Context) CosShipperContentCsvPtrOutput

type CosShipperContentCsvPtrInput

type CosShipperContentCsvPtrInput interface {
	pulumi.Input

	ToCosShipperContentCsvPtrOutput() CosShipperContentCsvPtrOutput
	ToCosShipperContentCsvPtrOutputWithContext(context.Context) CosShipperContentCsvPtrOutput
}

CosShipperContentCsvPtrInput is an input type that accepts CosShipperContentCsvArgs, CosShipperContentCsvPtr and CosShipperContentCsvPtrOutput values. You can construct a concrete instance of `CosShipperContentCsvPtrInput` via:

        CosShipperContentCsvArgs{...}

or:

        nil

type CosShipperContentCsvPtrOutput

type CosShipperContentCsvPtrOutput struct{ *pulumi.OutputState }

func (CosShipperContentCsvPtrOutput) Delimiter

Field delimiter.

func (CosShipperContentCsvPtrOutput) Elem

func (CosShipperContentCsvPtrOutput) ElementType

func (CosShipperContentCsvPtrOutput) EscapeChar

Field delimiter.

func (CosShipperContentCsvPtrOutput) Keys

Names of keys.Note: this field may return null, indicating that no valid values can be obtained.

func (CosShipperContentCsvPtrOutput) NonExistingField

Content used to populate non-existing fields.

func (CosShipperContentCsvPtrOutput) PrintKey

Whether to print key on the first row of the CSV file.

func (CosShipperContentCsvPtrOutput) ToCosShipperContentCsvPtrOutput

func (o CosShipperContentCsvPtrOutput) ToCosShipperContentCsvPtrOutput() CosShipperContentCsvPtrOutput

func (CosShipperContentCsvPtrOutput) ToCosShipperContentCsvPtrOutputWithContext

func (o CosShipperContentCsvPtrOutput) ToCosShipperContentCsvPtrOutputWithContext(ctx context.Context) CosShipperContentCsvPtrOutput

type CosShipperContentInput

type CosShipperContentInput interface {
	pulumi.Input

	ToCosShipperContentOutput() CosShipperContentOutput
	ToCosShipperContentOutputWithContext(context.Context) CosShipperContentOutput
}

CosShipperContentInput is an input type that accepts CosShipperContentArgs and CosShipperContentOutput values. You can construct a concrete instance of `CosShipperContentInput` via:

CosShipperContentArgs{...}

type CosShipperContentJson

type CosShipperContentJson struct {
	// Enablement flag.
	EnableTag bool `pulumi:"enableTag"`
	// Metadata information list
	// Note: this field may return null, indicating that no valid values can be obtained..
	MetaFields []string `pulumi:"metaFields"`
}

type CosShipperContentJsonArgs

type CosShipperContentJsonArgs struct {
	// Enablement flag.
	EnableTag pulumi.BoolInput `pulumi:"enableTag"`
	// Metadata information list
	// Note: this field may return null, indicating that no valid values can be obtained..
	MetaFields pulumi.StringArrayInput `pulumi:"metaFields"`
}

func (CosShipperContentJsonArgs) ElementType

func (CosShipperContentJsonArgs) ElementType() reflect.Type

func (CosShipperContentJsonArgs) ToCosShipperContentJsonOutput

func (i CosShipperContentJsonArgs) ToCosShipperContentJsonOutput() CosShipperContentJsonOutput

func (CosShipperContentJsonArgs) ToCosShipperContentJsonOutputWithContext

func (i CosShipperContentJsonArgs) ToCosShipperContentJsonOutputWithContext(ctx context.Context) CosShipperContentJsonOutput

func (CosShipperContentJsonArgs) ToCosShipperContentJsonPtrOutput

func (i CosShipperContentJsonArgs) ToCosShipperContentJsonPtrOutput() CosShipperContentJsonPtrOutput

func (CosShipperContentJsonArgs) ToCosShipperContentJsonPtrOutputWithContext

func (i CosShipperContentJsonArgs) ToCosShipperContentJsonPtrOutputWithContext(ctx context.Context) CosShipperContentJsonPtrOutput

type CosShipperContentJsonInput

type CosShipperContentJsonInput interface {
	pulumi.Input

	ToCosShipperContentJsonOutput() CosShipperContentJsonOutput
	ToCosShipperContentJsonOutputWithContext(context.Context) CosShipperContentJsonOutput
}

CosShipperContentJsonInput is an input type that accepts CosShipperContentJsonArgs and CosShipperContentJsonOutput values. You can construct a concrete instance of `CosShipperContentJsonInput` via:

CosShipperContentJsonArgs{...}

type CosShipperContentJsonOutput

type CosShipperContentJsonOutput struct{ *pulumi.OutputState }

func (CosShipperContentJsonOutput) ElementType

func (CosShipperContentJsonOutput) EnableTag

Enablement flag.

func (CosShipperContentJsonOutput) MetaFields

Metadata information list Note: this field may return null, indicating that no valid values can be obtained..

func (CosShipperContentJsonOutput) ToCosShipperContentJsonOutput

func (o CosShipperContentJsonOutput) ToCosShipperContentJsonOutput() CosShipperContentJsonOutput

func (CosShipperContentJsonOutput) ToCosShipperContentJsonOutputWithContext

func (o CosShipperContentJsonOutput) ToCosShipperContentJsonOutputWithContext(ctx context.Context) CosShipperContentJsonOutput

func (CosShipperContentJsonOutput) ToCosShipperContentJsonPtrOutput

func (o CosShipperContentJsonOutput) ToCosShipperContentJsonPtrOutput() CosShipperContentJsonPtrOutput

func (CosShipperContentJsonOutput) ToCosShipperContentJsonPtrOutputWithContext

func (o CosShipperContentJsonOutput) ToCosShipperContentJsonPtrOutputWithContext(ctx context.Context) CosShipperContentJsonPtrOutput

type CosShipperContentJsonPtrInput

type CosShipperContentJsonPtrInput interface {
	pulumi.Input

	ToCosShipperContentJsonPtrOutput() CosShipperContentJsonPtrOutput
	ToCosShipperContentJsonPtrOutputWithContext(context.Context) CosShipperContentJsonPtrOutput
}

CosShipperContentJsonPtrInput is an input type that accepts CosShipperContentJsonArgs, CosShipperContentJsonPtr and CosShipperContentJsonPtrOutput values. You can construct a concrete instance of `CosShipperContentJsonPtrInput` via:

        CosShipperContentJsonArgs{...}

or:

        nil

type CosShipperContentJsonPtrOutput

type CosShipperContentJsonPtrOutput struct{ *pulumi.OutputState }

func (CosShipperContentJsonPtrOutput) Elem

func (CosShipperContentJsonPtrOutput) ElementType

func (CosShipperContentJsonPtrOutput) EnableTag

Enablement flag.

func (CosShipperContentJsonPtrOutput) MetaFields

Metadata information list Note: this field may return null, indicating that no valid values can be obtained..

func (CosShipperContentJsonPtrOutput) ToCosShipperContentJsonPtrOutput

func (o CosShipperContentJsonPtrOutput) ToCosShipperContentJsonPtrOutput() CosShipperContentJsonPtrOutput

func (CosShipperContentJsonPtrOutput) ToCosShipperContentJsonPtrOutputWithContext

func (o CosShipperContentJsonPtrOutput) ToCosShipperContentJsonPtrOutputWithContext(ctx context.Context) CosShipperContentJsonPtrOutput

type CosShipperContentOutput

type CosShipperContentOutput struct{ *pulumi.OutputState }

func (CosShipperContentOutput) Csv

CSV format content description.Note: this field may return null, indicating that no valid values can be obtained.

func (CosShipperContentOutput) ElementType

func (CosShipperContentOutput) ElementType() reflect.Type

func (CosShipperContentOutput) Format

Content format. Valid values: json, csv.

func (CosShipperContentOutput) Json

JSON format content description.Note: this field may return null, indicating that no valid values can be obtained.

func (CosShipperContentOutput) ToCosShipperContentOutput

func (o CosShipperContentOutput) ToCosShipperContentOutput() CosShipperContentOutput

func (CosShipperContentOutput) ToCosShipperContentOutputWithContext

func (o CosShipperContentOutput) ToCosShipperContentOutputWithContext(ctx context.Context) CosShipperContentOutput

func (CosShipperContentOutput) ToCosShipperContentPtrOutput

func (o CosShipperContentOutput) ToCosShipperContentPtrOutput() CosShipperContentPtrOutput

func (CosShipperContentOutput) ToCosShipperContentPtrOutputWithContext

func (o CosShipperContentOutput) ToCosShipperContentPtrOutputWithContext(ctx context.Context) CosShipperContentPtrOutput

type CosShipperContentPtrInput

type CosShipperContentPtrInput interface {
	pulumi.Input

	ToCosShipperContentPtrOutput() CosShipperContentPtrOutput
	ToCosShipperContentPtrOutputWithContext(context.Context) CosShipperContentPtrOutput
}

CosShipperContentPtrInput is an input type that accepts CosShipperContentArgs, CosShipperContentPtr and CosShipperContentPtrOutput values. You can construct a concrete instance of `CosShipperContentPtrInput` via:

        CosShipperContentArgs{...}

or:

        nil

type CosShipperContentPtrOutput

type CosShipperContentPtrOutput struct{ *pulumi.OutputState }

func (CosShipperContentPtrOutput) Csv

CSV format content description.Note: this field may return null, indicating that no valid values can be obtained.

func (CosShipperContentPtrOutput) Elem

func (CosShipperContentPtrOutput) ElementType

func (CosShipperContentPtrOutput) ElementType() reflect.Type

func (CosShipperContentPtrOutput) Format

Content format. Valid values: json, csv.

func (CosShipperContentPtrOutput) Json

JSON format content description.Note: this field may return null, indicating that no valid values can be obtained.

func (CosShipperContentPtrOutput) ToCosShipperContentPtrOutput

func (o CosShipperContentPtrOutput) ToCosShipperContentPtrOutput() CosShipperContentPtrOutput

func (CosShipperContentPtrOutput) ToCosShipperContentPtrOutputWithContext

func (o CosShipperContentPtrOutput) ToCosShipperContentPtrOutputWithContext(ctx context.Context) CosShipperContentPtrOutput

type CosShipperFilterRule

type CosShipperFilterRule struct {
	// Filter rule key.
	Key string `pulumi:"key"`
	// Filter rule.
	Regex string `pulumi:"regex"`
	// Filter rule value.
	Value string `pulumi:"value"`
}

type CosShipperFilterRuleArgs

type CosShipperFilterRuleArgs struct {
	// Filter rule key.
	Key pulumi.StringInput `pulumi:"key"`
	// Filter rule.
	Regex pulumi.StringInput `pulumi:"regex"`
	// Filter rule value.
	Value pulumi.StringInput `pulumi:"value"`
}

func (CosShipperFilterRuleArgs) ElementType

func (CosShipperFilterRuleArgs) ElementType() reflect.Type

func (CosShipperFilterRuleArgs) ToCosShipperFilterRuleOutput

func (i CosShipperFilterRuleArgs) ToCosShipperFilterRuleOutput() CosShipperFilterRuleOutput

func (CosShipperFilterRuleArgs) ToCosShipperFilterRuleOutputWithContext

func (i CosShipperFilterRuleArgs) ToCosShipperFilterRuleOutputWithContext(ctx context.Context) CosShipperFilterRuleOutput

type CosShipperFilterRuleArray

type CosShipperFilterRuleArray []CosShipperFilterRuleInput

func (CosShipperFilterRuleArray) ElementType

func (CosShipperFilterRuleArray) ElementType() reflect.Type

func (CosShipperFilterRuleArray) ToCosShipperFilterRuleArrayOutput

func (i CosShipperFilterRuleArray) ToCosShipperFilterRuleArrayOutput() CosShipperFilterRuleArrayOutput

func (CosShipperFilterRuleArray) ToCosShipperFilterRuleArrayOutputWithContext

func (i CosShipperFilterRuleArray) ToCosShipperFilterRuleArrayOutputWithContext(ctx context.Context) CosShipperFilterRuleArrayOutput

type CosShipperFilterRuleArrayInput

type CosShipperFilterRuleArrayInput interface {
	pulumi.Input

	ToCosShipperFilterRuleArrayOutput() CosShipperFilterRuleArrayOutput
	ToCosShipperFilterRuleArrayOutputWithContext(context.Context) CosShipperFilterRuleArrayOutput
}

CosShipperFilterRuleArrayInput is an input type that accepts CosShipperFilterRuleArray and CosShipperFilterRuleArrayOutput values. You can construct a concrete instance of `CosShipperFilterRuleArrayInput` via:

CosShipperFilterRuleArray{ CosShipperFilterRuleArgs{...} }

type CosShipperFilterRuleArrayOutput

type CosShipperFilterRuleArrayOutput struct{ *pulumi.OutputState }

func (CosShipperFilterRuleArrayOutput) ElementType

func (CosShipperFilterRuleArrayOutput) Index

func (CosShipperFilterRuleArrayOutput) ToCosShipperFilterRuleArrayOutput

func (o CosShipperFilterRuleArrayOutput) ToCosShipperFilterRuleArrayOutput() CosShipperFilterRuleArrayOutput

func (CosShipperFilterRuleArrayOutput) ToCosShipperFilterRuleArrayOutputWithContext

func (o CosShipperFilterRuleArrayOutput) ToCosShipperFilterRuleArrayOutputWithContext(ctx context.Context) CosShipperFilterRuleArrayOutput

type CosShipperFilterRuleInput

type CosShipperFilterRuleInput interface {
	pulumi.Input

	ToCosShipperFilterRuleOutput() CosShipperFilterRuleOutput
	ToCosShipperFilterRuleOutputWithContext(context.Context) CosShipperFilterRuleOutput
}

CosShipperFilterRuleInput is an input type that accepts CosShipperFilterRuleArgs and CosShipperFilterRuleOutput values. You can construct a concrete instance of `CosShipperFilterRuleInput` via:

CosShipperFilterRuleArgs{...}

type CosShipperFilterRuleOutput

type CosShipperFilterRuleOutput struct{ *pulumi.OutputState }

func (CosShipperFilterRuleOutput) ElementType

func (CosShipperFilterRuleOutput) ElementType() reflect.Type

func (CosShipperFilterRuleOutput) Key

Filter rule key.

func (CosShipperFilterRuleOutput) Regex

Filter rule.

func (CosShipperFilterRuleOutput) ToCosShipperFilterRuleOutput

func (o CosShipperFilterRuleOutput) ToCosShipperFilterRuleOutput() CosShipperFilterRuleOutput

func (CosShipperFilterRuleOutput) ToCosShipperFilterRuleOutputWithContext

func (o CosShipperFilterRuleOutput) ToCosShipperFilterRuleOutputWithContext(ctx context.Context) CosShipperFilterRuleOutput

func (CosShipperFilterRuleOutput) Value

Filter rule value.

type CosShipperInput

type CosShipperInput interface {
	pulumi.Input

	ToCosShipperOutput() CosShipperOutput
	ToCosShipperOutputWithContext(ctx context.Context) CosShipperOutput
}

type CosShipperMap

type CosShipperMap map[string]CosShipperInput

func (CosShipperMap) ElementType

func (CosShipperMap) ElementType() reflect.Type

func (CosShipperMap) ToCosShipperMapOutput

func (i CosShipperMap) ToCosShipperMapOutput() CosShipperMapOutput

func (CosShipperMap) ToCosShipperMapOutputWithContext

func (i CosShipperMap) ToCosShipperMapOutputWithContext(ctx context.Context) CosShipperMapOutput

type CosShipperMapInput

type CosShipperMapInput interface {
	pulumi.Input

	ToCosShipperMapOutput() CosShipperMapOutput
	ToCosShipperMapOutputWithContext(context.Context) CosShipperMapOutput
}

CosShipperMapInput is an input type that accepts CosShipperMap and CosShipperMapOutput values. You can construct a concrete instance of `CosShipperMapInput` via:

CosShipperMap{ "key": CosShipperArgs{...} }

type CosShipperMapOutput

type CosShipperMapOutput struct{ *pulumi.OutputState }

func (CosShipperMapOutput) ElementType

func (CosShipperMapOutput) ElementType() reflect.Type

func (CosShipperMapOutput) MapIndex

func (CosShipperMapOutput) ToCosShipperMapOutput

func (o CosShipperMapOutput) ToCosShipperMapOutput() CosShipperMapOutput

func (CosShipperMapOutput) ToCosShipperMapOutputWithContext

func (o CosShipperMapOutput) ToCosShipperMapOutputWithContext(ctx context.Context) CosShipperMapOutput

type CosShipperOutput

type CosShipperOutput struct{ *pulumi.OutputState }

func (CosShipperOutput) Bucket

Destination bucket in the shipping rule to be created.

func (CosShipperOutput) Compress

Compression configuration of shipped log.

func (CosShipperOutput) Content

Format configuration of shipped log content.

func (CosShipperOutput) ElementType

func (CosShipperOutput) ElementType() reflect.Type

func (CosShipperOutput) FilterRules

Filter rules for shipped logs. Only logs matching the rules can be shipped. All rules are in the AND relationship, and up to five rules can be added. If the array is empty, no filtering will be performed, and all logs will be shipped.

func (CosShipperOutput) Interval

func (o CosShipperOutput) Interval() pulumi.IntPtrOutput

Shipping time interval in seconds. Default value: 300. Value range: 300~900.

func (CosShipperOutput) MaxSize

func (o CosShipperOutput) MaxSize() pulumi.IntPtrOutput

Maximum size of a file to be shipped, in MB. Default value: 256. Value range: 100~256.

func (CosShipperOutput) Partition

func (o CosShipperOutput) Partition() pulumi.StringPtrOutput

Partition rule of shipped log, which can be represented in strftime time format.

func (CosShipperOutput) Prefix

Prefix of the shipping directory in the shipping rule to be created.

func (CosShipperOutput) ShipperName

func (o CosShipperOutput) ShipperName() pulumi.StringOutput

Shipping rule name.

func (CosShipperOutput) ToCosShipperOutput

func (o CosShipperOutput) ToCosShipperOutput() CosShipperOutput

func (CosShipperOutput) ToCosShipperOutputWithContext

func (o CosShipperOutput) ToCosShipperOutputWithContext(ctx context.Context) CosShipperOutput

func (CosShipperOutput) TopicId

func (o CosShipperOutput) TopicId() pulumi.StringOutput

ID of the log topic to which the shipping rule to be created belongs.

type CosShipperState

type CosShipperState struct {
	// Destination bucket in the shipping rule to be created.
	Bucket pulumi.StringPtrInput
	// Compression configuration of shipped log.
	Compress CosShipperCompressPtrInput
	// Format configuration of shipped log content.
	Content CosShipperContentPtrInput
	// Filter rules for shipped logs. Only logs matching the rules can be shipped. All rules are in the AND relationship, and up to five rules can be added. If the array is empty, no filtering will be performed, and all logs will be shipped.
	FilterRules CosShipperFilterRuleArrayInput
	// Shipping time interval in seconds. Default value: 300. Value range: 300~900.
	Interval pulumi.IntPtrInput
	// Maximum size of a file to be shipped, in MB. Default value: 256. Value range: 100~256.
	MaxSize pulumi.IntPtrInput
	// Partition rule of shipped log, which can be represented in strftime time format.
	Partition pulumi.StringPtrInput
	// Prefix of the shipping directory in the shipping rule to be created.
	Prefix pulumi.StringPtrInput
	// Shipping rule name.
	ShipperName pulumi.StringPtrInput
	// ID of the log topic to which the shipping rule to be created belongs.
	TopicId pulumi.StringPtrInput
}

func (CosShipperState) ElementType

func (CosShipperState) ElementType() reflect.Type

type Index

type Index struct {
	pulumi.CustomResourceState

	// Internal field marker of full-text index. Default value: false. Valid value: false: excluding internal fields; true: including internal fields.
	IncludeInternalFields pulumi.BoolPtrOutput `pulumi:"includeInternalFields"`
	// Metadata flag. Default value: 0. Valid value: 0: full-text index (including the metadata field with key-value index enabled); 1: full-text index (including all metadata fields); 2: full-text index (excluding metadata fields)..
	MetadataFlag pulumi.IntPtrOutput `pulumi:"metadataFlag"`
	// Index rule.
	Rule IndexRuleOutput `pulumi:"rule"`
	// Whether to take effect. Default value: true.
	Status pulumi.BoolOutput `pulumi:"status"`
	// Log topic ID.
	TopicId pulumi.StringOutput `pulumi:"topicId"`
}

Provides a resource to create a cls index.

## Import

cls cos index can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Cls/index:Index index 0937e56f-4008-49d2-ad2d-69c52a9f11cc

```

func GetIndex

func GetIndex(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IndexState, opts ...pulumi.ResourceOption) (*Index, error)

GetIndex gets an existing Index 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 NewIndex

func NewIndex(ctx *pulumi.Context,
	name string, args *IndexArgs, opts ...pulumi.ResourceOption) (*Index, error)

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

func (*Index) ElementType

func (*Index) ElementType() reflect.Type

func (*Index) ToIndexOutput

func (i *Index) ToIndexOutput() IndexOutput

func (*Index) ToIndexOutputWithContext

func (i *Index) ToIndexOutputWithContext(ctx context.Context) IndexOutput

type IndexArgs

type IndexArgs struct {
	// Internal field marker of full-text index. Default value: false. Valid value: false: excluding internal fields; true: including internal fields.
	IncludeInternalFields pulumi.BoolPtrInput
	// Metadata flag. Default value: 0. Valid value: 0: full-text index (including the metadata field with key-value index enabled); 1: full-text index (including all metadata fields); 2: full-text index (excluding metadata fields)..
	MetadataFlag pulumi.IntPtrInput
	// Index rule.
	Rule IndexRulePtrInput
	// Whether to take effect. Default value: true.
	Status pulumi.BoolPtrInput
	// Log topic ID.
	TopicId pulumi.StringInput
}

The set of arguments for constructing a Index resource.

func (IndexArgs) ElementType

func (IndexArgs) ElementType() reflect.Type

type IndexArray

type IndexArray []IndexInput

func (IndexArray) ElementType

func (IndexArray) ElementType() reflect.Type

func (IndexArray) ToIndexArrayOutput

func (i IndexArray) ToIndexArrayOutput() IndexArrayOutput

func (IndexArray) ToIndexArrayOutputWithContext

func (i IndexArray) ToIndexArrayOutputWithContext(ctx context.Context) IndexArrayOutput

type IndexArrayInput

type IndexArrayInput interface {
	pulumi.Input

	ToIndexArrayOutput() IndexArrayOutput
	ToIndexArrayOutputWithContext(context.Context) IndexArrayOutput
}

IndexArrayInput is an input type that accepts IndexArray and IndexArrayOutput values. You can construct a concrete instance of `IndexArrayInput` via:

IndexArray{ IndexArgs{...} }

type IndexArrayOutput

type IndexArrayOutput struct{ *pulumi.OutputState }

func (IndexArrayOutput) ElementType

func (IndexArrayOutput) ElementType() reflect.Type

func (IndexArrayOutput) Index

func (IndexArrayOutput) ToIndexArrayOutput

func (o IndexArrayOutput) ToIndexArrayOutput() IndexArrayOutput

func (IndexArrayOutput) ToIndexArrayOutputWithContext

func (o IndexArrayOutput) ToIndexArrayOutputWithContext(ctx context.Context) IndexArrayOutput

type IndexInput

type IndexInput interface {
	pulumi.Input

	ToIndexOutput() IndexOutput
	ToIndexOutputWithContext(ctx context.Context) IndexOutput
}

type IndexMap

type IndexMap map[string]IndexInput

func (IndexMap) ElementType

func (IndexMap) ElementType() reflect.Type

func (IndexMap) ToIndexMapOutput

func (i IndexMap) ToIndexMapOutput() IndexMapOutput

func (IndexMap) ToIndexMapOutputWithContext

func (i IndexMap) ToIndexMapOutputWithContext(ctx context.Context) IndexMapOutput

type IndexMapInput

type IndexMapInput interface {
	pulumi.Input

	ToIndexMapOutput() IndexMapOutput
	ToIndexMapOutputWithContext(context.Context) IndexMapOutput
}

IndexMapInput is an input type that accepts IndexMap and IndexMapOutput values. You can construct a concrete instance of `IndexMapInput` via:

IndexMap{ "key": IndexArgs{...} }

type IndexMapOutput

type IndexMapOutput struct{ *pulumi.OutputState }

func (IndexMapOutput) ElementType

func (IndexMapOutput) ElementType() reflect.Type

func (IndexMapOutput) MapIndex

func (IndexMapOutput) ToIndexMapOutput

func (o IndexMapOutput) ToIndexMapOutput() IndexMapOutput

func (IndexMapOutput) ToIndexMapOutputWithContext

func (o IndexMapOutput) ToIndexMapOutputWithContext(ctx context.Context) IndexMapOutput

type IndexOutput

type IndexOutput struct{ *pulumi.OutputState }

func (IndexOutput) ElementType

func (IndexOutput) ElementType() reflect.Type

func (IndexOutput) IncludeInternalFields

func (o IndexOutput) IncludeInternalFields() pulumi.BoolPtrOutput

Internal field marker of full-text index. Default value: false. Valid value: false: excluding internal fields; true: including internal fields.

func (IndexOutput) MetadataFlag

func (o IndexOutput) MetadataFlag() pulumi.IntPtrOutput

Metadata flag. Default value: 0. Valid value: 0: full-text index (including the metadata field with key-value index enabled); 1: full-text index (including all metadata fields); 2: full-text index (excluding metadata fields)..

func (IndexOutput) Rule

func (o IndexOutput) Rule() IndexRuleOutput

Index rule.

func (IndexOutput) Status

func (o IndexOutput) Status() pulumi.BoolOutput

Whether to take effect. Default value: true.

func (IndexOutput) ToIndexOutput

func (o IndexOutput) ToIndexOutput() IndexOutput

func (IndexOutput) ToIndexOutputWithContext

func (o IndexOutput) ToIndexOutputWithContext(ctx context.Context) IndexOutput

func (IndexOutput) TopicId

func (o IndexOutput) TopicId() pulumi.StringOutput

Log topic ID.

type IndexRule

type IndexRule struct {
	// Full-Text index configuration.
	FullText *IndexRuleFullText `pulumi:"fullText"`
	// Key-Value index configuration.
	KeyValue *IndexRuleKeyValue `pulumi:"keyValue"`
	// Metafield index configuration.
	Tag *IndexRuleTag `pulumi:"tag"`
}

type IndexRuleArgs

type IndexRuleArgs struct {
	// Full-Text index configuration.
	FullText IndexRuleFullTextPtrInput `pulumi:"fullText"`
	// Key-Value index configuration.
	KeyValue IndexRuleKeyValuePtrInput `pulumi:"keyValue"`
	// Metafield index configuration.
	Tag IndexRuleTagPtrInput `pulumi:"tag"`
}

func (IndexRuleArgs) ElementType

func (IndexRuleArgs) ElementType() reflect.Type

func (IndexRuleArgs) ToIndexRuleOutput

func (i IndexRuleArgs) ToIndexRuleOutput() IndexRuleOutput

func (IndexRuleArgs) ToIndexRuleOutputWithContext

func (i IndexRuleArgs) ToIndexRuleOutputWithContext(ctx context.Context) IndexRuleOutput

func (IndexRuleArgs) ToIndexRulePtrOutput

func (i IndexRuleArgs) ToIndexRulePtrOutput() IndexRulePtrOutput

func (IndexRuleArgs) ToIndexRulePtrOutputWithContext

func (i IndexRuleArgs) ToIndexRulePtrOutputWithContext(ctx context.Context) IndexRulePtrOutput

type IndexRuleFullText

type IndexRuleFullText struct {
	// Case sensitivity.
	CaseSensitive bool `pulumi:"caseSensitive"`
	// Whether Chinese characters are contained.
	ContainZH bool `pulumi:"containZH"`
	// Full-Text index delimiter. Each character in the string represents a delimiter.
	Tokenizer string `pulumi:"tokenizer"`
}

type IndexRuleFullTextArgs

type IndexRuleFullTextArgs struct {
	// Case sensitivity.
	CaseSensitive pulumi.BoolInput `pulumi:"caseSensitive"`
	// Whether Chinese characters are contained.
	ContainZH pulumi.BoolInput `pulumi:"containZH"`
	// Full-Text index delimiter. Each character in the string represents a delimiter.
	Tokenizer pulumi.StringInput `pulumi:"tokenizer"`
}

func (IndexRuleFullTextArgs) ElementType

func (IndexRuleFullTextArgs) ElementType() reflect.Type

func (IndexRuleFullTextArgs) ToIndexRuleFullTextOutput

func (i IndexRuleFullTextArgs) ToIndexRuleFullTextOutput() IndexRuleFullTextOutput

func (IndexRuleFullTextArgs) ToIndexRuleFullTextOutputWithContext

func (i IndexRuleFullTextArgs) ToIndexRuleFullTextOutputWithContext(ctx context.Context) IndexRuleFullTextOutput

func (IndexRuleFullTextArgs) ToIndexRuleFullTextPtrOutput

func (i IndexRuleFullTextArgs) ToIndexRuleFullTextPtrOutput() IndexRuleFullTextPtrOutput

func (IndexRuleFullTextArgs) ToIndexRuleFullTextPtrOutputWithContext

func (i IndexRuleFullTextArgs) ToIndexRuleFullTextPtrOutputWithContext(ctx context.Context) IndexRuleFullTextPtrOutput

type IndexRuleFullTextInput

type IndexRuleFullTextInput interface {
	pulumi.Input

	ToIndexRuleFullTextOutput() IndexRuleFullTextOutput
	ToIndexRuleFullTextOutputWithContext(context.Context) IndexRuleFullTextOutput
}

IndexRuleFullTextInput is an input type that accepts IndexRuleFullTextArgs and IndexRuleFullTextOutput values. You can construct a concrete instance of `IndexRuleFullTextInput` via:

IndexRuleFullTextArgs{...}

type IndexRuleFullTextOutput

type IndexRuleFullTextOutput struct{ *pulumi.OutputState }

func (IndexRuleFullTextOutput) CaseSensitive

func (o IndexRuleFullTextOutput) CaseSensitive() pulumi.BoolOutput

Case sensitivity.

func (IndexRuleFullTextOutput) ContainZH

Whether Chinese characters are contained.

func (IndexRuleFullTextOutput) ElementType

func (IndexRuleFullTextOutput) ElementType() reflect.Type

func (IndexRuleFullTextOutput) ToIndexRuleFullTextOutput

func (o IndexRuleFullTextOutput) ToIndexRuleFullTextOutput() IndexRuleFullTextOutput

func (IndexRuleFullTextOutput) ToIndexRuleFullTextOutputWithContext

func (o IndexRuleFullTextOutput) ToIndexRuleFullTextOutputWithContext(ctx context.Context) IndexRuleFullTextOutput

func (IndexRuleFullTextOutput) ToIndexRuleFullTextPtrOutput

func (o IndexRuleFullTextOutput) ToIndexRuleFullTextPtrOutput() IndexRuleFullTextPtrOutput

func (IndexRuleFullTextOutput) ToIndexRuleFullTextPtrOutputWithContext

func (o IndexRuleFullTextOutput) ToIndexRuleFullTextPtrOutputWithContext(ctx context.Context) IndexRuleFullTextPtrOutput

func (IndexRuleFullTextOutput) Tokenizer

Full-Text index delimiter. Each character in the string represents a delimiter.

type IndexRuleFullTextPtrInput

type IndexRuleFullTextPtrInput interface {
	pulumi.Input

	ToIndexRuleFullTextPtrOutput() IndexRuleFullTextPtrOutput
	ToIndexRuleFullTextPtrOutputWithContext(context.Context) IndexRuleFullTextPtrOutput
}

IndexRuleFullTextPtrInput is an input type that accepts IndexRuleFullTextArgs, IndexRuleFullTextPtr and IndexRuleFullTextPtrOutput values. You can construct a concrete instance of `IndexRuleFullTextPtrInput` via:

        IndexRuleFullTextArgs{...}

or:

        nil

type IndexRuleFullTextPtrOutput

type IndexRuleFullTextPtrOutput struct{ *pulumi.OutputState }

func (IndexRuleFullTextPtrOutput) CaseSensitive

Case sensitivity.

func (IndexRuleFullTextPtrOutput) ContainZH

Whether Chinese characters are contained.

func (IndexRuleFullTextPtrOutput) Elem

func (IndexRuleFullTextPtrOutput) ElementType

func (IndexRuleFullTextPtrOutput) ElementType() reflect.Type

func (IndexRuleFullTextPtrOutput) ToIndexRuleFullTextPtrOutput

func (o IndexRuleFullTextPtrOutput) ToIndexRuleFullTextPtrOutput() IndexRuleFullTextPtrOutput

func (IndexRuleFullTextPtrOutput) ToIndexRuleFullTextPtrOutputWithContext

func (o IndexRuleFullTextPtrOutput) ToIndexRuleFullTextPtrOutputWithContext(ctx context.Context) IndexRuleFullTextPtrOutput

func (IndexRuleFullTextPtrOutput) Tokenizer

Full-Text index delimiter. Each character in the string represents a delimiter.

type IndexRuleInput

type IndexRuleInput interface {
	pulumi.Input

	ToIndexRuleOutput() IndexRuleOutput
	ToIndexRuleOutputWithContext(context.Context) IndexRuleOutput
}

IndexRuleInput is an input type that accepts IndexRuleArgs and IndexRuleOutput values. You can construct a concrete instance of `IndexRuleInput` via:

IndexRuleArgs{...}

type IndexRuleKeyValue

type IndexRuleKeyValue struct {
	// Case sensitivity.
	CaseSensitive bool `pulumi:"caseSensitive"`
	// Key-Value pair information of the index to be created. Up to 100 key-value pairs can be configured.
	KeyValues []IndexRuleKeyValueKeyValue `pulumi:"keyValues"`
}

type IndexRuleKeyValueArgs

type IndexRuleKeyValueArgs struct {
	// Case sensitivity.
	CaseSensitive pulumi.BoolInput `pulumi:"caseSensitive"`
	// Key-Value pair information of the index to be created. Up to 100 key-value pairs can be configured.
	KeyValues IndexRuleKeyValueKeyValueArrayInput `pulumi:"keyValues"`
}

func (IndexRuleKeyValueArgs) ElementType

func (IndexRuleKeyValueArgs) ElementType() reflect.Type

func (IndexRuleKeyValueArgs) ToIndexRuleKeyValueOutput

func (i IndexRuleKeyValueArgs) ToIndexRuleKeyValueOutput() IndexRuleKeyValueOutput

func (IndexRuleKeyValueArgs) ToIndexRuleKeyValueOutputWithContext

func (i IndexRuleKeyValueArgs) ToIndexRuleKeyValueOutputWithContext(ctx context.Context) IndexRuleKeyValueOutput

func (IndexRuleKeyValueArgs) ToIndexRuleKeyValuePtrOutput

func (i IndexRuleKeyValueArgs) ToIndexRuleKeyValuePtrOutput() IndexRuleKeyValuePtrOutput

func (IndexRuleKeyValueArgs) ToIndexRuleKeyValuePtrOutputWithContext

func (i IndexRuleKeyValueArgs) ToIndexRuleKeyValuePtrOutputWithContext(ctx context.Context) IndexRuleKeyValuePtrOutput

type IndexRuleKeyValueInput

type IndexRuleKeyValueInput interface {
	pulumi.Input

	ToIndexRuleKeyValueOutput() IndexRuleKeyValueOutput
	ToIndexRuleKeyValueOutputWithContext(context.Context) IndexRuleKeyValueOutput
}

IndexRuleKeyValueInput is an input type that accepts IndexRuleKeyValueArgs and IndexRuleKeyValueOutput values. You can construct a concrete instance of `IndexRuleKeyValueInput` via:

IndexRuleKeyValueArgs{...}

type IndexRuleKeyValueKeyValue

type IndexRuleKeyValueKeyValue struct {
	// When a key value or metafield index needs to be configured for a field, the metafield Key does not need to be prefixed with __TAG__. and is consistent with the one when logs are uploaded. __TAG__. will be prefixed automatically for display in the console..
	Key string `pulumi:"key"`
	// Field index description information.
	Value *IndexRuleKeyValueKeyValueValue `pulumi:"value"`
}

type IndexRuleKeyValueKeyValueArgs

type IndexRuleKeyValueKeyValueArgs struct {
	// When a key value or metafield index needs to be configured for a field, the metafield Key does not need to be prefixed with __TAG__. and is consistent with the one when logs are uploaded. __TAG__. will be prefixed automatically for display in the console..
	Key pulumi.StringInput `pulumi:"key"`
	// Field index description information.
	Value IndexRuleKeyValueKeyValueValuePtrInput `pulumi:"value"`
}

func (IndexRuleKeyValueKeyValueArgs) ElementType

func (IndexRuleKeyValueKeyValueArgs) ToIndexRuleKeyValueKeyValueOutput

func (i IndexRuleKeyValueKeyValueArgs) ToIndexRuleKeyValueKeyValueOutput() IndexRuleKeyValueKeyValueOutput

func (IndexRuleKeyValueKeyValueArgs) ToIndexRuleKeyValueKeyValueOutputWithContext

func (i IndexRuleKeyValueKeyValueArgs) ToIndexRuleKeyValueKeyValueOutputWithContext(ctx context.Context) IndexRuleKeyValueKeyValueOutput

type IndexRuleKeyValueKeyValueArray

type IndexRuleKeyValueKeyValueArray []IndexRuleKeyValueKeyValueInput

func (IndexRuleKeyValueKeyValueArray) ElementType

func (IndexRuleKeyValueKeyValueArray) ToIndexRuleKeyValueKeyValueArrayOutput

func (i IndexRuleKeyValueKeyValueArray) ToIndexRuleKeyValueKeyValueArrayOutput() IndexRuleKeyValueKeyValueArrayOutput

func (IndexRuleKeyValueKeyValueArray) ToIndexRuleKeyValueKeyValueArrayOutputWithContext

func (i IndexRuleKeyValueKeyValueArray) ToIndexRuleKeyValueKeyValueArrayOutputWithContext(ctx context.Context) IndexRuleKeyValueKeyValueArrayOutput

type IndexRuleKeyValueKeyValueArrayInput

type IndexRuleKeyValueKeyValueArrayInput interface {
	pulumi.Input

	ToIndexRuleKeyValueKeyValueArrayOutput() IndexRuleKeyValueKeyValueArrayOutput
	ToIndexRuleKeyValueKeyValueArrayOutputWithContext(context.Context) IndexRuleKeyValueKeyValueArrayOutput
}

IndexRuleKeyValueKeyValueArrayInput is an input type that accepts IndexRuleKeyValueKeyValueArray and IndexRuleKeyValueKeyValueArrayOutput values. You can construct a concrete instance of `IndexRuleKeyValueKeyValueArrayInput` via:

IndexRuleKeyValueKeyValueArray{ IndexRuleKeyValueKeyValueArgs{...} }

type IndexRuleKeyValueKeyValueArrayOutput

type IndexRuleKeyValueKeyValueArrayOutput struct{ *pulumi.OutputState }

func (IndexRuleKeyValueKeyValueArrayOutput) ElementType

func (IndexRuleKeyValueKeyValueArrayOutput) Index

func (IndexRuleKeyValueKeyValueArrayOutput) ToIndexRuleKeyValueKeyValueArrayOutput

func (o IndexRuleKeyValueKeyValueArrayOutput) ToIndexRuleKeyValueKeyValueArrayOutput() IndexRuleKeyValueKeyValueArrayOutput

func (IndexRuleKeyValueKeyValueArrayOutput) ToIndexRuleKeyValueKeyValueArrayOutputWithContext

func (o IndexRuleKeyValueKeyValueArrayOutput) ToIndexRuleKeyValueKeyValueArrayOutputWithContext(ctx context.Context) IndexRuleKeyValueKeyValueArrayOutput

type IndexRuleKeyValueKeyValueInput

type IndexRuleKeyValueKeyValueInput interface {
	pulumi.Input

	ToIndexRuleKeyValueKeyValueOutput() IndexRuleKeyValueKeyValueOutput
	ToIndexRuleKeyValueKeyValueOutputWithContext(context.Context) IndexRuleKeyValueKeyValueOutput
}

IndexRuleKeyValueKeyValueInput is an input type that accepts IndexRuleKeyValueKeyValueArgs and IndexRuleKeyValueKeyValueOutput values. You can construct a concrete instance of `IndexRuleKeyValueKeyValueInput` via:

IndexRuleKeyValueKeyValueArgs{...}

type IndexRuleKeyValueKeyValueOutput

type IndexRuleKeyValueKeyValueOutput struct{ *pulumi.OutputState }

func (IndexRuleKeyValueKeyValueOutput) ElementType

func (IndexRuleKeyValueKeyValueOutput) Key

When a key value or metafield index needs to be configured for a field, the metafield Key does not need to be prefixed with __TAG__. and is consistent with the one when logs are uploaded. __TAG__. will be prefixed automatically for display in the console..

func (IndexRuleKeyValueKeyValueOutput) ToIndexRuleKeyValueKeyValueOutput

func (o IndexRuleKeyValueKeyValueOutput) ToIndexRuleKeyValueKeyValueOutput() IndexRuleKeyValueKeyValueOutput

func (IndexRuleKeyValueKeyValueOutput) ToIndexRuleKeyValueKeyValueOutputWithContext

func (o IndexRuleKeyValueKeyValueOutput) ToIndexRuleKeyValueKeyValueOutputWithContext(ctx context.Context) IndexRuleKeyValueKeyValueOutput

func (IndexRuleKeyValueKeyValueOutput) Value

Field index description information.

type IndexRuleKeyValueKeyValueValue

type IndexRuleKeyValueKeyValueValue struct {
	// Whether Chinese characters are contained.
	ContainZH *bool `pulumi:"containZH"`
	// Whether the analysis feature is enabled for the field.
	SqlFlag *bool `pulumi:"sqlFlag"`
	// Field delimiter, which is meaningful only if the field type is text. Each character in the entered string represents a delimiter.
	Tokenizer *string `pulumi:"tokenizer"`
	// Field type. Valid values: long, text, double.
	Type string `pulumi:"type"`
}

type IndexRuleKeyValueKeyValueValueArgs

type IndexRuleKeyValueKeyValueValueArgs struct {
	// Whether Chinese characters are contained.
	ContainZH pulumi.BoolPtrInput `pulumi:"containZH"`
	// Whether the analysis feature is enabled for the field.
	SqlFlag pulumi.BoolPtrInput `pulumi:"sqlFlag"`
	// Field delimiter, which is meaningful only if the field type is text. Each character in the entered string represents a delimiter.
	Tokenizer pulumi.StringPtrInput `pulumi:"tokenizer"`
	// Field type. Valid values: long, text, double.
	Type pulumi.StringInput `pulumi:"type"`
}

func (IndexRuleKeyValueKeyValueValueArgs) ElementType

func (IndexRuleKeyValueKeyValueValueArgs) ToIndexRuleKeyValueKeyValueValueOutput

func (i IndexRuleKeyValueKeyValueValueArgs) ToIndexRuleKeyValueKeyValueValueOutput() IndexRuleKeyValueKeyValueValueOutput

func (IndexRuleKeyValueKeyValueValueArgs) ToIndexRuleKeyValueKeyValueValueOutputWithContext

func (i IndexRuleKeyValueKeyValueValueArgs) ToIndexRuleKeyValueKeyValueValueOutputWithContext(ctx context.Context) IndexRuleKeyValueKeyValueValueOutput

func (IndexRuleKeyValueKeyValueValueArgs) ToIndexRuleKeyValueKeyValueValuePtrOutput

func (i IndexRuleKeyValueKeyValueValueArgs) ToIndexRuleKeyValueKeyValueValuePtrOutput() IndexRuleKeyValueKeyValueValuePtrOutput

func (IndexRuleKeyValueKeyValueValueArgs) ToIndexRuleKeyValueKeyValueValuePtrOutputWithContext

func (i IndexRuleKeyValueKeyValueValueArgs) ToIndexRuleKeyValueKeyValueValuePtrOutputWithContext(ctx context.Context) IndexRuleKeyValueKeyValueValuePtrOutput

type IndexRuleKeyValueKeyValueValueInput

type IndexRuleKeyValueKeyValueValueInput interface {
	pulumi.Input

	ToIndexRuleKeyValueKeyValueValueOutput() IndexRuleKeyValueKeyValueValueOutput
	ToIndexRuleKeyValueKeyValueValueOutputWithContext(context.Context) IndexRuleKeyValueKeyValueValueOutput
}

IndexRuleKeyValueKeyValueValueInput is an input type that accepts IndexRuleKeyValueKeyValueValueArgs and IndexRuleKeyValueKeyValueValueOutput values. You can construct a concrete instance of `IndexRuleKeyValueKeyValueValueInput` via:

IndexRuleKeyValueKeyValueValueArgs{...}

type IndexRuleKeyValueKeyValueValueOutput

type IndexRuleKeyValueKeyValueValueOutput struct{ *pulumi.OutputState }

func (IndexRuleKeyValueKeyValueValueOutput) ContainZH

Whether Chinese characters are contained.

func (IndexRuleKeyValueKeyValueValueOutput) ElementType

func (IndexRuleKeyValueKeyValueValueOutput) SqlFlag

Whether the analysis feature is enabled for the field.

func (IndexRuleKeyValueKeyValueValueOutput) ToIndexRuleKeyValueKeyValueValueOutput

func (o IndexRuleKeyValueKeyValueValueOutput) ToIndexRuleKeyValueKeyValueValueOutput() IndexRuleKeyValueKeyValueValueOutput

func (IndexRuleKeyValueKeyValueValueOutput) ToIndexRuleKeyValueKeyValueValueOutputWithContext

func (o IndexRuleKeyValueKeyValueValueOutput) ToIndexRuleKeyValueKeyValueValueOutputWithContext(ctx context.Context) IndexRuleKeyValueKeyValueValueOutput

func (IndexRuleKeyValueKeyValueValueOutput) ToIndexRuleKeyValueKeyValueValuePtrOutput

func (o IndexRuleKeyValueKeyValueValueOutput) ToIndexRuleKeyValueKeyValueValuePtrOutput() IndexRuleKeyValueKeyValueValuePtrOutput

func (IndexRuleKeyValueKeyValueValueOutput) ToIndexRuleKeyValueKeyValueValuePtrOutputWithContext

func (o IndexRuleKeyValueKeyValueValueOutput) ToIndexRuleKeyValueKeyValueValuePtrOutputWithContext(ctx context.Context) IndexRuleKeyValueKeyValueValuePtrOutput

func (IndexRuleKeyValueKeyValueValueOutput) Tokenizer

Field delimiter, which is meaningful only if the field type is text. Each character in the entered string represents a delimiter.

func (IndexRuleKeyValueKeyValueValueOutput) Type

Field type. Valid values: long, text, double.

type IndexRuleKeyValueKeyValueValuePtrInput

type IndexRuleKeyValueKeyValueValuePtrInput interface {
	pulumi.Input

	ToIndexRuleKeyValueKeyValueValuePtrOutput() IndexRuleKeyValueKeyValueValuePtrOutput
	ToIndexRuleKeyValueKeyValueValuePtrOutputWithContext(context.Context) IndexRuleKeyValueKeyValueValuePtrOutput
}

IndexRuleKeyValueKeyValueValuePtrInput is an input type that accepts IndexRuleKeyValueKeyValueValueArgs, IndexRuleKeyValueKeyValueValuePtr and IndexRuleKeyValueKeyValueValuePtrOutput values. You can construct a concrete instance of `IndexRuleKeyValueKeyValueValuePtrInput` via:

        IndexRuleKeyValueKeyValueValueArgs{...}

or:

        nil

type IndexRuleKeyValueKeyValueValuePtrOutput

type IndexRuleKeyValueKeyValueValuePtrOutput struct{ *pulumi.OutputState }

func (IndexRuleKeyValueKeyValueValuePtrOutput) ContainZH

Whether Chinese characters are contained.

func (IndexRuleKeyValueKeyValueValuePtrOutput) Elem

func (IndexRuleKeyValueKeyValueValuePtrOutput) ElementType

func (IndexRuleKeyValueKeyValueValuePtrOutput) SqlFlag

Whether the analysis feature is enabled for the field.

func (IndexRuleKeyValueKeyValueValuePtrOutput) ToIndexRuleKeyValueKeyValueValuePtrOutput

func (o IndexRuleKeyValueKeyValueValuePtrOutput) ToIndexRuleKeyValueKeyValueValuePtrOutput() IndexRuleKeyValueKeyValueValuePtrOutput

func (IndexRuleKeyValueKeyValueValuePtrOutput) ToIndexRuleKeyValueKeyValueValuePtrOutputWithContext

func (o IndexRuleKeyValueKeyValueValuePtrOutput) ToIndexRuleKeyValueKeyValueValuePtrOutputWithContext(ctx context.Context) IndexRuleKeyValueKeyValueValuePtrOutput

func (IndexRuleKeyValueKeyValueValuePtrOutput) Tokenizer

Field delimiter, which is meaningful only if the field type is text. Each character in the entered string represents a delimiter.

func (IndexRuleKeyValueKeyValueValuePtrOutput) Type

Field type. Valid values: long, text, double.

type IndexRuleKeyValueOutput

type IndexRuleKeyValueOutput struct{ *pulumi.OutputState }

func (IndexRuleKeyValueOutput) CaseSensitive

func (o IndexRuleKeyValueOutput) CaseSensitive() pulumi.BoolOutput

Case sensitivity.

func (IndexRuleKeyValueOutput) ElementType

func (IndexRuleKeyValueOutput) ElementType() reflect.Type

func (IndexRuleKeyValueOutput) KeyValues

Key-Value pair information of the index to be created. Up to 100 key-value pairs can be configured.

func (IndexRuleKeyValueOutput) ToIndexRuleKeyValueOutput

func (o IndexRuleKeyValueOutput) ToIndexRuleKeyValueOutput() IndexRuleKeyValueOutput

func (IndexRuleKeyValueOutput) ToIndexRuleKeyValueOutputWithContext

func (o IndexRuleKeyValueOutput) ToIndexRuleKeyValueOutputWithContext(ctx context.Context) IndexRuleKeyValueOutput

func (IndexRuleKeyValueOutput) ToIndexRuleKeyValuePtrOutput

func (o IndexRuleKeyValueOutput) ToIndexRuleKeyValuePtrOutput() IndexRuleKeyValuePtrOutput

func (IndexRuleKeyValueOutput) ToIndexRuleKeyValuePtrOutputWithContext

func (o IndexRuleKeyValueOutput) ToIndexRuleKeyValuePtrOutputWithContext(ctx context.Context) IndexRuleKeyValuePtrOutput

type IndexRuleKeyValuePtrInput

type IndexRuleKeyValuePtrInput interface {
	pulumi.Input

	ToIndexRuleKeyValuePtrOutput() IndexRuleKeyValuePtrOutput
	ToIndexRuleKeyValuePtrOutputWithContext(context.Context) IndexRuleKeyValuePtrOutput
}

IndexRuleKeyValuePtrInput is an input type that accepts IndexRuleKeyValueArgs, IndexRuleKeyValuePtr and IndexRuleKeyValuePtrOutput values. You can construct a concrete instance of `IndexRuleKeyValuePtrInput` via:

        IndexRuleKeyValueArgs{...}

or:

        nil

type IndexRuleKeyValuePtrOutput

type IndexRuleKeyValuePtrOutput struct{ *pulumi.OutputState }

func (IndexRuleKeyValuePtrOutput) CaseSensitive

Case sensitivity.

func (IndexRuleKeyValuePtrOutput) Elem

func (IndexRuleKeyValuePtrOutput) ElementType

func (IndexRuleKeyValuePtrOutput) ElementType() reflect.Type

func (IndexRuleKeyValuePtrOutput) KeyValues

Key-Value pair information of the index to be created. Up to 100 key-value pairs can be configured.

func (IndexRuleKeyValuePtrOutput) ToIndexRuleKeyValuePtrOutput

func (o IndexRuleKeyValuePtrOutput) ToIndexRuleKeyValuePtrOutput() IndexRuleKeyValuePtrOutput

func (IndexRuleKeyValuePtrOutput) ToIndexRuleKeyValuePtrOutputWithContext

func (o IndexRuleKeyValuePtrOutput) ToIndexRuleKeyValuePtrOutputWithContext(ctx context.Context) IndexRuleKeyValuePtrOutput

type IndexRuleOutput

type IndexRuleOutput struct{ *pulumi.OutputState }

func (IndexRuleOutput) ElementType

func (IndexRuleOutput) ElementType() reflect.Type

func (IndexRuleOutput) FullText

Full-Text index configuration.

func (IndexRuleOutput) KeyValue

Key-Value index configuration.

func (IndexRuleOutput) Tag

Metafield index configuration.

func (IndexRuleOutput) ToIndexRuleOutput

func (o IndexRuleOutput) ToIndexRuleOutput() IndexRuleOutput

func (IndexRuleOutput) ToIndexRuleOutputWithContext

func (o IndexRuleOutput) ToIndexRuleOutputWithContext(ctx context.Context) IndexRuleOutput

func (IndexRuleOutput) ToIndexRulePtrOutput

func (o IndexRuleOutput) ToIndexRulePtrOutput() IndexRulePtrOutput

func (IndexRuleOutput) ToIndexRulePtrOutputWithContext

func (o IndexRuleOutput) ToIndexRulePtrOutputWithContext(ctx context.Context) IndexRulePtrOutput

type IndexRulePtrInput

type IndexRulePtrInput interface {
	pulumi.Input

	ToIndexRulePtrOutput() IndexRulePtrOutput
	ToIndexRulePtrOutputWithContext(context.Context) IndexRulePtrOutput
}

IndexRulePtrInput is an input type that accepts IndexRuleArgs, IndexRulePtr and IndexRulePtrOutput values. You can construct a concrete instance of `IndexRulePtrInput` via:

        IndexRuleArgs{...}

or:

        nil

func IndexRulePtr

func IndexRulePtr(v *IndexRuleArgs) IndexRulePtrInput

type IndexRulePtrOutput

type IndexRulePtrOutput struct{ *pulumi.OutputState }

func (IndexRulePtrOutput) Elem

func (IndexRulePtrOutput) ElementType

func (IndexRulePtrOutput) ElementType() reflect.Type

func (IndexRulePtrOutput) FullText

Full-Text index configuration.

func (IndexRulePtrOutput) KeyValue

Key-Value index configuration.

func (IndexRulePtrOutput) Tag

Metafield index configuration.

func (IndexRulePtrOutput) ToIndexRulePtrOutput

func (o IndexRulePtrOutput) ToIndexRulePtrOutput() IndexRulePtrOutput

func (IndexRulePtrOutput) ToIndexRulePtrOutputWithContext

func (o IndexRulePtrOutput) ToIndexRulePtrOutputWithContext(ctx context.Context) IndexRulePtrOutput

type IndexRuleTag

type IndexRuleTag struct {
	// Case sensitivity.
	CaseSensitive bool `pulumi:"caseSensitive"`
	// Key-Value pair information of the index to be created. Up to 100 key-value pairs can be configured.
	KeyValues []IndexRuleTagKeyValue `pulumi:"keyValues"`
}

type IndexRuleTagArgs

type IndexRuleTagArgs struct {
	// Case sensitivity.
	CaseSensitive pulumi.BoolInput `pulumi:"caseSensitive"`
	// Key-Value pair information of the index to be created. Up to 100 key-value pairs can be configured.
	KeyValues IndexRuleTagKeyValueArrayInput `pulumi:"keyValues"`
}

func (IndexRuleTagArgs) ElementType

func (IndexRuleTagArgs) ElementType() reflect.Type

func (IndexRuleTagArgs) ToIndexRuleTagOutput

func (i IndexRuleTagArgs) ToIndexRuleTagOutput() IndexRuleTagOutput

func (IndexRuleTagArgs) ToIndexRuleTagOutputWithContext

func (i IndexRuleTagArgs) ToIndexRuleTagOutputWithContext(ctx context.Context) IndexRuleTagOutput

func (IndexRuleTagArgs) ToIndexRuleTagPtrOutput

func (i IndexRuleTagArgs) ToIndexRuleTagPtrOutput() IndexRuleTagPtrOutput

func (IndexRuleTagArgs) ToIndexRuleTagPtrOutputWithContext

func (i IndexRuleTagArgs) ToIndexRuleTagPtrOutputWithContext(ctx context.Context) IndexRuleTagPtrOutput

type IndexRuleTagInput

type IndexRuleTagInput interface {
	pulumi.Input

	ToIndexRuleTagOutput() IndexRuleTagOutput
	ToIndexRuleTagOutputWithContext(context.Context) IndexRuleTagOutput
}

IndexRuleTagInput is an input type that accepts IndexRuleTagArgs and IndexRuleTagOutput values. You can construct a concrete instance of `IndexRuleTagInput` via:

IndexRuleTagArgs{...}

type IndexRuleTagKeyValue

type IndexRuleTagKeyValue struct {
	// When a key value or metafield index needs to be configured for a field, the metafield Key does not need to be prefixed with __TAG__. and is consistent with the one when logs are uploaded. __TAG__. will be prefixed automatically for display in the console..
	Key string `pulumi:"key"`
	// Field index description information.
	Value *IndexRuleTagKeyValueValue `pulumi:"value"`
}

type IndexRuleTagKeyValueArgs

type IndexRuleTagKeyValueArgs struct {
	// When a key value or metafield index needs to be configured for a field, the metafield Key does not need to be prefixed with __TAG__. and is consistent with the one when logs are uploaded. __TAG__. will be prefixed automatically for display in the console..
	Key pulumi.StringInput `pulumi:"key"`
	// Field index description information.
	Value IndexRuleTagKeyValueValuePtrInput `pulumi:"value"`
}

func (IndexRuleTagKeyValueArgs) ElementType

func (IndexRuleTagKeyValueArgs) ElementType() reflect.Type

func (IndexRuleTagKeyValueArgs) ToIndexRuleTagKeyValueOutput

func (i IndexRuleTagKeyValueArgs) ToIndexRuleTagKeyValueOutput() IndexRuleTagKeyValueOutput

func (IndexRuleTagKeyValueArgs) ToIndexRuleTagKeyValueOutputWithContext

func (i IndexRuleTagKeyValueArgs) ToIndexRuleTagKeyValueOutputWithContext(ctx context.Context) IndexRuleTagKeyValueOutput

type IndexRuleTagKeyValueArray

type IndexRuleTagKeyValueArray []IndexRuleTagKeyValueInput

func (IndexRuleTagKeyValueArray) ElementType

func (IndexRuleTagKeyValueArray) ElementType() reflect.Type

func (IndexRuleTagKeyValueArray) ToIndexRuleTagKeyValueArrayOutput

func (i IndexRuleTagKeyValueArray) ToIndexRuleTagKeyValueArrayOutput() IndexRuleTagKeyValueArrayOutput

func (IndexRuleTagKeyValueArray) ToIndexRuleTagKeyValueArrayOutputWithContext

func (i IndexRuleTagKeyValueArray) ToIndexRuleTagKeyValueArrayOutputWithContext(ctx context.Context) IndexRuleTagKeyValueArrayOutput

type IndexRuleTagKeyValueArrayInput

type IndexRuleTagKeyValueArrayInput interface {
	pulumi.Input

	ToIndexRuleTagKeyValueArrayOutput() IndexRuleTagKeyValueArrayOutput
	ToIndexRuleTagKeyValueArrayOutputWithContext(context.Context) IndexRuleTagKeyValueArrayOutput
}

IndexRuleTagKeyValueArrayInput is an input type that accepts IndexRuleTagKeyValueArray and IndexRuleTagKeyValueArrayOutput values. You can construct a concrete instance of `IndexRuleTagKeyValueArrayInput` via:

IndexRuleTagKeyValueArray{ IndexRuleTagKeyValueArgs{...} }

type IndexRuleTagKeyValueArrayOutput

type IndexRuleTagKeyValueArrayOutput struct{ *pulumi.OutputState }

func (IndexRuleTagKeyValueArrayOutput) ElementType

func (IndexRuleTagKeyValueArrayOutput) Index

func (IndexRuleTagKeyValueArrayOutput) ToIndexRuleTagKeyValueArrayOutput

func (o IndexRuleTagKeyValueArrayOutput) ToIndexRuleTagKeyValueArrayOutput() IndexRuleTagKeyValueArrayOutput

func (IndexRuleTagKeyValueArrayOutput) ToIndexRuleTagKeyValueArrayOutputWithContext

func (o IndexRuleTagKeyValueArrayOutput) ToIndexRuleTagKeyValueArrayOutputWithContext(ctx context.Context) IndexRuleTagKeyValueArrayOutput

type IndexRuleTagKeyValueInput

type IndexRuleTagKeyValueInput interface {
	pulumi.Input

	ToIndexRuleTagKeyValueOutput() IndexRuleTagKeyValueOutput
	ToIndexRuleTagKeyValueOutputWithContext(context.Context) IndexRuleTagKeyValueOutput
}

IndexRuleTagKeyValueInput is an input type that accepts IndexRuleTagKeyValueArgs and IndexRuleTagKeyValueOutput values. You can construct a concrete instance of `IndexRuleTagKeyValueInput` via:

IndexRuleTagKeyValueArgs{...}

type IndexRuleTagKeyValueOutput

type IndexRuleTagKeyValueOutput struct{ *pulumi.OutputState }

func (IndexRuleTagKeyValueOutput) ElementType

func (IndexRuleTagKeyValueOutput) ElementType() reflect.Type

func (IndexRuleTagKeyValueOutput) Key

When a key value or metafield index needs to be configured for a field, the metafield Key does not need to be prefixed with __TAG__. and is consistent with the one when logs are uploaded. __TAG__. will be prefixed automatically for display in the console..

func (IndexRuleTagKeyValueOutput) ToIndexRuleTagKeyValueOutput

func (o IndexRuleTagKeyValueOutput) ToIndexRuleTagKeyValueOutput() IndexRuleTagKeyValueOutput

func (IndexRuleTagKeyValueOutput) ToIndexRuleTagKeyValueOutputWithContext

func (o IndexRuleTagKeyValueOutput) ToIndexRuleTagKeyValueOutputWithContext(ctx context.Context) IndexRuleTagKeyValueOutput

func (IndexRuleTagKeyValueOutput) Value

Field index description information.

type IndexRuleTagKeyValueValue

type IndexRuleTagKeyValueValue struct {
	// Whether Chinese characters are contained.
	ContainZH *bool `pulumi:"containZH"`
	// Whether the analysis feature is enabled for the field.
	SqlFlag *bool `pulumi:"sqlFlag"`
	// Field delimiter, which is meaningful only if the field type is text. Each character in the entered string represents a delimiter.
	Tokenizer *string `pulumi:"tokenizer"`
	// Field type. Valid values: long, text, double.
	Type string `pulumi:"type"`
}

type IndexRuleTagKeyValueValueArgs

type IndexRuleTagKeyValueValueArgs struct {
	// Whether Chinese characters are contained.
	ContainZH pulumi.BoolPtrInput `pulumi:"containZH"`
	// Whether the analysis feature is enabled for the field.
	SqlFlag pulumi.BoolPtrInput `pulumi:"sqlFlag"`
	// Field delimiter, which is meaningful only if the field type is text. Each character in the entered string represents a delimiter.
	Tokenizer pulumi.StringPtrInput `pulumi:"tokenizer"`
	// Field type. Valid values: long, text, double.
	Type pulumi.StringInput `pulumi:"type"`
}

func (IndexRuleTagKeyValueValueArgs) ElementType

func (IndexRuleTagKeyValueValueArgs) ToIndexRuleTagKeyValueValueOutput

func (i IndexRuleTagKeyValueValueArgs) ToIndexRuleTagKeyValueValueOutput() IndexRuleTagKeyValueValueOutput

func (IndexRuleTagKeyValueValueArgs) ToIndexRuleTagKeyValueValueOutputWithContext

func (i IndexRuleTagKeyValueValueArgs) ToIndexRuleTagKeyValueValueOutputWithContext(ctx context.Context) IndexRuleTagKeyValueValueOutput

func (IndexRuleTagKeyValueValueArgs) ToIndexRuleTagKeyValueValuePtrOutput

func (i IndexRuleTagKeyValueValueArgs) ToIndexRuleTagKeyValueValuePtrOutput() IndexRuleTagKeyValueValuePtrOutput

func (IndexRuleTagKeyValueValueArgs) ToIndexRuleTagKeyValueValuePtrOutputWithContext

func (i IndexRuleTagKeyValueValueArgs) ToIndexRuleTagKeyValueValuePtrOutputWithContext(ctx context.Context) IndexRuleTagKeyValueValuePtrOutput

type IndexRuleTagKeyValueValueInput

type IndexRuleTagKeyValueValueInput interface {
	pulumi.Input

	ToIndexRuleTagKeyValueValueOutput() IndexRuleTagKeyValueValueOutput
	ToIndexRuleTagKeyValueValueOutputWithContext(context.Context) IndexRuleTagKeyValueValueOutput
}

IndexRuleTagKeyValueValueInput is an input type that accepts IndexRuleTagKeyValueValueArgs and IndexRuleTagKeyValueValueOutput values. You can construct a concrete instance of `IndexRuleTagKeyValueValueInput` via:

IndexRuleTagKeyValueValueArgs{...}

type IndexRuleTagKeyValueValueOutput

type IndexRuleTagKeyValueValueOutput struct{ *pulumi.OutputState }

func (IndexRuleTagKeyValueValueOutput) ContainZH

Whether Chinese characters are contained.

func (IndexRuleTagKeyValueValueOutput) ElementType

func (IndexRuleTagKeyValueValueOutput) SqlFlag

Whether the analysis feature is enabled for the field.

func (IndexRuleTagKeyValueValueOutput) ToIndexRuleTagKeyValueValueOutput

func (o IndexRuleTagKeyValueValueOutput) ToIndexRuleTagKeyValueValueOutput() IndexRuleTagKeyValueValueOutput

func (IndexRuleTagKeyValueValueOutput) ToIndexRuleTagKeyValueValueOutputWithContext

func (o IndexRuleTagKeyValueValueOutput) ToIndexRuleTagKeyValueValueOutputWithContext(ctx context.Context) IndexRuleTagKeyValueValueOutput

func (IndexRuleTagKeyValueValueOutput) ToIndexRuleTagKeyValueValuePtrOutput

func (o IndexRuleTagKeyValueValueOutput) ToIndexRuleTagKeyValueValuePtrOutput() IndexRuleTagKeyValueValuePtrOutput

func (IndexRuleTagKeyValueValueOutput) ToIndexRuleTagKeyValueValuePtrOutputWithContext

func (o IndexRuleTagKeyValueValueOutput) ToIndexRuleTagKeyValueValuePtrOutputWithContext(ctx context.Context) IndexRuleTagKeyValueValuePtrOutput

func (IndexRuleTagKeyValueValueOutput) Tokenizer

Field delimiter, which is meaningful only if the field type is text. Each character in the entered string represents a delimiter.

func (IndexRuleTagKeyValueValueOutput) Type

Field type. Valid values: long, text, double.

type IndexRuleTagKeyValueValuePtrInput

type IndexRuleTagKeyValueValuePtrInput interface {
	pulumi.Input

	ToIndexRuleTagKeyValueValuePtrOutput() IndexRuleTagKeyValueValuePtrOutput
	ToIndexRuleTagKeyValueValuePtrOutputWithContext(context.Context) IndexRuleTagKeyValueValuePtrOutput
}

IndexRuleTagKeyValueValuePtrInput is an input type that accepts IndexRuleTagKeyValueValueArgs, IndexRuleTagKeyValueValuePtr and IndexRuleTagKeyValueValuePtrOutput values. You can construct a concrete instance of `IndexRuleTagKeyValueValuePtrInput` via:

        IndexRuleTagKeyValueValueArgs{...}

or:

        nil

type IndexRuleTagKeyValueValuePtrOutput

type IndexRuleTagKeyValueValuePtrOutput struct{ *pulumi.OutputState }

func (IndexRuleTagKeyValueValuePtrOutput) ContainZH

Whether Chinese characters are contained.

func (IndexRuleTagKeyValueValuePtrOutput) Elem

func (IndexRuleTagKeyValueValuePtrOutput) ElementType

func (IndexRuleTagKeyValueValuePtrOutput) SqlFlag

Whether the analysis feature is enabled for the field.

func (IndexRuleTagKeyValueValuePtrOutput) ToIndexRuleTagKeyValueValuePtrOutput

func (o IndexRuleTagKeyValueValuePtrOutput) ToIndexRuleTagKeyValueValuePtrOutput() IndexRuleTagKeyValueValuePtrOutput

func (IndexRuleTagKeyValueValuePtrOutput) ToIndexRuleTagKeyValueValuePtrOutputWithContext

func (o IndexRuleTagKeyValueValuePtrOutput) ToIndexRuleTagKeyValueValuePtrOutputWithContext(ctx context.Context) IndexRuleTagKeyValueValuePtrOutput

func (IndexRuleTagKeyValueValuePtrOutput) Tokenizer

Field delimiter, which is meaningful only if the field type is text. Each character in the entered string represents a delimiter.

func (IndexRuleTagKeyValueValuePtrOutput) Type

Field type. Valid values: long, text, double.

type IndexRuleTagOutput

type IndexRuleTagOutput struct{ *pulumi.OutputState }

func (IndexRuleTagOutput) CaseSensitive

func (o IndexRuleTagOutput) CaseSensitive() pulumi.BoolOutput

Case sensitivity.

func (IndexRuleTagOutput) ElementType

func (IndexRuleTagOutput) ElementType() reflect.Type

func (IndexRuleTagOutput) KeyValues

Key-Value pair information of the index to be created. Up to 100 key-value pairs can be configured.

func (IndexRuleTagOutput) ToIndexRuleTagOutput

func (o IndexRuleTagOutput) ToIndexRuleTagOutput() IndexRuleTagOutput

func (IndexRuleTagOutput) ToIndexRuleTagOutputWithContext

func (o IndexRuleTagOutput) ToIndexRuleTagOutputWithContext(ctx context.Context) IndexRuleTagOutput

func (IndexRuleTagOutput) ToIndexRuleTagPtrOutput

func (o IndexRuleTagOutput) ToIndexRuleTagPtrOutput() IndexRuleTagPtrOutput

func (IndexRuleTagOutput) ToIndexRuleTagPtrOutputWithContext

func (o IndexRuleTagOutput) ToIndexRuleTagPtrOutputWithContext(ctx context.Context) IndexRuleTagPtrOutput

type IndexRuleTagPtrInput

type IndexRuleTagPtrInput interface {
	pulumi.Input

	ToIndexRuleTagPtrOutput() IndexRuleTagPtrOutput
	ToIndexRuleTagPtrOutputWithContext(context.Context) IndexRuleTagPtrOutput
}

IndexRuleTagPtrInput is an input type that accepts IndexRuleTagArgs, IndexRuleTagPtr and IndexRuleTagPtrOutput values. You can construct a concrete instance of `IndexRuleTagPtrInput` via:

        IndexRuleTagArgs{...}

or:

        nil

type IndexRuleTagPtrOutput

type IndexRuleTagPtrOutput struct{ *pulumi.OutputState }

func (IndexRuleTagPtrOutput) CaseSensitive

func (o IndexRuleTagPtrOutput) CaseSensitive() pulumi.BoolPtrOutput

Case sensitivity.

func (IndexRuleTagPtrOutput) Elem

func (IndexRuleTagPtrOutput) ElementType

func (IndexRuleTagPtrOutput) ElementType() reflect.Type

func (IndexRuleTagPtrOutput) KeyValues

Key-Value pair information of the index to be created. Up to 100 key-value pairs can be configured.

func (IndexRuleTagPtrOutput) ToIndexRuleTagPtrOutput

func (o IndexRuleTagPtrOutput) ToIndexRuleTagPtrOutput() IndexRuleTagPtrOutput

func (IndexRuleTagPtrOutput) ToIndexRuleTagPtrOutputWithContext

func (o IndexRuleTagPtrOutput) ToIndexRuleTagPtrOutputWithContext(ctx context.Context) IndexRuleTagPtrOutput

type IndexState

type IndexState struct {
	// Internal field marker of full-text index. Default value: false. Valid value: false: excluding internal fields; true: including internal fields.
	IncludeInternalFields pulumi.BoolPtrInput
	// Metadata flag. Default value: 0. Valid value: 0: full-text index (including the metadata field with key-value index enabled); 1: full-text index (including all metadata fields); 2: full-text index (excluding metadata fields)..
	MetadataFlag pulumi.IntPtrInput
	// Index rule.
	Rule IndexRulePtrInput
	// Whether to take effect. Default value: true.
	Status pulumi.BoolPtrInput
	// Log topic ID.
	TopicId pulumi.StringPtrInput
}

func (IndexState) ElementType

func (IndexState) ElementType() reflect.Type

type Logset

type Logset struct {
	pulumi.CustomResourceState

	// Creation time.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Logset name, which must be unique.
	LogsetName pulumi.StringOutput `pulumi:"logsetName"`
	// If AssumerUin is not empty, it indicates the service provider who creates the logset.
	RoleName pulumi.StringOutput `pulumi:"roleName"`
	// Tag description list. Up to 10 tag key-value pairs are supported and must be unique.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// Number of log topics in logset.
	TopicCount pulumi.IntOutput `pulumi:"topicCount"`
}

Provides a resource to create a cls logset

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Cls"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Cls.NewLogset(ctx, "logset", &Cls.LogsetArgs{
			LogsetName: pulumi.String("logset"),
			Tags: pulumi.AnyMap{
				"test": pulumi.Any("test"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

cls logset can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Cls/logset:Logset logset 5cd3a17e-fb0b-418c-afd7-77b365397426

```

func GetLogset

func GetLogset(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LogsetState, opts ...pulumi.ResourceOption) (*Logset, error)

GetLogset gets an existing Logset 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 NewLogset

func NewLogset(ctx *pulumi.Context,
	name string, args *LogsetArgs, opts ...pulumi.ResourceOption) (*Logset, error)

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

func (*Logset) ElementType

func (*Logset) ElementType() reflect.Type

func (*Logset) ToLogsetOutput

func (i *Logset) ToLogsetOutput() LogsetOutput

func (*Logset) ToLogsetOutputWithContext

func (i *Logset) ToLogsetOutputWithContext(ctx context.Context) LogsetOutput

type LogsetArgs

type LogsetArgs struct {
	// Logset name, which must be unique.
	LogsetName pulumi.StringInput
	// Tag description list. Up to 10 tag key-value pairs are supported and must be unique.
	Tags pulumi.MapInput
}

The set of arguments for constructing a Logset resource.

func (LogsetArgs) ElementType

func (LogsetArgs) ElementType() reflect.Type

type LogsetArray

type LogsetArray []LogsetInput

func (LogsetArray) ElementType

func (LogsetArray) ElementType() reflect.Type

func (LogsetArray) ToLogsetArrayOutput

func (i LogsetArray) ToLogsetArrayOutput() LogsetArrayOutput

func (LogsetArray) ToLogsetArrayOutputWithContext

func (i LogsetArray) ToLogsetArrayOutputWithContext(ctx context.Context) LogsetArrayOutput

type LogsetArrayInput

type LogsetArrayInput interface {
	pulumi.Input

	ToLogsetArrayOutput() LogsetArrayOutput
	ToLogsetArrayOutputWithContext(context.Context) LogsetArrayOutput
}

LogsetArrayInput is an input type that accepts LogsetArray and LogsetArrayOutput values. You can construct a concrete instance of `LogsetArrayInput` via:

LogsetArray{ LogsetArgs{...} }

type LogsetArrayOutput

type LogsetArrayOutput struct{ *pulumi.OutputState }

func (LogsetArrayOutput) ElementType

func (LogsetArrayOutput) ElementType() reflect.Type

func (LogsetArrayOutput) Index

func (LogsetArrayOutput) ToLogsetArrayOutput

func (o LogsetArrayOutput) ToLogsetArrayOutput() LogsetArrayOutput

func (LogsetArrayOutput) ToLogsetArrayOutputWithContext

func (o LogsetArrayOutput) ToLogsetArrayOutputWithContext(ctx context.Context) LogsetArrayOutput

type LogsetInput

type LogsetInput interface {
	pulumi.Input

	ToLogsetOutput() LogsetOutput
	ToLogsetOutputWithContext(ctx context.Context) LogsetOutput
}

type LogsetMap

type LogsetMap map[string]LogsetInput

func (LogsetMap) ElementType

func (LogsetMap) ElementType() reflect.Type

func (LogsetMap) ToLogsetMapOutput

func (i LogsetMap) ToLogsetMapOutput() LogsetMapOutput

func (LogsetMap) ToLogsetMapOutputWithContext

func (i LogsetMap) ToLogsetMapOutputWithContext(ctx context.Context) LogsetMapOutput

type LogsetMapInput

type LogsetMapInput interface {
	pulumi.Input

	ToLogsetMapOutput() LogsetMapOutput
	ToLogsetMapOutputWithContext(context.Context) LogsetMapOutput
}

LogsetMapInput is an input type that accepts LogsetMap and LogsetMapOutput values. You can construct a concrete instance of `LogsetMapInput` via:

LogsetMap{ "key": LogsetArgs{...} }

type LogsetMapOutput

type LogsetMapOutput struct{ *pulumi.OutputState }

func (LogsetMapOutput) ElementType

func (LogsetMapOutput) ElementType() reflect.Type

func (LogsetMapOutput) MapIndex

func (LogsetMapOutput) ToLogsetMapOutput

func (o LogsetMapOutput) ToLogsetMapOutput() LogsetMapOutput

func (LogsetMapOutput) ToLogsetMapOutputWithContext

func (o LogsetMapOutput) ToLogsetMapOutputWithContext(ctx context.Context) LogsetMapOutput

type LogsetOutput

type LogsetOutput struct{ *pulumi.OutputState }

func (LogsetOutput) CreateTime

func (o LogsetOutput) CreateTime() pulumi.StringOutput

Creation time.

func (LogsetOutput) ElementType

func (LogsetOutput) ElementType() reflect.Type

func (LogsetOutput) LogsetName

func (o LogsetOutput) LogsetName() pulumi.StringOutput

Logset name, which must be unique.

func (LogsetOutput) RoleName

func (o LogsetOutput) RoleName() pulumi.StringOutput

If AssumerUin is not empty, it indicates the service provider who creates the logset.

func (LogsetOutput) Tags

func (o LogsetOutput) Tags() pulumi.MapOutput

Tag description list. Up to 10 tag key-value pairs are supported and must be unique.

func (LogsetOutput) ToLogsetOutput

func (o LogsetOutput) ToLogsetOutput() LogsetOutput

func (LogsetOutput) ToLogsetOutputWithContext

func (o LogsetOutput) ToLogsetOutputWithContext(ctx context.Context) LogsetOutput

func (LogsetOutput) TopicCount

func (o LogsetOutput) TopicCount() pulumi.IntOutput

Number of log topics in logset.

type LogsetState

type LogsetState struct {
	// Creation time.
	CreateTime pulumi.StringPtrInput
	// Logset name, which must be unique.
	LogsetName pulumi.StringPtrInput
	// If AssumerUin is not empty, it indicates the service provider who creates the logset.
	RoleName pulumi.StringPtrInput
	// Tag description list. Up to 10 tag key-value pairs are supported and must be unique.
	Tags pulumi.MapInput
	// Number of log topics in logset.
	TopicCount pulumi.IntPtrInput
}

func (LogsetState) ElementType

func (LogsetState) ElementType() reflect.Type

type MachineGroup

type MachineGroup struct {
	pulumi.CustomResourceState

	// Whether to enable automatic update for the machine group.
	AutoUpdate pulumi.BoolPtrOutput `pulumi:"autoUpdate"`
	// Machine group name, which must be unique.
	GroupName pulumi.StringOutput `pulumi:"groupName"`
	// Type of the machine group to be created.
	MachineGroupType MachineGroupMachineGroupTypeOutput `pulumi:"machineGroupType"`
	// Whether to enable the service log to record the logs generated by the LogListener service itself. After it is enabled, the internal logset clsServiceLogging and the loglistener_status, loglistener_alarm, and loglistenerBusiness log topics will be created, which will not incur fees.
	ServiceLogging pulumi.BoolPtrOutput `pulumi:"serviceLogging"`
	// Tag description list. Up to 10 tag key-value pairs are supported and must be unique.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// Update end time. We recommend you update LogListener during off-peak hours.
	UpdateEndTime pulumi.StringPtrOutput `pulumi:"updateEndTime"`
	// pdate start time. We recommend you update LogListener during off-peak hours.
	UpdateStartTime pulumi.StringPtrOutput `pulumi:"updateStartTime"`
}

Provides a resource to create a cls machine group.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Cls"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Cls"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Cls.NewMachineGroup(ctx, "group", &Cls.MachineGroupArgs{
			GroupName: pulumi.String("group"),
			MachineGroupType: &cls.MachineGroupMachineGroupTypeArgs{
				Type: pulumi.String("ip"),
				Values: pulumi.StringArray{
					pulumi.String("192.168.1.1"),
					pulumi.String("192.168.1.2"),
				},
			},
			ServiceLogging: pulumi.Bool(true),
			Tags: pulumi.AnyMap{
				"test": pulumi.Any("test1"),
			},
			UpdateEndTime:   pulumi.String("19:05:40"),
			UpdateStartTime: pulumi.String("17:05:40"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import tencentcloud:Cls/machineGroup:MachineGroup group caf168e7-32cd-4ac6-bf89-1950a760e09c

```

func GetMachineGroup

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

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

func NewMachineGroup

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

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

func (*MachineGroup) ElementType

func (*MachineGroup) ElementType() reflect.Type

func (*MachineGroup) ToMachineGroupOutput

func (i *MachineGroup) ToMachineGroupOutput() MachineGroupOutput

func (*MachineGroup) ToMachineGroupOutputWithContext

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

type MachineGroupArgs

type MachineGroupArgs struct {
	// Whether to enable automatic update for the machine group.
	AutoUpdate pulumi.BoolPtrInput
	// Machine group name, which must be unique.
	GroupName pulumi.StringInput
	// Type of the machine group to be created.
	MachineGroupType MachineGroupMachineGroupTypeInput
	// Whether to enable the service log to record the logs generated by the LogListener service itself. After it is enabled, the internal logset clsServiceLogging and the loglistener_status, loglistener_alarm, and loglistenerBusiness log topics will be created, which will not incur fees.
	ServiceLogging pulumi.BoolPtrInput
	// Tag description list. Up to 10 tag key-value pairs are supported and must be unique.
	Tags pulumi.MapInput
	// Update end time. We recommend you update LogListener during off-peak hours.
	UpdateEndTime pulumi.StringPtrInput
	// pdate start time. We recommend you update LogListener during off-peak hours.
	UpdateStartTime 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 MachineGroupMachineGroupType

type MachineGroupMachineGroupType struct {
	// Machine group type. Valid values: ip: the IP addresses of collection machines are stored in Values of the machine group; label: the tags of the machines are stored in Values of the machine group.
	Type string `pulumi:"type"`
	// Machine description list.
	Values []string `pulumi:"values"`
}

type MachineGroupMachineGroupTypeArgs

type MachineGroupMachineGroupTypeArgs struct {
	// Machine group type. Valid values: ip: the IP addresses of collection machines are stored in Values of the machine group; label: the tags of the machines are stored in Values of the machine group.
	Type pulumi.StringInput `pulumi:"type"`
	// Machine description list.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (MachineGroupMachineGroupTypeArgs) ElementType

func (MachineGroupMachineGroupTypeArgs) ToMachineGroupMachineGroupTypeOutput

func (i MachineGroupMachineGroupTypeArgs) ToMachineGroupMachineGroupTypeOutput() MachineGroupMachineGroupTypeOutput

func (MachineGroupMachineGroupTypeArgs) ToMachineGroupMachineGroupTypeOutputWithContext

func (i MachineGroupMachineGroupTypeArgs) ToMachineGroupMachineGroupTypeOutputWithContext(ctx context.Context) MachineGroupMachineGroupTypeOutput

func (MachineGroupMachineGroupTypeArgs) ToMachineGroupMachineGroupTypePtrOutput

func (i MachineGroupMachineGroupTypeArgs) ToMachineGroupMachineGroupTypePtrOutput() MachineGroupMachineGroupTypePtrOutput

func (MachineGroupMachineGroupTypeArgs) ToMachineGroupMachineGroupTypePtrOutputWithContext

func (i MachineGroupMachineGroupTypeArgs) ToMachineGroupMachineGroupTypePtrOutputWithContext(ctx context.Context) MachineGroupMachineGroupTypePtrOutput

type MachineGroupMachineGroupTypeInput

type MachineGroupMachineGroupTypeInput interface {
	pulumi.Input

	ToMachineGroupMachineGroupTypeOutput() MachineGroupMachineGroupTypeOutput
	ToMachineGroupMachineGroupTypeOutputWithContext(context.Context) MachineGroupMachineGroupTypeOutput
}

MachineGroupMachineGroupTypeInput is an input type that accepts MachineGroupMachineGroupTypeArgs and MachineGroupMachineGroupTypeOutput values. You can construct a concrete instance of `MachineGroupMachineGroupTypeInput` via:

MachineGroupMachineGroupTypeArgs{...}

type MachineGroupMachineGroupTypeOutput

type MachineGroupMachineGroupTypeOutput struct{ *pulumi.OutputState }

func (MachineGroupMachineGroupTypeOutput) ElementType

func (MachineGroupMachineGroupTypeOutput) ToMachineGroupMachineGroupTypeOutput

func (o MachineGroupMachineGroupTypeOutput) ToMachineGroupMachineGroupTypeOutput() MachineGroupMachineGroupTypeOutput

func (MachineGroupMachineGroupTypeOutput) ToMachineGroupMachineGroupTypeOutputWithContext

func (o MachineGroupMachineGroupTypeOutput) ToMachineGroupMachineGroupTypeOutputWithContext(ctx context.Context) MachineGroupMachineGroupTypeOutput

func (MachineGroupMachineGroupTypeOutput) ToMachineGroupMachineGroupTypePtrOutput

func (o MachineGroupMachineGroupTypeOutput) ToMachineGroupMachineGroupTypePtrOutput() MachineGroupMachineGroupTypePtrOutput

func (MachineGroupMachineGroupTypeOutput) ToMachineGroupMachineGroupTypePtrOutputWithContext

func (o MachineGroupMachineGroupTypeOutput) ToMachineGroupMachineGroupTypePtrOutputWithContext(ctx context.Context) MachineGroupMachineGroupTypePtrOutput

func (MachineGroupMachineGroupTypeOutput) Type

Machine group type. Valid values: ip: the IP addresses of collection machines are stored in Values of the machine group; label: the tags of the machines are stored in Values of the machine group.

func (MachineGroupMachineGroupTypeOutput) Values

Machine description list.

type MachineGroupMachineGroupTypePtrInput

type MachineGroupMachineGroupTypePtrInput interface {
	pulumi.Input

	ToMachineGroupMachineGroupTypePtrOutput() MachineGroupMachineGroupTypePtrOutput
	ToMachineGroupMachineGroupTypePtrOutputWithContext(context.Context) MachineGroupMachineGroupTypePtrOutput
}

MachineGroupMachineGroupTypePtrInput is an input type that accepts MachineGroupMachineGroupTypeArgs, MachineGroupMachineGroupTypePtr and MachineGroupMachineGroupTypePtrOutput values. You can construct a concrete instance of `MachineGroupMachineGroupTypePtrInput` via:

        MachineGroupMachineGroupTypeArgs{...}

or:

        nil

type MachineGroupMachineGroupTypePtrOutput

type MachineGroupMachineGroupTypePtrOutput struct{ *pulumi.OutputState }

func (MachineGroupMachineGroupTypePtrOutput) Elem

func (MachineGroupMachineGroupTypePtrOutput) ElementType

func (MachineGroupMachineGroupTypePtrOutput) ToMachineGroupMachineGroupTypePtrOutput

func (o MachineGroupMachineGroupTypePtrOutput) ToMachineGroupMachineGroupTypePtrOutput() MachineGroupMachineGroupTypePtrOutput

func (MachineGroupMachineGroupTypePtrOutput) ToMachineGroupMachineGroupTypePtrOutputWithContext

func (o MachineGroupMachineGroupTypePtrOutput) ToMachineGroupMachineGroupTypePtrOutputWithContext(ctx context.Context) MachineGroupMachineGroupTypePtrOutput

func (MachineGroupMachineGroupTypePtrOutput) Type

Machine group type. Valid values: ip: the IP addresses of collection machines are stored in Values of the machine group; label: the tags of the machines are stored in Values of the machine group.

func (MachineGroupMachineGroupTypePtrOutput) Values

Machine description list.

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

func (o MachineGroupOutput) AutoUpdate() pulumi.BoolPtrOutput

Whether to enable automatic update for the machine group.

func (MachineGroupOutput) ElementType

func (MachineGroupOutput) ElementType() reflect.Type

func (MachineGroupOutput) GroupName

func (o MachineGroupOutput) GroupName() pulumi.StringOutput

Machine group name, which must be unique.

func (MachineGroupOutput) MachineGroupType

Type of the machine group to be created.

func (MachineGroupOutput) ServiceLogging

func (o MachineGroupOutput) ServiceLogging() pulumi.BoolPtrOutput

Whether to enable the service log to record the logs generated by the LogListener service itself. After it is enabled, the internal logset clsServiceLogging and the loglistener_status, loglistener_alarm, and loglistenerBusiness log topics will be created, which will not incur fees.

func (MachineGroupOutput) Tags

Tag description list. Up to 10 tag key-value pairs are supported and must be unique.

func (MachineGroupOutput) ToMachineGroupOutput

func (o MachineGroupOutput) ToMachineGroupOutput() MachineGroupOutput

func (MachineGroupOutput) ToMachineGroupOutputWithContext

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

func (MachineGroupOutput) UpdateEndTime

func (o MachineGroupOutput) UpdateEndTime() pulumi.StringPtrOutput

Update end time. We recommend you update LogListener during off-peak hours.

func (MachineGroupOutput) UpdateStartTime

func (o MachineGroupOutput) UpdateStartTime() pulumi.StringPtrOutput

pdate start time. We recommend you update LogListener during off-peak hours.

type MachineGroupState

type MachineGroupState struct {
	// Whether to enable automatic update for the machine group.
	AutoUpdate pulumi.BoolPtrInput
	// Machine group name, which must be unique.
	GroupName pulumi.StringPtrInput
	// Type of the machine group to be created.
	MachineGroupType MachineGroupMachineGroupTypePtrInput
	// Whether to enable the service log to record the logs generated by the LogListener service itself. After it is enabled, the internal logset clsServiceLogging and the loglistener_status, loglistener_alarm, and loglistenerBusiness log topics will be created, which will not incur fees.
	ServiceLogging pulumi.BoolPtrInput
	// Tag description list. Up to 10 tag key-value pairs are supported and must be unique.
	Tags pulumi.MapInput
	// Update end time. We recommend you update LogListener during off-peak hours.
	UpdateEndTime pulumi.StringPtrInput
	// pdate start time. We recommend you update LogListener during off-peak hours.
	UpdateStartTime pulumi.StringPtrInput
}

func (MachineGroupState) ElementType

func (MachineGroupState) ElementType() reflect.Type

type Topic

type Topic struct {
	pulumi.CustomResourceState

	// Whether to enable automatic split. Default value: true.
	AutoSplit pulumi.BoolOutput `pulumi:"autoSplit"`
	// Logset ID.
	LogsetId pulumi.StringOutput `pulumi:"logsetId"`
	// Maximum number of partitions to split into for this topic if automatic split is enabled. Default value: 50.
	MaxSplitPartitions pulumi.IntOutput `pulumi:"maxSplitPartitions"`
	// Number of log topic partitions. Default value: 1. Maximum value: 10.
	PartitionCount pulumi.IntOutput `pulumi:"partitionCount"`
	// Lifecycle in days. Value range: 1~366. Default value: 30.
	Period pulumi.IntOutput `pulumi:"period"`
	// Log topic storage class. Valid values: hot: real-time storage; cold: offline storage. Default value: hot. If cold is passed in, please contact the customer service to add the log topic to the allowlist first..
	StorageType pulumi.StringOutput `pulumi:"storageType"`
	// Tag description list. Up to 10 tag key-value pairs are supported and must be unique.
	Tags pulumi.MapOutput `pulumi:"tags"`
	// Log topic name.
	TopicName pulumi.StringOutput `pulumi:"topicName"`
}

Provides a resource to create a cls topic.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Cls"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Cls.NewTopic(ctx, "topic", &Cls.TopicArgs{
			AutoSplit:          pulumi.Bool(false),
			LogsetId:           pulumi.String("5cd3a17e-fb0b-418c-afd7-77b365397426"),
			MaxSplitPartitions: pulumi.Int(20),
			PartitionCount:     pulumi.Int(1),
			Period:             pulumi.Int(10),
			StorageType:        pulumi.String("hot"),
			Tags: pulumi.AnyMap{
				"test": pulumi.Any("test"),
			},
			TopicName: pulumi.String("topic"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

cls topic can be imported using the id, e.g.

```sh

$ pulumi import tencentcloud:Cls/topic:Topic topic 2f5764c1-c833-44c5-84c7-950979b2a278

```

func GetTopic

func GetTopic(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TopicState, opts ...pulumi.ResourceOption) (*Topic, error)

GetTopic gets an existing Topic 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 NewTopic

func NewTopic(ctx *pulumi.Context,
	name string, args *TopicArgs, opts ...pulumi.ResourceOption) (*Topic, error)

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

func (*Topic) ElementType

func (*Topic) ElementType() reflect.Type

func (*Topic) ToTopicOutput

func (i *Topic) ToTopicOutput() TopicOutput

func (*Topic) ToTopicOutputWithContext

func (i *Topic) ToTopicOutputWithContext(ctx context.Context) TopicOutput

type TopicArgs

type TopicArgs struct {
	// Whether to enable automatic split. Default value: true.
	AutoSplit pulumi.BoolPtrInput
	// Logset ID.
	LogsetId pulumi.StringInput
	// Maximum number of partitions to split into for this topic if automatic split is enabled. Default value: 50.
	MaxSplitPartitions pulumi.IntPtrInput
	// Number of log topic partitions. Default value: 1. Maximum value: 10.
	PartitionCount pulumi.IntPtrInput
	// Lifecycle in days. Value range: 1~366. Default value: 30.
	Period pulumi.IntPtrInput
	// Log topic storage class. Valid values: hot: real-time storage; cold: offline storage. Default value: hot. If cold is passed in, please contact the customer service to add the log topic to the allowlist first..
	StorageType pulumi.StringPtrInput
	// Tag description list. Up to 10 tag key-value pairs are supported and must be unique.
	Tags pulumi.MapInput
	// Log topic name.
	TopicName pulumi.StringInput
}

The set of arguments for constructing a Topic resource.

func (TopicArgs) ElementType

func (TopicArgs) ElementType() reflect.Type

type TopicArray

type TopicArray []TopicInput

func (TopicArray) ElementType

func (TopicArray) ElementType() reflect.Type

func (TopicArray) ToTopicArrayOutput

func (i TopicArray) ToTopicArrayOutput() TopicArrayOutput

func (TopicArray) ToTopicArrayOutputWithContext

func (i TopicArray) ToTopicArrayOutputWithContext(ctx context.Context) TopicArrayOutput

type TopicArrayInput

type TopicArrayInput interface {
	pulumi.Input

	ToTopicArrayOutput() TopicArrayOutput
	ToTopicArrayOutputWithContext(context.Context) TopicArrayOutput
}

TopicArrayInput is an input type that accepts TopicArray and TopicArrayOutput values. You can construct a concrete instance of `TopicArrayInput` via:

TopicArray{ TopicArgs{...} }

type TopicArrayOutput

type TopicArrayOutput struct{ *pulumi.OutputState }

func (TopicArrayOutput) ElementType

func (TopicArrayOutput) ElementType() reflect.Type

func (TopicArrayOutput) Index

func (TopicArrayOutput) ToTopicArrayOutput

func (o TopicArrayOutput) ToTopicArrayOutput() TopicArrayOutput

func (TopicArrayOutput) ToTopicArrayOutputWithContext

func (o TopicArrayOutput) ToTopicArrayOutputWithContext(ctx context.Context) TopicArrayOutput

type TopicInput

type TopicInput interface {
	pulumi.Input

	ToTopicOutput() TopicOutput
	ToTopicOutputWithContext(ctx context.Context) TopicOutput
}

type TopicMap

type TopicMap map[string]TopicInput

func (TopicMap) ElementType

func (TopicMap) ElementType() reflect.Type

func (TopicMap) ToTopicMapOutput

func (i TopicMap) ToTopicMapOutput() TopicMapOutput

func (TopicMap) ToTopicMapOutputWithContext

func (i TopicMap) ToTopicMapOutputWithContext(ctx context.Context) TopicMapOutput

type TopicMapInput

type TopicMapInput interface {
	pulumi.Input

	ToTopicMapOutput() TopicMapOutput
	ToTopicMapOutputWithContext(context.Context) TopicMapOutput
}

TopicMapInput is an input type that accepts TopicMap and TopicMapOutput values. You can construct a concrete instance of `TopicMapInput` via:

TopicMap{ "key": TopicArgs{...} }

type TopicMapOutput

type TopicMapOutput struct{ *pulumi.OutputState }

func (TopicMapOutput) ElementType

func (TopicMapOutput) ElementType() reflect.Type

func (TopicMapOutput) MapIndex

func (TopicMapOutput) ToTopicMapOutput

func (o TopicMapOutput) ToTopicMapOutput() TopicMapOutput

func (TopicMapOutput) ToTopicMapOutputWithContext

func (o TopicMapOutput) ToTopicMapOutputWithContext(ctx context.Context) TopicMapOutput

type TopicOutput

type TopicOutput struct{ *pulumi.OutputState }

func (TopicOutput) AutoSplit

func (o TopicOutput) AutoSplit() pulumi.BoolOutput

Whether to enable automatic split. Default value: true.

func (TopicOutput) ElementType

func (TopicOutput) ElementType() reflect.Type

func (TopicOutput) LogsetId

func (o TopicOutput) LogsetId() pulumi.StringOutput

Logset ID.

func (TopicOutput) MaxSplitPartitions

func (o TopicOutput) MaxSplitPartitions() pulumi.IntOutput

Maximum number of partitions to split into for this topic if automatic split is enabled. Default value: 50.

func (TopicOutput) PartitionCount

func (o TopicOutput) PartitionCount() pulumi.IntOutput

Number of log topic partitions. Default value: 1. Maximum value: 10.

func (TopicOutput) Period

func (o TopicOutput) Period() pulumi.IntOutput

Lifecycle in days. Value range: 1~366. Default value: 30.

func (TopicOutput) StorageType

func (o TopicOutput) StorageType() pulumi.StringOutput

Log topic storage class. Valid values: hot: real-time storage; cold: offline storage. Default value: hot. If cold is passed in, please contact the customer service to add the log topic to the allowlist first..

func (TopicOutput) Tags

func (o TopicOutput) Tags() pulumi.MapOutput

Tag description list. Up to 10 tag key-value pairs are supported and must be unique.

func (TopicOutput) ToTopicOutput

func (o TopicOutput) ToTopicOutput() TopicOutput

func (TopicOutput) ToTopicOutputWithContext

func (o TopicOutput) ToTopicOutputWithContext(ctx context.Context) TopicOutput

func (TopicOutput) TopicName

func (o TopicOutput) TopicName() pulumi.StringOutput

Log topic name.

type TopicState

type TopicState struct {
	// Whether to enable automatic split. Default value: true.
	AutoSplit pulumi.BoolPtrInput
	// Logset ID.
	LogsetId pulumi.StringPtrInput
	// Maximum number of partitions to split into for this topic if automatic split is enabled. Default value: 50.
	MaxSplitPartitions pulumi.IntPtrInput
	// Number of log topic partitions. Default value: 1. Maximum value: 10.
	PartitionCount pulumi.IntPtrInput
	// Lifecycle in days. Value range: 1~366. Default value: 30.
	Period pulumi.IntPtrInput
	// Log topic storage class. Valid values: hot: real-time storage; cold: offline storage. Default value: hot. If cold is passed in, please contact the customer service to add the log topic to the allowlist first..
	StorageType pulumi.StringPtrInput
	// Tag description list. Up to 10 tag key-value pairs are supported and must be unique.
	Tags pulumi.MapInput
	// Log topic name.
	TopicName pulumi.StringPtrInput
}

func (TopicState) ElementType

func (TopicState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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