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)
.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:
- Access
Config LtsHost Access V3Access Config - Specifies the configurations of host access. The access_config structure is documented below.
- Log
Group stringId - Specifies the log group ID. Changing this parameter will create a new resource.
- Log
Stream stringId - 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 List<string>Ids - 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 stringAccess V3Id - The ID of the host access.
- Name string
- Specifies the host access name. The name consists of
1
to64
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. - Dictionary<string, string>
Specifies the key/value to attach to the host access.
The
access_config
block supports:
- Access
Config LtsHost Access V3Access Config Args - Specifies the configurations of host access. The access_config structure is documented below.
- Log
Group stringId - Specifies the log group ID. Changing this parameter will create a new resource.
- Log
Stream stringId - 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 []stringIds - 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 stringAccess V3Id - The ID of the host access.
- Name string
- Specifies the host access name. The name consists of
1
to64
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. - map[string]string
Specifies the key/value to attach to the host access.
The
access_config
block supports:
- access
Config LtsHost Access V3Access Config - Specifies the configurations of host access. The access_config structure is documented below.
- log
Group StringId - Specifies the log group ID. Changing this parameter will create a new resource.
- log
Stream StringId - Specifies the log stream ID. Changing this parameter will create a new resource.
- binary
Collect Boolean - Specifies whether collect in binary format. Default is false.
- host
Group List<String>Ids - Specifies the log access host group ID list.
- log
Split Boolean Specifies whether to split log. Default is false.
The
single_log_format
blocks supports:- lts
Host StringAccess V3Id - The ID of the host access.
- name String
- Specifies the host access name. The name consists of
1
to64
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. - Map<String,String>
Specifies the key/value to attach to the host access.
The
access_config
block supports:
- access
Config LtsHost Access V3Access Config - Specifies the configurations of host access. The access_config structure is documented below.
- log
Group stringId - Specifies the log group ID. Changing this parameter will create a new resource.
- log
Stream stringId - Specifies the log stream ID. Changing this parameter will create a new resource.
- binary
Collect boolean - Specifies whether collect in binary format. Default is false.
- host
Group string[]Ids - Specifies the log access host group ID list.
- log
Split boolean Specifies whether to split log. Default is false.
The
single_log_format
blocks supports:- lts
Host stringAccess V3Id - The ID of the host access.
- name string
- Specifies the host access name. The name consists of
1
to64
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. - {[key: string]: string}
Specifies the key/value to attach to the host access.
The
access_config
block 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_format
blocks supports:- lts_
host_ straccess_ v3_ id - The ID of the host access.
- name str
- Specifies the host access name. The name consists of
1
to64
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. - Mapping[str, str]
Specifies the key/value to attach to the host access.
The
access_config
block supports:
- access
Config Property Map - Specifies the configurations of host access. The access_config structure is documented below.
- log
Group StringId - Specifies the log group ID. Changing this parameter will create a new resource.
- log
Stream StringId - Specifies the log stream ID. Changing this parameter will create a new resource.
- binary
Collect Boolean - Specifies whether collect in binary format. Default is false.
- host
Group List<String>Ids - Specifies the log access host group ID list.
- log
Split Boolean Specifies whether to split log. Default is false.
The
single_log_format
blocks supports:- lts
Host StringAccess V3Id - The ID of the host access.
- name String
- Specifies the host access name. The name consists of
1
to64
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. - 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:
- Access
Type string - The log access type.
- Created
At string - The creation time of the Host access, in RFC3339 format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Log
Group stringName - The log group name.
- Log
Stream stringName - The log stream name.
- Region string
- Shows the region in the host access resource created.
- Access
Type string - The log access type.
- Created
At string - The creation time of the Host access, in RFC3339 format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Log
Group stringName - The log group name.
- Log
Stream stringName - The log stream name.
- Region string
- Shows the region in the host access resource created.
- access
Type String - The log access type.
- created
At String - The creation time of the Host access, in RFC3339 format.
- id String
- The provider-assigned unique ID for this managed resource.
- log
Group StringName - The log group name.
- log
Stream StringName - The log stream name.
- region String
- Shows the region in the host access resource created.
- access
Type string - The log access type.
- created
At string - The creation time of the Host access, in RFC3339 format.
- id string
- The provider-assigned unique ID for this managed resource.
- log
Group stringName - The log group name.
- log
Stream 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.
- access
Type String - The log access type.
- created
At String - The creation time of the Host access, in RFC3339 format.
- id String
- The provider-assigned unique ID for this managed resource.
- log
Group StringName - The log group name.
- log
Stream 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) -> 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
- 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.
- Access
Config LtsHost Access V3Access Config - Specifies the configurations of host access. The access_config structure is documented below.
- Access
Type string - The log access type.
- Binary
Collect bool - Specifies whether collect in binary format. Default is false.
- Created
At string - The creation time of the Host access, in RFC3339 format.
- Host
Group List<string>Ids - Specifies the log access host group ID list.
- Log
Group stringId - Specifies the log group ID. Changing this parameter will create a new resource.
- Log
Group stringName - The log group name.
- Log
Split bool Specifies whether to split log. Default is false.
The
single_log_format
blocks supports:- Log
Stream stringId - Specifies the log stream ID. Changing this parameter will create a new resource.
- Log
Stream stringName - The log stream name.
- Lts
Host stringAccess V3Id - The ID of the host access.
- Name string
- Specifies the host access name. The name consists of
1
to64
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.
- Dictionary<string, string>
Specifies the key/value to attach to the host access.
The
access_config
block supports:
- Access
Config LtsHost Access V3Access Config Args - Specifies the configurations of host access. The access_config structure is documented below.
- Access
Type string - The log access type.
- Binary
Collect bool - Specifies whether collect in binary format. Default is false.
- Created
At string - The creation time of the Host access, in RFC3339 format.
- Host
Group []stringIds - Specifies the log access host group ID list.
- Log
Group stringId - Specifies the log group ID. Changing this parameter will create a new resource.
- Log
Group stringName - The log group name.
- Log
Split bool Specifies whether to split log. Default is false.
The
single_log_format
blocks supports:- Log
Stream stringId - Specifies the log stream ID. Changing this parameter will create a new resource.
- Log
Stream stringName - The log stream name.
- Lts
Host stringAccess V3Id - The ID of the host access.
- Name string
- Specifies the host access name. The name consists of
1
to64
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.
- map[string]string
Specifies the key/value to attach to the host access.
The
access_config
block supports:
- access
Config LtsHost Access V3Access Config - Specifies the configurations of host access. The access_config structure is documented below.
- access
Type String - The log access type.
- binary
Collect Boolean - Specifies whether collect in binary format. Default is false.
- created
At String - The creation time of the Host access, in RFC3339 format.
- host
Group List<String>Ids - Specifies the log access host group ID list.
- log
Group StringId - Specifies the log group ID. Changing this parameter will create a new resource.
- log
Group StringName - The log group name.
- log
Split Boolean Specifies whether to split log. Default is false.
The
single_log_format
blocks supports:- log
Stream StringId - Specifies the log stream ID. Changing this parameter will create a new resource.
- log
Stream StringName - The log stream name.
- lts
Host StringAccess V3Id - The ID of the host access.
- name String
- Specifies the host access name. The name consists of
1
to64
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.
- Map<String,String>
Specifies the key/value to attach to the host access.
The
access_config
block supports:
- access
Config LtsHost Access V3Access Config - Specifies the configurations of host access. The access_config structure is documented below.
- access
Type string - The log access type.
- binary
Collect boolean - Specifies whether collect in binary format. Default is false.
- created
At string - The creation time of the Host access, in RFC3339 format.
- host
Group string[]Ids - Specifies the log access host group ID list.
- log
Group stringId - Specifies the log group ID. Changing this parameter will create a new resource.
- log
Group stringName - The log group name.
- log
Split boolean Specifies whether to split log. Default is false.
The
single_log_format
blocks supports:- log
Stream stringId - Specifies the log stream ID. Changing this parameter will create a new resource.
- log
Stream stringName - The log stream name.
- lts
Host stringAccess V3Id - The ID of the host access.
- name string
- Specifies the host access name. The name consists of
1
to64
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.
- {[key: string]: string}
Specifies the key/value to attach to the host access.
The
access_config
block 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_format
blocks 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
1
to64
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.
- Mapping[str, str]
Specifies the key/value to attach to the host access.
The
access_config
block supports:
- access
Config Property Map - Specifies the configurations of host access. The access_config structure is documented below.
- access
Type String - The log access type.
- binary
Collect Boolean - Specifies whether collect in binary format. Default is false.
- created
At String - The creation time of the Host access, in RFC3339 format.
- host
Group List<String>Ids - Specifies the log access host group ID list.
- log
Group StringId - Specifies the log group ID. Changing this parameter will create a new resource.
- log
Group StringName - The log group name.
- log
Split Boolean Specifies whether to split log. Default is false.
The
single_log_format
blocks supports:- log
Stream StringId - Specifies the log stream ID. Changing this parameter will create a new resource.
- log
Stream StringName - The log stream name.
- lts
Host StringAccess V3Id - The ID of the host access.
- name String
- Specifies the host access name. The name consists of
1
to64
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.
- Map<String>
Specifies the key/value to attach to the host access.
The
access_config
block 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
- Black
Paths 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
- 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 []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
- Black
Paths []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
- 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
- black
Paths 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
- 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 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
- black
Paths 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
- 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 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
- black
Paths 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
- multi
Log 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.
- single
Log 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.
- windows
Log 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-line
for Log Format andsystem
time for Log Time.The
windows_log_info
block 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-line
for Log Format andsystem
time for Log Time.The
windows_log_info
block 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-line
for Log Format andsystem
time for Log Time.The
windows_log_info
block 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-line
for Log Format andsystem
time for Log Time.The
windows_log_info
block 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-line
for Log Format andsystem
time for Log Time.The
windows_log_info
block 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-line
for Log Format andsystem
time for Log Time.The
windows_log_info
block 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-line
for Log Format andsystem
time for Log Time.The
windows_log_info
block 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-line
for Log Format andsystem
time for Log Time.The
windows_log_info
block 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-line
for Log Format andsystem
time for Log Time.The
windows_log_info
block 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-line
for Log Format andsystem
time for Log Time.The
windows_log_info
block 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-line
for Log Format andsystem
time for Log Time.The
windows_log_info
block 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-line
for Log Format andsystem
time for Log Time.The
windows_log_info
block supports:- If mode is
LtsHostAccessV3AccessConfigWindowsLogInfo, LtsHostAccessV3AccessConfigWindowsLogInfoArgs
- Categories List<string>
- Specifies the types of Windows event logs to collect. The valid values are
Application
,System
,Security
andSetup
. - Event
Levels List<string> - Specifies the Windows event severity. The valid values are
information
,warning
,error
,critical
andverbose
. - Time
Offset 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 today
, the value ranges from1
to7
days. - When
time_offset_unit
is set tohour
, the value ranges from1
to168
hours. - When
time_offset_unit
is set tosec
, the value ranges from1
to604,800
seconds.
- When
- Time
Offset stringUnit - Specifies the collection time offset unit. The valid values are
day
,hour
andsec
.
- Categories []string
- Specifies the types of Windows event logs to collect. The valid values are
Application
,System
,Security
andSetup
. - Event
Levels []string - Specifies the Windows event severity. The valid values are
information
,warning
,error
,critical
andverbose
. - Time
Offset 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 today
, the value ranges from1
to7
days. - When
time_offset_unit
is set tohour
, the value ranges from1
to168
hours. - When
time_offset_unit
is set tosec
, the value ranges from1
to604,800
seconds.
- When
- Time
Offset stringUnit - Specifies the collection time offset unit. The valid values are
day
,hour
andsec
.
- categories List<String>
- Specifies the types of Windows event logs to collect. The valid values are
Application
,System
,Security
andSetup
. - event
Levels List<String> - Specifies the Windows event severity. The valid values are
information
,warning
,error
,critical
andverbose
. - time
Offset 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 today
, the value ranges from1
to7
days. - When
time_offset_unit
is set tohour
, the value ranges from1
to168
hours. - When
time_offset_unit
is set tosec
, the value ranges from1
to604,800
seconds.
- When
- time
Offset StringUnit - Specifies the collection time offset unit. The valid values are
day
,hour
andsec
.
- categories string[]
- Specifies the types of Windows event logs to collect. The valid values are
Application
,System
,Security
andSetup
. - event
Levels string[] - Specifies the Windows event severity. The valid values are
information
,warning
,error
,critical
andverbose
. - time
Offset 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 today
, the value ranges from1
to7
days. - When
time_offset_unit
is set tohour
, the value ranges from1
to168
hours. - When
time_offset_unit
is set tosec
, the value ranges from1
to604,800
seconds.
- When
- time
Offset stringUnit - Specifies the collection time offset unit. The valid values are
day
,hour
andsec
.
- categories Sequence[str]
- Specifies the types of Windows event logs to collect. The valid values are
Application
,System
,Security
andSetup
. - event_
levels Sequence[str] - Specifies the Windows event severity. The valid values are
information
,warning
,error
,critical
andverbose
. - 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_unit
is set today
, the value ranges from1
to7
days. - When
time_offset_unit
is set tohour
, the value ranges from1
to168
hours. - When
time_offset_unit
is set tosec
, the value ranges from1
to604,800
seconds.
- When
- time_
offset_ strunit - Specifies the collection time offset unit. The valid values are
day
,hour
andsec
.
- categories List<String>
- Specifies the types of Windows event logs to collect. The valid values are
Application
,System
,Security
andSetup
. - event
Levels List<String> - Specifies the Windows event severity. The valid values are
information
,warning
,error
,critical
andverbose
. - time
Offset 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 today
, the value ranges from1
to7
days. - When
time_offset_unit
is set tohour
, the value ranges from1
to168
hours. - When
time_offset_unit
is set tosec
, the value ranges from1
to604,800
seconds.
- When
- time
Offset StringUnit - Specifies the collection time offset unit. The valid values are
day
,hour
andsec
.
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
opentelekomcloud
Terraform Provider.