1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. LtsHostAccessV3
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.LtsHostAccessV3

Explore with Pulumi AI

Manages an LTS host access resource within OpenTelekomCloud.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";

const config = new pulumi.Config();
const groupId = config.requireObject("groupId");
const streamId = config.requireObject("streamId");
const hostGroupId = config.requireObject("hostGroupId");
const acc = new opentelekomcloud.LtsHostAccessV3("acc", {
    logGroupId: groupId,
    logStreamId: streamId,
    hostGroupIds: [hostGroupId],
    accessConfig: {
        paths: ["/var/log/*"],
        blackPaths: ["/var/log/*/a.log"],
        singleLogFormat: {
            mode: "system",
        },
    },
});
Copy
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud

config = pulumi.Config()
group_id = config.require_object("groupId")
stream_id = config.require_object("streamId")
host_group_id = config.require_object("hostGroupId")
acc = opentelekomcloud.LtsHostAccessV3("acc",
    log_group_id=group_id,
    log_stream_id=stream_id,
    host_group_ids=[host_group_id],
    access_config={
        "paths": ["/var/log/*"],
        "black_paths": ["/var/log/*/a.log"],
        "single_log_format": {
            "mode": "system",
        },
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		groupId := cfg.RequireObject("groupId")
		streamId := cfg.RequireObject("streamId")
		hostGroupId := cfg.RequireObject("hostGroupId")
		_, err := opentelekomcloud.NewLtsHostAccessV3(ctx, "acc", &opentelekomcloud.LtsHostAccessV3Args{
			LogGroupId:  pulumi.Any(groupId),
			LogStreamId: pulumi.Any(streamId),
			HostGroupIds: pulumi.StringArray{
				hostGroupId,
			},
			AccessConfig: &opentelekomcloud.LtsHostAccessV3AccessConfigArgs{
				Paths: pulumi.StringArray{
					pulumi.String("/var/log/*"),
				},
				BlackPaths: pulumi.StringArray{
					pulumi.String("/var/log/*/a.log"),
				},
				SingleLogFormat: &opentelekomcloud.LtsHostAccessV3AccessConfigSingleLogFormatArgs{
					Mode: pulumi.String("system"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var groupId = config.RequireObject<dynamic>("groupId");
    var streamId = config.RequireObject<dynamic>("streamId");
    var hostGroupId = config.RequireObject<dynamic>("hostGroupId");
    var acc = new Opentelekomcloud.LtsHostAccessV3("acc", new()
    {
        LogGroupId = groupId,
        LogStreamId = streamId,
        HostGroupIds = new[]
        {
            hostGroupId,
        },
        AccessConfig = new Opentelekomcloud.Inputs.LtsHostAccessV3AccessConfigArgs
        {
            Paths = new[]
            {
                "/var/log/*",
            },
            BlackPaths = new[]
            {
                "/var/log/*/a.log",
            },
            SingleLogFormat = new Opentelekomcloud.Inputs.LtsHostAccessV3AccessConfigSingleLogFormatArgs
            {
                Mode = "system",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.LtsHostAccessV3;
import com.pulumi.opentelekomcloud.LtsHostAccessV3Args;
import com.pulumi.opentelekomcloud.inputs.LtsHostAccessV3AccessConfigArgs;
import com.pulumi.opentelekomcloud.inputs.LtsHostAccessV3AccessConfigSingleLogFormatArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var config = ctx.config();
        final var groupId = config.get("groupId");
        final var streamId = config.get("streamId");
        final var hostGroupId = config.get("hostGroupId");
        var acc = new LtsHostAccessV3("acc", LtsHostAccessV3Args.builder()
            .logGroupId(groupId)
            .logStreamId(streamId)
            .hostGroupIds(hostGroupId)
            .accessConfig(LtsHostAccessV3AccessConfigArgs.builder()
                .paths("/var/log/*")
                .blackPaths("/var/log/*/a.log")
                .singleLogFormat(LtsHostAccessV3AccessConfigSingleLogFormatArgs.builder()
                    .mode("system")
                    .build())
                .build())
            .build());

    }
}
Copy
configuration:
  groupId:
    type: dynamic
  streamId:
    type: dynamic
  hostGroupId:
    type: dynamic
resources:
  acc:
    type: opentelekomcloud:LtsHostAccessV3
    properties:
      logGroupId: ${groupId}
      logStreamId: ${streamId}
      hostGroupIds:
        - ${hostGroupId}
      accessConfig:
        paths:
          - /var/log/*
        blackPaths:
          - /var/log/*/a.log
        singleLogFormat:
          mode: system
Copy

Create LtsHostAccessV3 Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new LtsHostAccessV3(name: string, args: LtsHostAccessV3Args, opts?: CustomResourceOptions);
@overload
def LtsHostAccessV3(resource_name: str,
                    args: LtsHostAccessV3Args,
                    opts: Optional[ResourceOptions] = None)

@overload
def LtsHostAccessV3(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    access_config: Optional[LtsHostAccessV3AccessConfigArgs] = None,
                    log_group_id: Optional[str] = None,
                    log_stream_id: Optional[str] = None,
                    binary_collect: Optional[bool] = None,
                    host_group_ids: Optional[Sequence[str]] = None,
                    log_split: Optional[bool] = None,
                    lts_host_access_v3_id: Optional[str] = None,
                    name: Optional[str] = None,
                    tags: Optional[Mapping[str, str]] = None)
func NewLtsHostAccessV3(ctx *Context, name string, args LtsHostAccessV3Args, opts ...ResourceOption) (*LtsHostAccessV3, error)
public LtsHostAccessV3(string name, LtsHostAccessV3Args args, CustomResourceOptions? opts = null)
public LtsHostAccessV3(String name, LtsHostAccessV3Args args)
public LtsHostAccessV3(String name, LtsHostAccessV3Args args, CustomResourceOptions options)
type: opentelekomcloud:LtsHostAccessV3
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. LtsHostAccessV3Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. LtsHostAccessV3Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. LtsHostAccessV3Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. LtsHostAccessV3Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. LtsHostAccessV3Args
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var ltsHostAccessV3Resource = new Opentelekomcloud.LtsHostAccessV3("ltsHostAccessV3Resource", new()
{
    AccessConfig = new Opentelekomcloud.Inputs.LtsHostAccessV3AccessConfigArgs
    {
        Paths = new[]
        {
            "string",
        },
        BlackPaths = new[]
        {
            "string",
        },
        MultiLogFormat = new Opentelekomcloud.Inputs.LtsHostAccessV3AccessConfigMultiLogFormatArgs
        {
            Mode = "string",
            Value = "string",
        },
        SingleLogFormat = new Opentelekomcloud.Inputs.LtsHostAccessV3AccessConfigSingleLogFormatArgs
        {
            Mode = "string",
            Value = "string",
        },
        WindowsLogInfo = new Opentelekomcloud.Inputs.LtsHostAccessV3AccessConfigWindowsLogInfoArgs
        {
            Categories = new[]
            {
                "string",
            },
            EventLevels = new[]
            {
                "string",
            },
            TimeOffset = 0,
            TimeOffsetUnit = "string",
        },
    },
    LogGroupId = "string",
    LogStreamId = "string",
    BinaryCollect = false,
    HostGroupIds = new[]
    {
        "string",
    },
    LogSplit = false,
    LtsHostAccessV3Id = "string",
    Name = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := opentelekomcloud.NewLtsHostAccessV3(ctx, "ltsHostAccessV3Resource", &opentelekomcloud.LtsHostAccessV3Args{
	AccessConfig: &opentelekomcloud.LtsHostAccessV3AccessConfigArgs{
		Paths: pulumi.StringArray{
			pulumi.String("string"),
		},
		BlackPaths: pulumi.StringArray{
			pulumi.String("string"),
		},
		MultiLogFormat: &opentelekomcloud.LtsHostAccessV3AccessConfigMultiLogFormatArgs{
			Mode:  pulumi.String("string"),
			Value: pulumi.String("string"),
		},
		SingleLogFormat: &opentelekomcloud.LtsHostAccessV3AccessConfigSingleLogFormatArgs{
			Mode:  pulumi.String("string"),
			Value: pulumi.String("string"),
		},
		WindowsLogInfo: &opentelekomcloud.LtsHostAccessV3AccessConfigWindowsLogInfoArgs{
			Categories: pulumi.StringArray{
				pulumi.String("string"),
			},
			EventLevels: pulumi.StringArray{
				pulumi.String("string"),
			},
			TimeOffset:     pulumi.Float64(0),
			TimeOffsetUnit: pulumi.String("string"),
		},
	},
	LogGroupId:    pulumi.String("string"),
	LogStreamId:   pulumi.String("string"),
	BinaryCollect: pulumi.Bool(false),
	HostGroupIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	LogSplit:          pulumi.Bool(false),
	LtsHostAccessV3Id: pulumi.String("string"),
	Name:              pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var ltsHostAccessV3Resource = new LtsHostAccessV3("ltsHostAccessV3Resource", LtsHostAccessV3Args.builder()
    .accessConfig(LtsHostAccessV3AccessConfigArgs.builder()
        .paths("string")
        .blackPaths("string")
        .multiLogFormat(LtsHostAccessV3AccessConfigMultiLogFormatArgs.builder()
            .mode("string")
            .value("string")
            .build())
        .singleLogFormat(LtsHostAccessV3AccessConfigSingleLogFormatArgs.builder()
            .mode("string")
            .value("string")
            .build())
        .windowsLogInfo(LtsHostAccessV3AccessConfigWindowsLogInfoArgs.builder()
            .categories("string")
            .eventLevels("string")
            .timeOffset(0)
            .timeOffsetUnit("string")
            .build())
        .build())
    .logGroupId("string")
    .logStreamId("string")
    .binaryCollect(false)
    .hostGroupIds("string")
    .logSplit(false)
    .ltsHostAccessV3Id("string")
    .name("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
lts_host_access_v3_resource = opentelekomcloud.LtsHostAccessV3("ltsHostAccessV3Resource",
    access_config={
        "paths": ["string"],
        "black_paths": ["string"],
        "multi_log_format": {
            "mode": "string",
            "value": "string",
        },
        "single_log_format": {
            "mode": "string",
            "value": "string",
        },
        "windows_log_info": {
            "categories": ["string"],
            "event_levels": ["string"],
            "time_offset": 0,
            "time_offset_unit": "string",
        },
    },
    log_group_id="string",
    log_stream_id="string",
    binary_collect=False,
    host_group_ids=["string"],
    log_split=False,
    lts_host_access_v3_id="string",
    name="string",
    tags={
        "string": "string",
    })
Copy
const ltsHostAccessV3Resource = new opentelekomcloud.LtsHostAccessV3("ltsHostAccessV3Resource", {
    accessConfig: {
        paths: ["string"],
        blackPaths: ["string"],
        multiLogFormat: {
            mode: "string",
            value: "string",
        },
        singleLogFormat: {
            mode: "string",
            value: "string",
        },
        windowsLogInfo: {
            categories: ["string"],
            eventLevels: ["string"],
            timeOffset: 0,
            timeOffsetUnit: "string",
        },
    },
    logGroupId: "string",
    logStreamId: "string",
    binaryCollect: false,
    hostGroupIds: ["string"],
    logSplit: false,
    ltsHostAccessV3Id: "string",
    name: "string",
    tags: {
        string: "string",
    },
});
Copy
type: opentelekomcloud:LtsHostAccessV3
properties:
    accessConfig:
        blackPaths:
            - string
        multiLogFormat:
            mode: string
            value: string
        paths:
            - string
        singleLogFormat:
            mode: string
            value: string
        windowsLogInfo:
            categories:
                - string
            eventLevels:
                - string
            timeOffset: 0
            timeOffsetUnit: string
    binaryCollect: false
    hostGroupIds:
        - string
    logGroupId: string
    logSplit: false
    logStreamId: string
    ltsHostAccessV3Id: string
    name: string
    tags:
        string: string
Copy

LtsHostAccessV3 Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The LtsHostAccessV3 resource accepts the following input properties:

AccessConfig This property is required. LtsHostAccessV3AccessConfig
Specifies the configurations of host access. The access_config structure is documented below.
LogGroupId This property is required. string
Specifies the log group ID. Changing this parameter will create a new resource.
LogStreamId This property is required. string
Specifies the log stream ID. Changing this parameter will create a new resource.
BinaryCollect bool
Specifies whether collect in binary format. Default is false.
HostGroupIds List<string>
Specifies the log access host group ID list.
LogSplit bool

Specifies whether to split log. Default is false.

The single_log_format blocks supports:

LtsHostAccessV3Id string
The ID of the host access.
Name string
Specifies the host access name. The name consists of 1 to 64 characters. Only letters, digits, underscores (_), and periods (.) are allowed, and the period cannot be the first or last character. Changing this parameter will create a new resource.
Tags Dictionary<string, string>

Specifies the key/value to attach to the host access.

The access_config block supports:

AccessConfig This property is required. LtsHostAccessV3AccessConfigArgs
Specifies the configurations of host access. The access_config structure is documented below.
LogGroupId This property is required. string
Specifies the log group ID. Changing this parameter will create a new resource.
LogStreamId This property is required. string
Specifies the log stream ID. Changing this parameter will create a new resource.
BinaryCollect bool
Specifies whether collect in binary format. Default is false.
HostGroupIds []string
Specifies the log access host group ID list.
LogSplit bool

Specifies whether to split log. Default is false.

The single_log_format blocks supports:

LtsHostAccessV3Id string
The ID of the host access.
Name string
Specifies the host access name. The name consists of 1 to 64 characters. Only letters, digits, underscores (_), and periods (.) are allowed, and the period cannot be the first or last character. Changing this parameter will create a new resource.
Tags map[string]string

Specifies the key/value to attach to the host access.

The access_config block supports:

accessConfig This property is required. LtsHostAccessV3AccessConfig
Specifies the configurations of host access. The access_config structure is documented below.
logGroupId This property is required. String
Specifies the log group ID. Changing this parameter will create a new resource.
logStreamId This property is required. String
Specifies the log stream ID. Changing this parameter will create a new resource.
binaryCollect Boolean
Specifies whether collect in binary format. Default is false.
hostGroupIds List<String>
Specifies the log access host group ID list.
logSplit Boolean

Specifies whether to split log. Default is false.

The single_log_format blocks supports:

ltsHostAccessV3Id String
The ID of the host access.
name String
Specifies the host access name. The name consists of 1 to 64 characters. Only letters, digits, underscores (_), and periods (.) are allowed, and the period cannot be the first or last character. Changing this parameter will create a new resource.
tags Map<String,String>

Specifies the key/value to attach to the host access.

The access_config block supports:

accessConfig This property is required. LtsHostAccessV3AccessConfig
Specifies the configurations of host access. The access_config structure is documented below.
logGroupId This property is required. string
Specifies the log group ID. Changing this parameter will create a new resource.
logStreamId This property is required. string
Specifies the log stream ID. Changing this parameter will create a new resource.
binaryCollect boolean
Specifies whether collect in binary format. Default is false.
hostGroupIds string[]
Specifies the log access host group ID list.
logSplit boolean

Specifies whether to split log. Default is false.

The single_log_format blocks supports:

ltsHostAccessV3Id string
The ID of the host access.
name string
Specifies the host access name. The name consists of 1 to 64 characters. Only letters, digits, underscores (_), and periods (.) are allowed, and the period cannot be the first or last character. Changing this parameter will create a new resource.
tags {[key: string]: string}

Specifies the key/value to attach to the host access.

The access_config block supports:

access_config This property is required. LtsHostAccessV3AccessConfigArgs
Specifies the configurations of host access. The access_config structure is documented below.
log_group_id This property is required. str
Specifies the log group ID. Changing this parameter will create a new resource.
log_stream_id This property is required. str
Specifies the log stream ID. Changing this parameter will create a new resource.
binary_collect bool
Specifies whether collect in binary format. Default is false.
host_group_ids Sequence[str]
Specifies the log access host group ID list.
log_split bool

Specifies whether to split log. Default is false.

The single_log_format blocks supports:

lts_host_access_v3_id str
The ID of the host access.
name str
Specifies the host access name. The name consists of 1 to 64 characters. Only letters, digits, underscores (_), and periods (.) are allowed, and the period cannot be the first or last character. Changing this parameter will create a new resource.
tags Mapping[str, str]

Specifies the key/value to attach to the host access.

The access_config block supports:

accessConfig This property is required. Property Map
Specifies the configurations of host access. The access_config structure is documented below.
logGroupId This property is required. String
Specifies the log group ID. Changing this parameter will create a new resource.
logStreamId This property is required. String
Specifies the log stream ID. Changing this parameter will create a new resource.
binaryCollect Boolean
Specifies whether collect in binary format. Default is false.
hostGroupIds List<String>
Specifies the log access host group ID list.
logSplit Boolean

Specifies whether to split log. Default is false.

The single_log_format blocks supports:

ltsHostAccessV3Id String
The ID of the host access.
name String
Specifies the host access name. The name consists of 1 to 64 characters. Only letters, digits, underscores (_), and periods (.) are allowed, and the period cannot be the first or last character. Changing this parameter will create a new resource.
tags Map<String>

Specifies the key/value to attach to the host access.

The access_config block supports:

Outputs

All input properties are implicitly available as output properties. Additionally, the LtsHostAccessV3 resource produces the following output properties:

AccessType string
The log access type.
CreatedAt string
The creation time of the Host access, in RFC3339 format.
Id string
The provider-assigned unique ID for this managed resource.
LogGroupName string
The log group name.
LogStreamName string
The log stream name.
Region string
Shows the region in the host access resource created.
AccessType string
The log access type.
CreatedAt string
The creation time of the Host access, in RFC3339 format.
Id string
The provider-assigned unique ID for this managed resource.
LogGroupName string
The log group name.
LogStreamName string
The log stream name.
Region string
Shows the region in the host access resource created.
accessType String
The log access type.
createdAt String
The creation time of the Host access, in RFC3339 format.
id String
The provider-assigned unique ID for this managed resource.
logGroupName String
The log group name.
logStreamName String
The log stream name.
region String
Shows the region in the host access resource created.
accessType string
The log access type.
createdAt string
The creation time of the Host access, in RFC3339 format.
id string
The provider-assigned unique ID for this managed resource.
logGroupName string
The log group name.
logStreamName string
The log stream name.
region string
Shows the region in the host access resource created.
access_type str
The log access type.
created_at str
The creation time of the Host access, in RFC3339 format.
id str
The provider-assigned unique ID for this managed resource.
log_group_name str
The log group name.
log_stream_name str
The log stream name.
region str
Shows the region in the host access resource created.
accessType String
The log access type.
createdAt String
The creation time of the Host access, in RFC3339 format.
id String
The provider-assigned unique ID for this managed resource.
logGroupName String
The log group name.
logStreamName String
The log stream name.
region String
Shows the region in the host access resource created.

Look up Existing LtsHostAccessV3 Resource

Get an existing LtsHostAccessV3 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: LtsHostAccessV3State, opts?: CustomResourceOptions): LtsHostAccessV3
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        access_config: Optional[LtsHostAccessV3AccessConfigArgs] = None,
        access_type: Optional[str] = None,
        binary_collect: Optional[bool] = None,
        created_at: Optional[str] = None,
        host_group_ids: Optional[Sequence[str]] = None,
        log_group_id: Optional[str] = None,
        log_group_name: Optional[str] = None,
        log_split: Optional[bool] = None,
        log_stream_id: Optional[str] = None,
        log_stream_name: Optional[str] = None,
        lts_host_access_v3_id: Optional[str] = None,
        name: Optional[str] = None,
        region: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None) -> LtsHostAccessV3
func GetLtsHostAccessV3(ctx *Context, name string, id IDInput, state *LtsHostAccessV3State, opts ...ResourceOption) (*LtsHostAccessV3, error)
public static LtsHostAccessV3 Get(string name, Input<string> id, LtsHostAccessV3State? state, CustomResourceOptions? opts = null)
public static LtsHostAccessV3 get(String name, Output<String> id, LtsHostAccessV3State state, CustomResourceOptions options)
resources:  _:    type: opentelekomcloud:LtsHostAccessV3    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AccessConfig LtsHostAccessV3AccessConfig
Specifies the configurations of host access. The access_config structure is documented below.
AccessType string
The log access type.
BinaryCollect bool
Specifies whether collect in binary format. Default is false.
CreatedAt string
The creation time of the Host access, in RFC3339 format.
HostGroupIds List<string>
Specifies the log access host group ID list.
LogGroupId string
Specifies the log group ID. Changing this parameter will create a new resource.
LogGroupName string
The log group name.
LogSplit bool

Specifies whether to split log. Default is false.

The single_log_format blocks supports:

LogStreamId string
Specifies the log stream ID. Changing this parameter will create a new resource.
LogStreamName string
The log stream name.
LtsHostAccessV3Id string
The ID of the host access.
Name string
Specifies the host access name. The name consists of 1 to 64 characters. Only letters, digits, underscores (_), and periods (.) are allowed, and the period cannot be the first or last character. Changing this parameter will create a new resource.
Region string
Shows the region in the host access resource created.
Tags Dictionary<string, string>

Specifies the key/value to attach to the host access.

The access_config block supports:

AccessConfig LtsHostAccessV3AccessConfigArgs
Specifies the configurations of host access. The access_config structure is documented below.
AccessType string
The log access type.
BinaryCollect bool
Specifies whether collect in binary format. Default is false.
CreatedAt string
The creation time of the Host access, in RFC3339 format.
HostGroupIds []string
Specifies the log access host group ID list.
LogGroupId string
Specifies the log group ID. Changing this parameter will create a new resource.
LogGroupName string
The log group name.
LogSplit bool

Specifies whether to split log. Default is false.

The single_log_format blocks supports:

LogStreamId string
Specifies the log stream ID. Changing this parameter will create a new resource.
LogStreamName string
The log stream name.
LtsHostAccessV3Id string
The ID of the host access.
Name string
Specifies the host access name. The name consists of 1 to 64 characters. Only letters, digits, underscores (_), and periods (.) are allowed, and the period cannot be the first or last character. Changing this parameter will create a new resource.
Region string
Shows the region in the host access resource created.
Tags map[string]string

Specifies the key/value to attach to the host access.

The access_config block supports:

accessConfig LtsHostAccessV3AccessConfig
Specifies the configurations of host access. The access_config structure is documented below.
accessType String
The log access type.
binaryCollect Boolean
Specifies whether collect in binary format. Default is false.
createdAt String
The creation time of the Host access, in RFC3339 format.
hostGroupIds List<String>
Specifies the log access host group ID list.
logGroupId String
Specifies the log group ID. Changing this parameter will create a new resource.
logGroupName String
The log group name.
logSplit Boolean

Specifies whether to split log. Default is false.

The single_log_format blocks supports:

logStreamId String
Specifies the log stream ID. Changing this parameter will create a new resource.
logStreamName String
The log stream name.
ltsHostAccessV3Id String
The ID of the host access.
name String
Specifies the host access name. The name consists of 1 to 64 characters. Only letters, digits, underscores (_), and periods (.) are allowed, and the period cannot be the first or last character. Changing this parameter will create a new resource.
region String
Shows the region in the host access resource created.
tags Map<String,String>

Specifies the key/value to attach to the host access.

The access_config block supports:

accessConfig LtsHostAccessV3AccessConfig
Specifies the configurations of host access. The access_config structure is documented below.
accessType string
The log access type.
binaryCollect boolean
Specifies whether collect in binary format. Default is false.
createdAt string
The creation time of the Host access, in RFC3339 format.
hostGroupIds string[]
Specifies the log access host group ID list.
logGroupId string
Specifies the log group ID. Changing this parameter will create a new resource.
logGroupName string
The log group name.
logSplit boolean

Specifies whether to split log. Default is false.

The single_log_format blocks supports:

logStreamId string
Specifies the log stream ID. Changing this parameter will create a new resource.
logStreamName string
The log stream name.
ltsHostAccessV3Id string
The ID of the host access.
name string
Specifies the host access name. The name consists of 1 to 64 characters. Only letters, digits, underscores (_), and periods (.) are allowed, and the period cannot be the first or last character. Changing this parameter will create a new resource.
region string
Shows the region in the host access resource created.
tags {[key: string]: string}

Specifies the key/value to attach to the host access.

The access_config block supports:

access_config LtsHostAccessV3AccessConfigArgs
Specifies the configurations of host access. The access_config structure is documented below.
access_type str
The log access type.
binary_collect bool
Specifies whether collect in binary format. Default is false.
created_at str
The creation time of the Host access, in RFC3339 format.
host_group_ids Sequence[str]
Specifies the log access host group ID list.
log_group_id str
Specifies the log group ID. Changing this parameter will create a new resource.
log_group_name str
The log group name.
log_split bool

Specifies whether to split log. Default is false.

The single_log_format blocks supports:

log_stream_id str
Specifies the log stream ID. Changing this parameter will create a new resource.
log_stream_name str
The log stream name.
lts_host_access_v3_id str
The ID of the host access.
name str
Specifies the host access name. The name consists of 1 to 64 characters. Only letters, digits, underscores (_), and periods (.) are allowed, and the period cannot be the first or last character. Changing this parameter will create a new resource.
region str
Shows the region in the host access resource created.
tags Mapping[str, str]

Specifies the key/value to attach to the host access.

The access_config block supports:

accessConfig Property Map
Specifies the configurations of host access. The access_config structure is documented below.
accessType String
The log access type.
binaryCollect Boolean
Specifies whether collect in binary format. Default is false.
createdAt String
The creation time of the Host access, in RFC3339 format.
hostGroupIds List<String>
Specifies the log access host group ID list.
logGroupId String
Specifies the log group ID. Changing this parameter will create a new resource.
logGroupName String
The log group name.
logSplit Boolean

Specifies whether to split log. Default is false.

The single_log_format blocks supports:

logStreamId String
Specifies the log stream ID. Changing this parameter will create a new resource.
logStreamName String
The log stream name.
ltsHostAccessV3Id String
The ID of the host access.
name String
Specifies the host access name. The name consists of 1 to 64 characters. Only letters, digits, underscores (_), and periods (.) are allowed, and the period cannot be the first or last character. Changing this parameter will create a new resource.
region String
Shows the region in the host access resource created.
tags Map<String>

Specifies the key/value to attach to the host access.

The access_config block supports:

Supporting Types

LtsHostAccessV3AccessConfig
, LtsHostAccessV3AccessConfigArgs

Paths This property is required. List<string>
Specifies the collection paths.

  • A path must start with / or Letter:\.
  • A path cannot contain only slashes (/). The following special characters are not allowed: <>'|"
  • A path cannot start with /** or /*.
  • Only one double asterisk (**) can be contained in a path.
  • Up to 10 paths can be specified.
BlackPaths List<string>

Specifies the collection path blacklist.

  • A path must start with / or Letter:\.
  • A path cannot contain only slashes (/). The following special characters are not allowed: <>'|"
  • A path cannot start with /** or /*.
  • Only one double asterisk (**) can be contained in a path.
  • Up to 10 paths can be specified.

If you blacklist a file or directory that has been set as a collection path, the blacklist settings will be used and the file or files in the directory will be filtered out.

MultiLogFormat LtsHostAccessV3AccessConfigMultiLogFormat
Specifies the configuration multi-line logs. Multiple lines of exception log events can be displayed as a single log event. This is helpful when you check logs to locate problems. The multi_log_format structure is documented below.
SingleLogFormat LtsHostAccessV3AccessConfigSingleLogFormat
Specifies the configuration single-line logs. Each log line is displayed as a single log event. The single_log_format structure is documented below.
WindowsLogInfo LtsHostAccessV3AccessConfigWindowsLogInfo
Specifies the configuration of Windows event logs. The windows_log_info structure is documented below.
Paths This property is required. []string
Specifies the collection paths.

  • A path must start with / or Letter:\.
  • A path cannot contain only slashes (/). The following special characters are not allowed: <>'|"
  • A path cannot start with /** or /*.
  • Only one double asterisk (**) can be contained in a path.
  • Up to 10 paths can be specified.
BlackPaths []string

Specifies the collection path blacklist.

  • A path must start with / or Letter:\.
  • A path cannot contain only slashes (/). The following special characters are not allowed: <>'|"
  • A path cannot start with /** or /*.
  • Only one double asterisk (**) can be contained in a path.
  • Up to 10 paths can be specified.

If you blacklist a file or directory that has been set as a collection path, the blacklist settings will be used and the file or files in the directory will be filtered out.

MultiLogFormat LtsHostAccessV3AccessConfigMultiLogFormat
Specifies the configuration multi-line logs. Multiple lines of exception log events can be displayed as a single log event. This is helpful when you check logs to locate problems. The multi_log_format structure is documented below.
SingleLogFormat LtsHostAccessV3AccessConfigSingleLogFormat
Specifies the configuration single-line logs. Each log line is displayed as a single log event. The single_log_format structure is documented below.
WindowsLogInfo LtsHostAccessV3AccessConfigWindowsLogInfo
Specifies the configuration of Windows event logs. The windows_log_info structure is documented below.
paths This property is required. List<String>
Specifies the collection paths.

  • A path must start with / or Letter:\.
  • A path cannot contain only slashes (/). The following special characters are not allowed: <>'|"
  • A path cannot start with /** or /*.
  • Only one double asterisk (**) can be contained in a path.
  • Up to 10 paths can be specified.
blackPaths List<String>

Specifies the collection path blacklist.

  • A path must start with / or Letter:\.
  • A path cannot contain only slashes (/). The following special characters are not allowed: <>'|"
  • A path cannot start with /** or /*.
  • Only one double asterisk (**) can be contained in a path.
  • Up to 10 paths can be specified.

If you blacklist a file or directory that has been set as a collection path, the blacklist settings will be used and the file or files in the directory will be filtered out.

multiLogFormat LtsHostAccessV3AccessConfigMultiLogFormat
Specifies the configuration multi-line logs. Multiple lines of exception log events can be displayed as a single log event. This is helpful when you check logs to locate problems. The multi_log_format structure is documented below.
singleLogFormat LtsHostAccessV3AccessConfigSingleLogFormat
Specifies the configuration single-line logs. Each log line is displayed as a single log event. The single_log_format structure is documented below.
windowsLogInfo LtsHostAccessV3AccessConfigWindowsLogInfo
Specifies the configuration of Windows event logs. The windows_log_info structure is documented below.
paths This property is required. string[]
Specifies the collection paths.

  • A path must start with / or Letter:\.
  • A path cannot contain only slashes (/). The following special characters are not allowed: <>'|"
  • A path cannot start with /** or /*.
  • Only one double asterisk (**) can be contained in a path.
  • Up to 10 paths can be specified.
blackPaths string[]

Specifies the collection path blacklist.

  • A path must start with / or Letter:\.
  • A path cannot contain only slashes (/). The following special characters are not allowed: <>'|"
  • A path cannot start with /** or /*.
  • Only one double asterisk (**) can be contained in a path.
  • Up to 10 paths can be specified.

If you blacklist a file or directory that has been set as a collection path, the blacklist settings will be used and the file or files in the directory will be filtered out.

multiLogFormat LtsHostAccessV3AccessConfigMultiLogFormat
Specifies the configuration multi-line logs. Multiple lines of exception log events can be displayed as a single log event. This is helpful when you check logs to locate problems. The multi_log_format structure is documented below.
singleLogFormat LtsHostAccessV3AccessConfigSingleLogFormat
Specifies the configuration single-line logs. Each log line is displayed as a single log event. The single_log_format structure is documented below.
windowsLogInfo LtsHostAccessV3AccessConfigWindowsLogInfo
Specifies the configuration of Windows event logs. The windows_log_info structure is documented below.
paths This property is required. Sequence[str]
Specifies the collection paths.

  • A path must start with / or Letter:\.
  • A path cannot contain only slashes (/). The following special characters are not allowed: <>'|"
  • A path cannot start with /** or /*.
  • Only one double asterisk (**) can be contained in a path.
  • Up to 10 paths can be specified.
black_paths Sequence[str]

Specifies the collection path blacklist.

  • A path must start with / or Letter:\.
  • A path cannot contain only slashes (/). The following special characters are not allowed: <>'|"
  • A path cannot start with /** or /*.
  • Only one double asterisk (**) can be contained in a path.
  • Up to 10 paths can be specified.

If you blacklist a file or directory that has been set as a collection path, the blacklist settings will be used and the file or files in the directory will be filtered out.

multi_log_format LtsHostAccessV3AccessConfigMultiLogFormat
Specifies the configuration multi-line logs. Multiple lines of exception log events can be displayed as a single log event. This is helpful when you check logs to locate problems. The multi_log_format structure is documented below.
single_log_format LtsHostAccessV3AccessConfigSingleLogFormat
Specifies the configuration single-line logs. Each log line is displayed as a single log event. The single_log_format structure is documented below.
windows_log_info LtsHostAccessV3AccessConfigWindowsLogInfo
Specifies the configuration of Windows event logs. The windows_log_info structure is documented below.
paths This property is required. List<String>
Specifies the collection paths.

  • A path must start with / or Letter:\.
  • A path cannot contain only slashes (/). The following special characters are not allowed: <>'|"
  • A path cannot start with /** or /*.
  • Only one double asterisk (**) can be contained in a path.
  • Up to 10 paths can be specified.
blackPaths List<String>

Specifies the collection path blacklist.

  • A path must start with / or Letter:\.
  • A path cannot contain only slashes (/). The following special characters are not allowed: <>'|"
  • A path cannot start with /** or /*.
  • Only one double asterisk (**) can be contained in a path.
  • Up to 10 paths can be specified.

If you blacklist a file or directory that has been set as a collection path, the blacklist settings will be used and the file or files in the directory will be filtered out.

multiLogFormat Property Map
Specifies the configuration multi-line logs. Multiple lines of exception log events can be displayed as a single log event. This is helpful when you check logs to locate problems. The multi_log_format structure is documented below.
singleLogFormat Property Map
Specifies the configuration single-line logs. Each log line is displayed as a single log event. The single_log_format structure is documented below.
windowsLogInfo Property Map
Specifies the configuration of Windows event logs. The windows_log_info structure is documented below.

LtsHostAccessV3AccessConfigMultiLogFormat
, LtsHostAccessV3AccessConfigMultiLogFormatArgs

Mode This property is required. string
Specifies mode of multi-line log format. The options are as follows:
Value string

Specifies value of multi-line log format.

  • If mode is regular, the value is a regular expression.
  • If mode is time, the value is a time wildcard, which is used to look for the log printing time as the beginning of a log event. If the time format in a log event is 2019-01-01 23:59:59, the time wildcard is YYYY-MM-DD hh:mm:ss. If the time format in a log event is 19-1-1 23:59:59, the time wildcard is YY-M-D hh:mm:ss.

The time wildcard and regular expression will look for the specified pattern right from the beginning of each log line. If no match is found, the system time, which may be different from the time in the log event, is used. In general cases, you are advised to select Single-line for Log Format and system time for Log Time.

The windows_log_info block supports:

Mode This property is required. string
Specifies mode of multi-line log format. The options are as follows:
Value string

Specifies value of multi-line log format.

  • If mode is regular, the value is a regular expression.
  • If mode is time, the value is a time wildcard, which is used to look for the log printing time as the beginning of a log event. If the time format in a log event is 2019-01-01 23:59:59, the time wildcard is YYYY-MM-DD hh:mm:ss. If the time format in a log event is 19-1-1 23:59:59, the time wildcard is YY-M-D hh:mm:ss.

The time wildcard and regular expression will look for the specified pattern right from the beginning of each log line. If no match is found, the system time, which may be different from the time in the log event, is used. In general cases, you are advised to select Single-line for Log Format and system time for Log Time.

The windows_log_info block supports:

mode This property is required. String
Specifies mode of multi-line log format. The options are as follows:
value String

Specifies value of multi-line log format.

  • If mode is regular, the value is a regular expression.
  • If mode is time, the value is a time wildcard, which is used to look for the log printing time as the beginning of a log event. If the time format in a log event is 2019-01-01 23:59:59, the time wildcard is YYYY-MM-DD hh:mm:ss. If the time format in a log event is 19-1-1 23:59:59, the time wildcard is YY-M-D hh:mm:ss.

The time wildcard and regular expression will look for the specified pattern right from the beginning of each log line. If no match is found, the system time, which may be different from the time in the log event, is used. In general cases, you are advised to select Single-line for Log Format and system time for Log Time.

The windows_log_info block supports:

mode This property is required. string
Specifies mode of multi-line log format. The options are as follows:
value string

Specifies value of multi-line log format.

  • If mode is regular, the value is a regular expression.
  • If mode is time, the value is a time wildcard, which is used to look for the log printing time as the beginning of a log event. If the time format in a log event is 2019-01-01 23:59:59, the time wildcard is YYYY-MM-DD hh:mm:ss. If the time format in a log event is 19-1-1 23:59:59, the time wildcard is YY-M-D hh:mm:ss.

The time wildcard and regular expression will look for the specified pattern right from the beginning of each log line. If no match is found, the system time, which may be different from the time in the log event, is used. In general cases, you are advised to select Single-line for Log Format and system time for Log Time.

The windows_log_info block supports:

mode This property is required. str
Specifies mode of multi-line log format. The options are as follows:
value str

Specifies value of multi-line log format.

  • If mode is regular, the value is a regular expression.
  • If mode is time, the value is a time wildcard, which is used to look for the log printing time as the beginning of a log event. If the time format in a log event is 2019-01-01 23:59:59, the time wildcard is YYYY-MM-DD hh:mm:ss. If the time format in a log event is 19-1-1 23:59:59, the time wildcard is YY-M-D hh:mm:ss.

The time wildcard and regular expression will look for the specified pattern right from the beginning of each log line. If no match is found, the system time, which may be different from the time in the log event, is used. In general cases, you are advised to select Single-line for Log Format and system time for Log Time.

The windows_log_info block supports:

mode This property is required. String
Specifies mode of multi-line log format. The options are as follows:
value String

Specifies value of multi-line log format.

  • If mode is regular, the value is a regular expression.
  • If mode is time, the value is a time wildcard, which is used to look for the log printing time as the beginning of a log event. If the time format in a log event is 2019-01-01 23:59:59, the time wildcard is YYYY-MM-DD hh:mm:ss. If the time format in a log event is 19-1-1 23:59:59, the time wildcard is YY-M-D hh:mm:ss.

The time wildcard and regular expression will look for the specified pattern right from the beginning of each log line. If no match is found, the system time, which may be different from the time in the log event, is used. In general cases, you are advised to select Single-line for Log Format and system time for Log Time.

The windows_log_info block supports:

LtsHostAccessV3AccessConfigSingleLogFormat
, LtsHostAccessV3AccessConfigSingleLogFormatArgs

Mode This property is required. string
Specifies mode of multi-line log format. The options are as follows:
Value string

Specifies value of multi-line log format.

  • If mode is regular, the value is a regular expression.
  • If mode is time, the value is a time wildcard, which is used to look for the log printing time as the beginning of a log event. If the time format in a log event is 2019-01-01 23:59:59, the time wildcard is YYYY-MM-DD hh:mm:ss. If the time format in a log event is 19-1-1 23:59:59, the time wildcard is YY-M-D hh:mm:ss.

The time wildcard and regular expression will look for the specified pattern right from the beginning of each log line. If no match is found, the system time, which may be different from the time in the log event, is used. In general cases, you are advised to select Single-line for Log Format and system time for Log Time.

The windows_log_info block supports:

Mode This property is required. string
Specifies mode of multi-line log format. The options are as follows:
Value string

Specifies value of multi-line log format.

  • If mode is regular, the value is a regular expression.
  • If mode is time, the value is a time wildcard, which is used to look for the log printing time as the beginning of a log event. If the time format in a log event is 2019-01-01 23:59:59, the time wildcard is YYYY-MM-DD hh:mm:ss. If the time format in a log event is 19-1-1 23:59:59, the time wildcard is YY-M-D hh:mm:ss.

The time wildcard and regular expression will look for the specified pattern right from the beginning of each log line. If no match is found, the system time, which may be different from the time in the log event, is used. In general cases, you are advised to select Single-line for Log Format and system time for Log Time.

The windows_log_info block supports:

mode This property is required. String
Specifies mode of multi-line log format. The options are as follows:
value String

Specifies value of multi-line log format.

  • If mode is regular, the value is a regular expression.
  • If mode is time, the value is a time wildcard, which is used to look for the log printing time as the beginning of a log event. If the time format in a log event is 2019-01-01 23:59:59, the time wildcard is YYYY-MM-DD hh:mm:ss. If the time format in a log event is 19-1-1 23:59:59, the time wildcard is YY-M-D hh:mm:ss.

The time wildcard and regular expression will look for the specified pattern right from the beginning of each log line. If no match is found, the system time, which may be different from the time in the log event, is used. In general cases, you are advised to select Single-line for Log Format and system time for Log Time.

The windows_log_info block supports:

mode This property is required. string
Specifies mode of multi-line log format. The options are as follows:
value string

Specifies value of multi-line log format.

  • If mode is regular, the value is a regular expression.
  • If mode is time, the value is a time wildcard, which is used to look for the log printing time as the beginning of a log event. If the time format in a log event is 2019-01-01 23:59:59, the time wildcard is YYYY-MM-DD hh:mm:ss. If the time format in a log event is 19-1-1 23:59:59, the time wildcard is YY-M-D hh:mm:ss.

The time wildcard and regular expression will look for the specified pattern right from the beginning of each log line. If no match is found, the system time, which may be different from the time in the log event, is used. In general cases, you are advised to select Single-line for Log Format and system time for Log Time.

The windows_log_info block supports:

mode This property is required. str
Specifies mode of multi-line log format. The options are as follows:
value str

Specifies value of multi-line log format.

  • If mode is regular, the value is a regular expression.
  • If mode is time, the value is a time wildcard, which is used to look for the log printing time as the beginning of a log event. If the time format in a log event is 2019-01-01 23:59:59, the time wildcard is YYYY-MM-DD hh:mm:ss. If the time format in a log event is 19-1-1 23:59:59, the time wildcard is YY-M-D hh:mm:ss.

The time wildcard and regular expression will look for the specified pattern right from the beginning of each log line. If no match is found, the system time, which may be different from the time in the log event, is used. In general cases, you are advised to select Single-line for Log Format and system time for Log Time.

The windows_log_info block supports:

mode This property is required. String
Specifies mode of multi-line log format. The options are as follows:
value String

Specifies value of multi-line log format.

  • If mode is regular, the value is a regular expression.
  • If mode is time, the value is a time wildcard, which is used to look for the log printing time as the beginning of a log event. If the time format in a log event is 2019-01-01 23:59:59, the time wildcard is YYYY-MM-DD hh:mm:ss. If the time format in a log event is 19-1-1 23:59:59, the time wildcard is YY-M-D hh:mm:ss.

The time wildcard and regular expression will look for the specified pattern right from the beginning of each log line. If no match is found, the system time, which may be different from the time in the log event, is used. In general cases, you are advised to select Single-line for Log Format and system time for Log Time.

The windows_log_info block supports:

LtsHostAccessV3AccessConfigWindowsLogInfo
, LtsHostAccessV3AccessConfigWindowsLogInfoArgs

Categories This property is required. List<string>
Specifies the types of Windows event logs to collect. The valid values are Application, System, Security and Setup.
EventLevels This property is required. List<string>
Specifies the Windows event severity. The valid values are information, warning, error, critical and verbose.
TimeOffset This property is required. double
Specifies the collection time offset. This time takes effect only for the first time to ensure that the logs are not collected repeatedly.

  • When time_offset_unit is set to day, the value ranges from 1 to 7 days.
  • When time_offset_unit is set to hour, the value ranges from 1 to 168 hours.
  • When time_offset_unit is set to sec, the value ranges from 1 to 604,800 seconds.
TimeOffsetUnit This property is required. string
Specifies the collection time offset unit. The valid values are day, hour and sec.
Categories This property is required. []string
Specifies the types of Windows event logs to collect. The valid values are Application, System, Security and Setup.
EventLevels This property is required. []string
Specifies the Windows event severity. The valid values are information, warning, error, critical and verbose.
TimeOffset This property is required. float64
Specifies the collection time offset. This time takes effect only for the first time to ensure that the logs are not collected repeatedly.

  • When time_offset_unit is set to day, the value ranges from 1 to 7 days.
  • When time_offset_unit is set to hour, the value ranges from 1 to 168 hours.
  • When time_offset_unit is set to sec, the value ranges from 1 to 604,800 seconds.
TimeOffsetUnit This property is required. string
Specifies the collection time offset unit. The valid values are day, hour and sec.
categories This property is required. List<String>
Specifies the types of Windows event logs to collect. The valid values are Application, System, Security and Setup.
eventLevels This property is required. List<String>
Specifies the Windows event severity. The valid values are information, warning, error, critical and verbose.
timeOffset This property is required. Double
Specifies the collection time offset. This time takes effect only for the first time to ensure that the logs are not collected repeatedly.

  • When time_offset_unit is set to day, the value ranges from 1 to 7 days.
  • When time_offset_unit is set to hour, the value ranges from 1 to 168 hours.
  • When time_offset_unit is set to sec, the value ranges from 1 to 604,800 seconds.
timeOffsetUnit This property is required. String
Specifies the collection time offset unit. The valid values are day, hour and sec.
categories This property is required. string[]
Specifies the types of Windows event logs to collect. The valid values are Application, System, Security and Setup.
eventLevels This property is required. string[]
Specifies the Windows event severity. The valid values are information, warning, error, critical and verbose.
timeOffset This property is required. number
Specifies the collection time offset. This time takes effect only for the first time to ensure that the logs are not collected repeatedly.

  • When time_offset_unit is set to day, the value ranges from 1 to 7 days.
  • When time_offset_unit is set to hour, the value ranges from 1 to 168 hours.
  • When time_offset_unit is set to sec, the value ranges from 1 to 604,800 seconds.
timeOffsetUnit This property is required. string
Specifies the collection time offset unit. The valid values are day, hour and sec.
categories This property is required. Sequence[str]
Specifies the types of Windows event logs to collect. The valid values are Application, System, Security and Setup.
event_levels This property is required. Sequence[str]
Specifies the Windows event severity. The valid values are information, warning, error, critical and verbose.
time_offset This property is required. float
Specifies the collection time offset. This time takes effect only for the first time to ensure that the logs are not collected repeatedly.

  • When time_offset_unit is set to day, the value ranges from 1 to 7 days.
  • When time_offset_unit is set to hour, the value ranges from 1 to 168 hours.
  • When time_offset_unit is set to sec, the value ranges from 1 to 604,800 seconds.
time_offset_unit This property is required. str
Specifies the collection time offset unit. The valid values are day, hour and sec.
categories This property is required. List<String>
Specifies the types of Windows event logs to collect. The valid values are Application, System, Security and Setup.
eventLevels This property is required. List<String>
Specifies the Windows event severity. The valid values are information, warning, error, critical and verbose.
timeOffset This property is required. Number
Specifies the collection time offset. This time takes effect only for the first time to ensure that the logs are not collected repeatedly.

  • When time_offset_unit is set to day, the value ranges from 1 to 7 days.
  • When time_offset_unit is set to hour, the value ranges from 1 to 168 hours.
  • When time_offset_unit is set to sec, the value ranges from 1 to 604,800 seconds.
timeOffsetUnit This property is required. String
Specifies the collection time offset unit. The valid values are day, hour and sec.

Import

The host access can be imported using the id, e.g.

bash

$ pulumi import opentelekomcloud:index/ltsHostAccessV3:LtsHostAccessV3 test <id>
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
License
Notes
This Pulumi package is based on the opentelekomcloud Terraform Provider.