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",
        },
    },
});
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",
        },
    })
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
	})
}
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",
            },
        },
    });
});
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());
    }
}
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
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 string
- The unique name of the resource.
- args LtsHostAccessV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args LtsHostAccessV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LtsHostAccessV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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" },
    },
});
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"),
	},
})
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.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());
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",
    })
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",
    },
});
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
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 LtsHost Access V3Access Config 
- Specifies the configurations of host access. The access_config structure is documented below.
- LogGroup stringId 
- Specifies the log group ID. Changing this parameter will create a new resource.
- LogStream stringId 
- Specifies the log stream ID. Changing this parameter will create a new resource.
- BinaryCollect bool
- Specifies whether collect in binary format. Default is false.
- HostGroup List<string>Ids 
- Specifies the log access host group ID list.
- LogSplit bool
- Specifies whether to split log. Default is false. - The - single_log_formatblocks supports:
- LtsHost stringAccess V3Id 
- The ID of the host access.
- Name string
- Specifies the host access name. The name consists of 1to64characters. 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.
- Dictionary<string, string>
- Specifies the key/value to attach to the host access. - The - access_configblock supports:
- AccessConfig LtsHost Access V3Access Config Args 
- Specifies the configurations of host access. The access_config structure is documented below.
- LogGroup stringId 
- Specifies the log group ID. Changing this parameter will create a new resource.
- LogStream stringId 
- Specifies the log stream ID. Changing this parameter will create a new resource.
- BinaryCollect bool
- Specifies whether collect in binary format. Default is false.
- HostGroup []stringIds 
- Specifies the log access host group ID list.
- LogSplit bool
- Specifies whether to split log. Default is false. - The - single_log_formatblocks supports:
- LtsHost stringAccess V3Id 
- The ID of the host access.
- Name string
- Specifies the host access name. The name consists of 1to64characters. 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.
- map[string]string
- Specifies the key/value to attach to the host access. - The - access_configblock supports:
- accessConfig LtsHost Access V3Access Config 
- Specifies the configurations of host access. The access_config structure is documented below.
- logGroup StringId 
- Specifies the log group ID. Changing this parameter will create a new resource.
- logStream StringId 
- Specifies the log stream ID. Changing this parameter will create a new resource.
- binaryCollect Boolean
- Specifies whether collect in binary format. Default is false.
- hostGroup List<String>Ids 
- Specifies the log access host group ID list.
- logSplit Boolean
- Specifies whether to split log. Default is false. - The - single_log_formatblocks supports:
- ltsHost StringAccess V3Id 
- The ID of the host access.
- name String
- Specifies the host access name. The name consists of 1to64characters. 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.
- Map<String,String>
- Specifies the key/value to attach to the host access. - The - access_configblock supports:
- accessConfig LtsHost Access V3Access Config 
- Specifies the configurations of host access. The access_config structure is documented below.
- logGroup stringId 
- Specifies the log group ID. Changing this parameter will create a new resource.
- logStream stringId 
- Specifies the log stream ID. Changing this parameter will create a new resource.
- binaryCollect boolean
- Specifies whether collect in binary format. Default is false.
- hostGroup string[]Ids 
- Specifies the log access host group ID list.
- logSplit boolean
- Specifies whether to split log. Default is false. - The - single_log_formatblocks supports:
- ltsHost stringAccess V3Id 
- The ID of the host access.
- name string
- Specifies the host access name. The name consists of 1to64characters. 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.
- {[key: string]: string}
- Specifies the key/value to attach to the host access. - The - access_configblock supports:
- access_config LtsHost Access V3Access Config Args 
- Specifies the configurations of host access. The access_config structure is documented below.
- log_group_ strid 
- Specifies the log group ID. Changing this parameter will create a new resource.
- log_stream_ strid 
- 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_ Sequence[str]ids 
- Specifies the log access host group ID list.
- log_split bool
- Specifies whether to split log. Default is false. - The - single_log_formatblocks supports:
- lts_host_ straccess_ v3_ id 
- The ID of the host access.
- name str
- Specifies the host access name. The name consists of 1to64characters. 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.
- Mapping[str, str]
- Specifies the key/value to attach to the host access. - The - access_configblock supports:
- accessConfig Property Map
- Specifies the configurations of host access. The access_config structure is documented below.
- logGroup StringId 
- Specifies the log group ID. Changing this parameter will create a new resource.
- logStream StringId 
- Specifies the log stream ID. Changing this parameter will create a new resource.
- binaryCollect Boolean
- Specifies whether collect in binary format. Default is false.
- hostGroup List<String>Ids 
- Specifies the log access host group ID list.
- logSplit Boolean
- Specifies whether to split log. Default is false. - The - single_log_formatblocks supports:
- ltsHost StringAccess V3Id 
- The ID of the host access.
- name String
- Specifies the host access name. The name consists of 1to64characters. 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.
- Map<String>
- Specifies the key/value to attach to the host access. - The - access_configblock 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.
- LogGroup stringName 
- The log group name.
- LogStream stringName 
- 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.
- LogGroup stringName 
- The log group name.
- LogStream stringName 
- 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.
- logGroup StringName 
- The log group name.
- logStream StringName 
- 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.
- logGroup stringName 
- The log group name.
- logStream stringName 
- 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_ strname 
- The log group name.
- log_stream_ strname 
- 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.
- logGroup StringName 
- The log group name.
- logStream StringName 
- 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) -> LtsHostAccessV3func 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- AccessConfig LtsHost Access V3Access Config 
- 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.
- HostGroup List<string>Ids 
- Specifies the log access host group ID list.
- LogGroup stringId 
- Specifies the log group ID. Changing this parameter will create a new resource.
- LogGroup stringName 
- The log group name.
- LogSplit bool
- Specifies whether to split log. Default is false. - The - single_log_formatblocks supports:
- LogStream stringId 
- Specifies the log stream ID. Changing this parameter will create a new resource.
- LogStream stringName 
- The log stream name.
- LtsHost stringAccess V3Id 
- The ID of the host access.
- Name string
- Specifies the host access name. The name consists of 1to64characters. 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.
- Dictionary<string, string>
- Specifies the key/value to attach to the host access. - The - access_configblock supports:
- AccessConfig LtsHost Access V3Access Config Args 
- 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.
- HostGroup []stringIds 
- Specifies the log access host group ID list.
- LogGroup stringId 
- Specifies the log group ID. Changing this parameter will create a new resource.
- LogGroup stringName 
- The log group name.
- LogSplit bool
- Specifies whether to split log. Default is false. - The - single_log_formatblocks supports:
- LogStream stringId 
- Specifies the log stream ID. Changing this parameter will create a new resource.
- LogStream stringName 
- The log stream name.
- LtsHost stringAccess V3Id 
- The ID of the host access.
- Name string
- Specifies the host access name. The name consists of 1to64characters. 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.
- map[string]string
- Specifies the key/value to attach to the host access. - The - access_configblock supports:
- accessConfig LtsHost Access V3Access Config 
- 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.
- hostGroup List<String>Ids 
- Specifies the log access host group ID list.
- logGroup StringId 
- Specifies the log group ID. Changing this parameter will create a new resource.
- logGroup StringName 
- The log group name.
- logSplit Boolean
- Specifies whether to split log. Default is false. - The - single_log_formatblocks supports:
- logStream StringId 
- Specifies the log stream ID. Changing this parameter will create a new resource.
- logStream StringName 
- The log stream name.
- ltsHost StringAccess V3Id 
- The ID of the host access.
- name String
- Specifies the host access name. The name consists of 1to64characters. 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.
- Map<String,String>
- Specifies the key/value to attach to the host access. - The - access_configblock supports:
- accessConfig LtsHost Access V3Access Config 
- 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.
- hostGroup string[]Ids 
- Specifies the log access host group ID list.
- logGroup stringId 
- Specifies the log group ID. Changing this parameter will create a new resource.
- logGroup stringName 
- The log group name.
- logSplit boolean
- Specifies whether to split log. Default is false. - The - single_log_formatblocks supports:
- logStream stringId 
- Specifies the log stream ID. Changing this parameter will create a new resource.
- logStream stringName 
- The log stream name.
- ltsHost stringAccess V3Id 
- The ID of the host access.
- name string
- Specifies the host access name. The name consists of 1to64characters. 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.
- {[key: string]: string}
- Specifies the key/value to attach to the host access. - The - access_configblock supports:
- access_config LtsHost Access V3Access Config Args 
- 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_ Sequence[str]ids 
- Specifies the log access host group ID list.
- log_group_ strid 
- Specifies the log group ID. Changing this parameter will create a new resource.
- log_group_ strname 
- The log group name.
- log_split bool
- Specifies whether to split log. Default is false. - The - single_log_formatblocks supports:
- log_stream_ strid 
- Specifies the log stream ID. Changing this parameter will create a new resource.
- log_stream_ strname 
- The log stream name.
- lts_host_ straccess_ v3_ id 
- The ID of the host access.
- name str
- Specifies the host access name. The name consists of 1to64characters. 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.
- Mapping[str, str]
- Specifies the key/value to attach to the host access. - The - access_configblock 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.
- hostGroup List<String>Ids 
- Specifies the log access host group ID list.
- logGroup StringId 
- Specifies the log group ID. Changing this parameter will create a new resource.
- logGroup StringName 
- The log group name.
- logSplit Boolean
- Specifies whether to split log. Default is false. - The - single_log_formatblocks supports:
- logStream StringId 
- Specifies the log stream ID. Changing this parameter will create a new resource.
- logStream StringName 
- The log stream name.
- ltsHost StringAccess V3Id 
- The ID of the host access.
- name String
- Specifies the host access name. The name consists of 1to64characters. 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.
- Map<String>
- Specifies the key/value to attach to the host access. - The - access_configblock supports:
Supporting Types
LtsHostAccessV3AccessConfig, LtsHostAccessV3AccessConfigArgs          
- Paths List<string>
- Specifies the collection paths.- A path must start with /orLetter:\.
- 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.
 
- A path must start with 
- BlackPaths List<string>
- Specifies the collection path blacklist. - A path must start with /orLetter:\.
- 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. 
- A path must start with 
- MultiLog LtsFormat Host Access V3Access Config Multi Log Format 
- 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.
- SingleLog LtsFormat Host Access V3Access Config Single Log Format 
- Specifies the configuration single-line logs. Each log line is displayed as a single log event. The single_log_format structure is documented below.
- WindowsLog LtsInfo Host Access V3Access Config Windows Log Info 
- Specifies the configuration of Windows event logs. The windows_log_info structure is documented below.
- Paths []string
- Specifies the collection paths.- A path must start with /orLetter:\.
- 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.
 
- A path must start with 
- BlackPaths []string
- Specifies the collection path blacklist. - A path must start with /orLetter:\.
- 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. 
- A path must start with 
- MultiLog LtsFormat Host Access V3Access Config Multi Log Format 
- 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.
- SingleLog LtsFormat Host Access V3Access Config Single Log Format 
- Specifies the configuration single-line logs. Each log line is displayed as a single log event. The single_log_format structure is documented below.
- WindowsLog LtsInfo Host Access V3Access Config Windows Log Info 
- Specifies the configuration of Windows event logs. The windows_log_info structure is documented below.
- paths List<String>
- Specifies the collection paths.- A path must start with /orLetter:\.
- 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.
 
- A path must start with 
- blackPaths List<String>
- Specifies the collection path blacklist. - A path must start with /orLetter:\.
- 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. 
- A path must start with 
- multiLog LtsFormat Host Access V3Access Config Multi Log Format 
- 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.
- singleLog LtsFormat Host Access V3Access Config Single Log Format 
- Specifies the configuration single-line logs. Each log line is displayed as a single log event. The single_log_format structure is documented below.
- windowsLog LtsInfo Host Access V3Access Config Windows Log Info 
- Specifies the configuration of Windows event logs. The windows_log_info structure is documented below.
- paths string[]
- Specifies the collection paths.- A path must start with /orLetter:\.
- 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.
 
- A path must start with 
- blackPaths string[]
- Specifies the collection path blacklist. - A path must start with /orLetter:\.
- 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. 
- A path must start with 
- multiLog LtsFormat Host Access V3Access Config Multi Log Format 
- 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.
- singleLog LtsFormat Host Access V3Access Config Single Log Format 
- Specifies the configuration single-line logs. Each log line is displayed as a single log event. The single_log_format structure is documented below.
- windowsLog LtsInfo Host Access V3Access Config Windows Log Info 
- Specifies the configuration of Windows event logs. The windows_log_info structure is documented below.
- paths Sequence[str]
- Specifies the collection paths.- A path must start with /orLetter:\.
- 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.
 
- A path must start with 
- black_paths Sequence[str]
- Specifies the collection path blacklist. - A path must start with /orLetter:\.
- 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. 
- A path must start with 
- multi_log_ Ltsformat Host Access V3Access Config Multi Log Format 
- 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_ Ltsformat Host Access V3Access Config Single Log Format 
- 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_ Ltsinfo Host Access V3Access Config Windows Log Info 
- Specifies the configuration of Windows event logs. The windows_log_info structure is documented below.
- paths List<String>
- Specifies the collection paths.- A path must start with /orLetter:\.
- 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.
 
- A path must start with 
- blackPaths List<String>
- Specifies the collection path blacklist. - A path must start with /orLetter:\.
- 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. 
- A path must start with 
- multiLog Property MapFormat 
- 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.
- singleLog Property MapFormat 
- Specifies the configuration single-line logs. Each log line is displayed as a single log event. The single_log_format structure is documented below.
- windowsLog Property MapInfo 
- Specifies the configuration of Windows event logs. The windows_log_info structure is documented below.
LtsHostAccessV3AccessConfigMultiLogFormat, LtsHostAccessV3AccessConfigMultiLogFormatArgs                
- Mode 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 is2019-01-01 23:59:59, the time wildcard isYYYY-MM-DD hh:mm:ss. If the time format in a log event is19-1-1 23:59:59, the time wildcard isYY-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-linefor Log Format and- systemtime for Log Time.- The - windows_log_infoblock supports:
- If mode is 
- Mode 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 is2019-01-01 23:59:59, the time wildcard isYYYY-MM-DD hh:mm:ss. If the time format in a log event is19-1-1 23:59:59, the time wildcard isYY-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-linefor Log Format and- systemtime for Log Time.- The - windows_log_infoblock supports:
- If mode is 
- mode 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 is2019-01-01 23:59:59, the time wildcard isYYYY-MM-DD hh:mm:ss. If the time format in a log event is19-1-1 23:59:59, the time wildcard isYY-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-linefor Log Format and- systemtime for Log Time.- The - windows_log_infoblock supports:
- If mode is 
- mode 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 is2019-01-01 23:59:59, the time wildcard isYYYY-MM-DD hh:mm:ss. If the time format in a log event is19-1-1 23:59:59, the time wildcard isYY-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-linefor Log Format and- systemtime for Log Time.- The - windows_log_infoblock supports:
- If mode is 
- mode 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 is2019-01-01 23:59:59, the time wildcard isYYYY-MM-DD hh:mm:ss. If the time format in a log event is19-1-1 23:59:59, the time wildcard isYY-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-linefor Log Format and- systemtime for Log Time.- The - windows_log_infoblock supports:
- If mode is 
- mode 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 is2019-01-01 23:59:59, the time wildcard isYYYY-MM-DD hh:mm:ss. If the time format in a log event is19-1-1 23:59:59, the time wildcard isYY-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-linefor Log Format and- systemtime for Log Time.- The - windows_log_infoblock supports:
- If mode is 
LtsHostAccessV3AccessConfigSingleLogFormat, LtsHostAccessV3AccessConfigSingleLogFormatArgs                
- Mode 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 is2019-01-01 23:59:59, the time wildcard isYYYY-MM-DD hh:mm:ss. If the time format in a log event is19-1-1 23:59:59, the time wildcard isYY-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-linefor Log Format and- systemtime for Log Time.- The - windows_log_infoblock supports:
- If mode is 
- Mode 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 is2019-01-01 23:59:59, the time wildcard isYYYY-MM-DD hh:mm:ss. If the time format in a log event is19-1-1 23:59:59, the time wildcard isYY-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-linefor Log Format and- systemtime for Log Time.- The - windows_log_infoblock supports:
- If mode is 
- mode 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 is2019-01-01 23:59:59, the time wildcard isYYYY-MM-DD hh:mm:ss. If the time format in a log event is19-1-1 23:59:59, the time wildcard isYY-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-linefor Log Format and- systemtime for Log Time.- The - windows_log_infoblock supports:
- If mode is 
- mode 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 is2019-01-01 23:59:59, the time wildcard isYYYY-MM-DD hh:mm:ss. If the time format in a log event is19-1-1 23:59:59, the time wildcard isYY-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-linefor Log Format and- systemtime for Log Time.- The - windows_log_infoblock supports:
- If mode is 
- mode 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 is2019-01-01 23:59:59, the time wildcard isYYYY-MM-DD hh:mm:ss. If the time format in a log event is19-1-1 23:59:59, the time wildcard isYY-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-linefor Log Format and- systemtime for Log Time.- The - windows_log_infoblock supports:
- If mode is 
- mode 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 is2019-01-01 23:59:59, the time wildcard isYYYY-MM-DD hh:mm:ss. If the time format in a log event is19-1-1 23:59:59, the time wildcard isYY-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-linefor Log Format and- systemtime for Log Time.- The - windows_log_infoblock supports:
- If mode is 
LtsHostAccessV3AccessConfigWindowsLogInfo, LtsHostAccessV3AccessConfigWindowsLogInfoArgs                
- Categories List<string>
- Specifies the types of Windows event logs to collect. The valid values are
Application,System,SecurityandSetup.
- EventLevels List<string>
- Specifies the Windows event severity. The valid values are information,warning,error,criticalandverbose.
- TimeOffset 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_unitis set today, the value ranges from1to7days.
- When time_offset_unitis set tohour, the value ranges from1to168hours.
- When time_offset_unitis set tosec, the value ranges from1to604,800seconds.
 
- When 
- TimeOffset stringUnit 
- Specifies the collection time offset unit. The valid values are
day,hourandsec.
- Categories []string
- Specifies the types of Windows event logs to collect. The valid values are
Application,System,SecurityandSetup.
- EventLevels []string
- Specifies the Windows event severity. The valid values are information,warning,error,criticalandverbose.
- TimeOffset 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_unitis set today, the value ranges from1to7days.
- When time_offset_unitis set tohour, the value ranges from1to168hours.
- When time_offset_unitis set tosec, the value ranges from1to604,800seconds.
 
- When 
- TimeOffset stringUnit 
- Specifies the collection time offset unit. The valid values are
day,hourandsec.
- categories List<String>
- Specifies the types of Windows event logs to collect. The valid values are
Application,System,SecurityandSetup.
- eventLevels List<String>
- Specifies the Windows event severity. The valid values are information,warning,error,criticalandverbose.
- timeOffset 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_unitis set today, the value ranges from1to7days.
- When time_offset_unitis set tohour, the value ranges from1to168hours.
- When time_offset_unitis set tosec, the value ranges from1to604,800seconds.
 
- When 
- timeOffset StringUnit 
- Specifies the collection time offset unit. The valid values are
day,hourandsec.
- categories string[]
- Specifies the types of Windows event logs to collect. The valid values are
Application,System,SecurityandSetup.
- eventLevels string[]
- Specifies the Windows event severity. The valid values are information,warning,error,criticalandverbose.
- timeOffset 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_unitis set today, the value ranges from1to7days.
- When time_offset_unitis set tohour, the value ranges from1to168hours.
- When time_offset_unitis set tosec, the value ranges from1to604,800seconds.
 
- When 
- timeOffset stringUnit 
- Specifies the collection time offset unit. The valid values are
day,hourandsec.
- categories Sequence[str]
- Specifies the types of Windows event logs to collect. The valid values are
Application,System,SecurityandSetup.
- event_levels Sequence[str]
- Specifies the Windows event severity. The valid values are information,warning,error,criticalandverbose.
- time_offset 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_unitis set today, the value ranges from1to7days.
- When time_offset_unitis set tohour, the value ranges from1to168hours.
- When time_offset_unitis set tosec, the value ranges from1to604,800seconds.
 
- When 
- time_offset_ strunit 
- Specifies the collection time offset unit. The valid values are
day,hourandsec.
- categories List<String>
- Specifies the types of Windows event logs to collect. The valid values are
Application,System,SecurityandSetup.
- eventLevels List<String>
- Specifies the Windows event severity. The valid values are information,warning,error,criticalandverbose.
- timeOffset 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_unitis set today, the value ranges from1to7days.
- When time_offset_unitis set tohour, the value ranges from1to168hours.
- When time_offset_unitis set tosec, the value ranges from1to604,800seconds.
 
- When 
- timeOffset StringUnit 
- Specifies the collection time offset unit. The valid values are
day,hourandsec.
Import
The host access can be imported using the id, e.g.
bash
$ pulumi import opentelekomcloud:index/ltsHostAccessV3:LtsHostAccessV3 test <id>
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 opentelekomcloudTerraform Provider.