import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::TLS::Rule */ export declare function getRule(args: GetRuleArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRule. */ export interface GetRuleArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getRule. */ export interface GetRuleResult { /** * Container log collection rules. */ readonly containerRule: outputs.tls.GetRuleContainerRule; /** * Time when the collection configuration was created. */ readonly createTime: string; /** * Denylist entries for collection. You can create up to 10 denylist entries. When InputType=0 or InputType=2: If Type is Path, Value represents a directory. Supports exact match and wildcard pattern matching. Wildcards supported: *, ?. The ** wildcard is not supported. If Type is File, Value represents a file name. Supports exact match and wildcard pattern matching. Wildcards supported: **, *, ?. Only one ** wildcard can be configured at most. When InputType=1: Configuring a denylist is not allowed. */ readonly excludePaths: outputs.tls.GetRuleExcludePath[]; /** * Log extraction rules. Note: This parameter is required if LogType is set to any type other than minimalist*log or json*log. */ readonly extractRule: outputs.tls.GetRuleExtractRule; /** * Machine group information list. */ readonly hostGroupInfos: outputs.tls.GetRuleHostGroupInfo[]; /** * Uniquely identifies the resource. */ readonly id: string; /** * Collection type. 0: (Default) Host log file. 1: K8s container stdout. 2: K8s container internal log file. */ readonly inputType: number; /** * Log sample. Maximum length is 3000 characters. Log sample content must match the collection mode. Single-line full-text mode and JSON mode do not require a log sample. Other modes require a log sample, and the content must match the collection mode. */ readonly logSample: string; /** * Collection mode. minimalist*log: (Default) Single-line full-text mode. json*log: JSON mode. delimiter*log: Delimiter mode. multiline*log: Multi-line full-text mode. fullregex_log: Full regex mode. */ readonly logType: string; /** * Collection configuration modification time. */ readonly modifyTime: string; /** * Collection path list. You can create up to 10 collection paths. Collection paths must be specified as absolute paths; relative paths are not supported. When InputType=0 or InputType=2, collection paths support exact match and wildcard mode. Wildcards only support **, *, and ?, but you can configure at most one ** wildcard. When InputType=1, you do not need to configure the collection path list. */ readonly paths: string[]; /** * Collection configuration status. 0: Running. 1: Paused. */ readonly pause: number; /** * ID of the project to which the collection configuration belongs. */ readonly projectId: string; /** * Name of the project to which the collection configuration belongs */ readonly projectName: string; /** * Collection configuration ID. */ readonly ruleId: string; /** * Collection configuration name. Please refer to the resource naming rules. Must be unique within a log topic. */ readonly ruleName: string; /** * Log topic ID to which the collection configuration belongs. */ readonly topicId: string; /** * Name of the log topic to which the collection configuration belongs. */ readonly topicName: string; /** * User-defined collection rules. */ readonly userDefineRule: outputs.tls.GetRuleUserDefineRule; } /** * Data Source schema for Volcengine::TLS::Rule */ export declare function getRuleOutput(args: GetRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRule. */ export interface GetRuleOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }