import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::VPC::FlowLog */ export declare function getFlowLog(args: GetFlowLogArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getFlowLog. */ export interface GetFlowLogArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getFlowLog. */ export interface GetFlowLogResult { /** * Stream log sampling interval. Options: 1: 1 minute. 5: 5 minutes. 10 (default): 10 minutes. */ readonly aggregationInterval: number; /** * Whether the flow log is locked. Normal: normal. FinancialLocked: locked. */ readonly businessStatus: string; /** * Creation time of the flow log. */ readonly createdAt: string; /** * Description of the stream log. Length limit: 0–255 characters. If not specified, defaults to an empty string. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。). */ readonly description: string; /** * Whether to automatically configure indexes. Indexes are used for retrieving and analyzing data. Stream logs must have indexes configured before retrieval and analysis. true: Yes. false (default): No. */ readonly enableIndex: boolean; /** * Stream log ID. */ readonly flowLogId: string; /** * Name of the flow log. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-). If not specified, defaults to the flow log instance ID. */ readonly flowLogName: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Reason for stream log lock. financial: Locked due to overdue payment. unlock: In the process of restoring after payment following suspension due to overdue payment. Empty value: Not locked. */ readonly lockReason: string; /** * Flow log project ID. */ readonly logProjectId: string; /** * Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long. */ readonly logProjectName: string; /** * Flow log topic ID. */ readonly logTopicId: string; /** * Name of the flow log project. The name can only contain lowercase letters, numbers, and hyphens (-). It must start and end with a lowercase letter or number. The name must be 3–63 characters long. */ readonly logTopicName: string; /** * Name of the project to which the flow log belongs. */ readonly projectName: string; /** * Resource ID for traffic capture. */ readonly resourceId: string; /** * Resource type for traffic collection. Values: vpc: Virtual Private Cloud. subnet: subnet. eni: network interface. */ readonly resourceType: string; /** * Status of the flow log. Values: Active: active. Pending: pending. Inactive: inactive. Creating: creating. Deleting: deleting. */ readonly status: string; /** * Tag information for the flow log. */ readonly tags: outputs.vpc.GetFlowLogTag[]; /** * Type of traffic collected. Values: All: all traffic. Allow: traffic allowed by network ACLs and security groups. Drop: traffic denied by network ACLs and security groups. */ readonly trafficType: string; /** * Time when the stream log was updated. */ readonly updatedAt: string; /** * VPC ID for the flow log. */ readonly vpcId: string; } /** * Data Source schema for Volcengine::VPC::FlowLog */ export declare function getFlowLogOutput(args: GetFlowLogOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getFlowLog. */ export interface GetFlowLogOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }