Viewing docs for Volcengine v0.0.46
published on Friday, Feb 27, 2026 by Volcengine
published on Friday, Feb 27, 2026 by Volcengine
Viewing docs for Volcengine v0.0.46
published on Friday, Feb 27, 2026 by Volcengine
published on Friday, Feb 27, 2026 by Volcengine
Deprecated: volcengine.vpc.FlowLogs has been deprecated in favor of volcengine.vpc.getFlowLogs
Use this data source to query detailed information of flow logs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.vpc.getFlowLogs({
flowLogIds: ["fl-13g4fqngluhog3n6nu57o****"],
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.vpc.get_flow_logs(flow_log_ids=["fl-13g4fqngluhog3n6nu57o****"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vpc.GetFlowLogs(ctx, &vpc.GetFlowLogsArgs{
FlowLogIds: []string{
"fl-13g4fqngluhog3n6nu57o****",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Vpc.GetFlowLogs.Invoke(new()
{
FlowLogIds = new[]
{
"fl-13g4fqngluhog3n6nu57o****",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.vpc.VpcFunctions;
import com.pulumi.volcengine.vpc.inputs.GetFlowLogsArgs;
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 foo = VpcFunctions.getFlowLogs(GetFlowLogsArgs.builder()
.flowLogIds("fl-13g4fqngluhog3n6nu57o****")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:vpc:getFlowLogs
Arguments:
flowLogIds:
- fl-13g4fqngluhog3n6nu57o****
Using FlowLogs
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function flowLogs(args: FlowLogsArgs, opts?: InvokeOptions): Promise<FlowLogsResult>
function flowLogsOutput(args: FlowLogsOutputArgs, opts?: InvokeOptions): Output<FlowLogsResult>def flow_logs(aggregation_interval: Optional[int] = None,
description: Optional[str] = None,
flow_log_ids: Optional[Sequence[str]] = None,
flow_log_name: Optional[str] = None,
log_project_id: Optional[str] = None,
log_topic_id: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
project_name: Optional[str] = None,
resource_id: Optional[str] = None,
resource_type: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[FlowLogsTag]] = None,
traffic_type: Optional[str] = None,
vpc_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> FlowLogsResult
def flow_logs_output(aggregation_interval: Optional[pulumi.Input[int]] = None,
description: Optional[pulumi.Input[str]] = None,
flow_log_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
flow_log_name: Optional[pulumi.Input[str]] = None,
log_project_id: Optional[pulumi.Input[str]] = None,
log_topic_id: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
project_name: Optional[pulumi.Input[str]] = None,
resource_id: Optional[pulumi.Input[str]] = None,
resource_type: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[FlowLogsTagArgs]]]] = None,
traffic_type: Optional[pulumi.Input[str]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[FlowLogsResult]func FlowLogs(ctx *Context, args *FlowLogsArgs, opts ...InvokeOption) (*FlowLogsResult, error)
func FlowLogsOutput(ctx *Context, args *FlowLogsOutputArgs, opts ...InvokeOption) FlowLogsResultOutputpublic static class FlowLogs
{
public static Task<FlowLogsResult> InvokeAsync(FlowLogsArgs args, InvokeOptions? opts = null)
public static Output<FlowLogsResult> Invoke(FlowLogsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<FlowLogsResult> flowLogs(FlowLogsArgs args, InvokeOptions options)
public static Output<FlowLogsResult> flowLogs(FlowLogsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:vpc:FlowLogs
arguments:
# arguments dictionaryThe following arguments are supported:
- Aggregation
Interval int - The aggregation interval of flow log. Unit: minute. Valid values:
1,5,10. - Description string
- The description of flow log.
- Flow
Log List<string>Ids - A list of flow log IDs.
- Flow
Log stringName - The name of flow log.
- Log
Project stringId - The ID of log project.
- Log
Topic stringId - The ID of log topic.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Project
Name string - The project name of flow log.
- Resource
Id string - The ID of resource.
- Resource
Type string - The type of resource. Valid values:
vpc,subnet,eni. - Status string
- The status of flow log. Valid values:
Active,Pending,Inactive,Creating,Deleting. -
List<Flow
Logs Tag> - Tags.
- Traffic
Type string - The type of traffic. Valid values:
All,Allow,Drop. - Vpc
Id string - The ID of VPC.
- Aggregation
Interval int - The aggregation interval of flow log. Unit: minute. Valid values:
1,5,10. - Description string
- The description of flow log.
- Flow
Log []stringIds - A list of flow log IDs.
- Flow
Log stringName - The name of flow log.
- Log
Project stringId - The ID of log project.
- Log
Topic stringId - The ID of log topic.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Project
Name string - The project name of flow log.
- Resource
Id string - The ID of resource.
- Resource
Type string - The type of resource. Valid values:
vpc,subnet,eni. - Status string
- The status of flow log. Valid values:
Active,Pending,Inactive,Creating,Deleting. -
[]Flow
Logs Tag - Tags.
- Traffic
Type string - The type of traffic. Valid values:
All,Allow,Drop. - Vpc
Id string - The ID of VPC.
- aggregation
Interval Integer - The aggregation interval of flow log. Unit: minute. Valid values:
1,5,10. - description String
- The description of flow log.
- flow
Log List<String>Ids - A list of flow log IDs.
- flow
Log StringName - The name of flow log.
- log
Project StringId - The ID of log project.
- log
Topic StringId - The ID of log topic.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- project
Name String - The project name of flow log.
- resource
Id String - The ID of resource.
- resource
Type String - The type of resource. Valid values:
vpc,subnet,eni. - status String
- The status of flow log. Valid values:
Active,Pending,Inactive,Creating,Deleting. -
List<Flow
Logs Tag> - Tags.
- traffic
Type String - The type of traffic. Valid values:
All,Allow,Drop. - vpc
Id String - The ID of VPC.
- aggregation
Interval number - The aggregation interval of flow log. Unit: minute. Valid values:
1,5,10. - description string
- The description of flow log.
- flow
Log string[]Ids - A list of flow log IDs.
- flow
Log stringName - The name of flow log.
- log
Project stringId - The ID of log project.
- log
Topic stringId - The ID of log topic.
- name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- project
Name string - The project name of flow log.
- resource
Id string - The ID of resource.
- resource
Type string - The type of resource. Valid values:
vpc,subnet,eni. - status string
- The status of flow log. Valid values:
Active,Pending,Inactive,Creating,Deleting. -
Flow
Logs Tag[] - Tags.
- traffic
Type string - The type of traffic. Valid values:
All,Allow,Drop. - vpc
Id string - The ID of VPC.
- aggregation_
interval int - The aggregation interval of flow log. Unit: minute. Valid values:
1,5,10. - description str
- The description of flow log.
- flow_
log_ Sequence[str]ids - A list of flow log IDs.
- flow_
log_ strname - The name of flow log.
- log_
project_ strid - The ID of log project.
- log_
topic_ strid - The ID of log topic.
- name_
regex str - A Name Regex of Resource.
- output_
file str - File name where to save data source results.
- project_
name str - The project name of flow log.
- resource_
id str - The ID of resource.
- resource_
type str - The type of resource. Valid values:
vpc,subnet,eni. - status str
- The status of flow log. Valid values:
Active,Pending,Inactive,Creating,Deleting. -
Sequence[Flow
Logs Tag] - Tags.
- traffic_
type str - The type of traffic. Valid values:
All,Allow,Drop. - vpc_
id str - The ID of VPC.
- aggregation
Interval Number - The aggregation interval of flow log. Unit: minute. Valid values:
1,5,10. - description String
- The description of flow log.
- flow
Log List<String>Ids - A list of flow log IDs.
- flow
Log StringName - The name of flow log.
- log
Project StringId - The ID of log project.
- log
Topic StringId - The ID of log topic.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- project
Name String - The project name of flow log.
- resource
Id String - The ID of resource.
- resource
Type String - The type of resource. Valid values:
vpc,subnet,eni. - status String
- The status of flow log. Valid values:
Active,Pending,Inactive,Creating,Deleting. - List<Property Map>
- Tags.
- traffic
Type String - The type of traffic. Valid values:
All,Allow,Drop. - vpc
Id String - The ID of VPC.
FlowLogs Result
The following output properties are available:
- Flow
Logs List<FlowLogs Flow Log> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Aggregation
Interval int - The aggregation interval of flow log. Unit: minute. Valid values:
1,5,10. - Description string
- The description of flow log.
- Flow
Log List<string>Ids - Flow
Log stringName - The name of flow log.
- Log
Project stringId - The ID of log project.
- Log
Topic stringId - The ID of log topic.
- Name
Regex string - Output
File string - Project
Name string - The project name of flow log.
- Resource
Id string - The ID of resource.
- Resource
Type string - The type of resource. Valid values:
vpc,subnet,eni. - Status string
- The status of flow log. Valid values:
Active,Pending,Inactive,Creating,Deleting. -
List<Flow
Logs Tag> - Tags.
- Traffic
Type string - The type of traffic. Valid values:
All,Allow,Drop. - Vpc
Id string - The ID of VPC.
- Flow
Logs []FlowLogs Flow Log - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Aggregation
Interval int - The aggregation interval of flow log. Unit: minute. Valid values:
1,5,10. - Description string
- The description of flow log.
- Flow
Log []stringIds - Flow
Log stringName - The name of flow log.
- Log
Project stringId - The ID of log project.
- Log
Topic stringId - The ID of log topic.
- Name
Regex string - Output
File string - Project
Name string - The project name of flow log.
- Resource
Id string - The ID of resource.
- Resource
Type string - The type of resource. Valid values:
vpc,subnet,eni. - Status string
- The status of flow log. Valid values:
Active,Pending,Inactive,Creating,Deleting. -
[]Flow
Logs Tag - Tags.
- Traffic
Type string - The type of traffic. Valid values:
All,Allow,Drop. - Vpc
Id string - The ID of VPC.
- flow
Logs List<FlowLogs Flow Log> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- aggregation
Interval Integer - The aggregation interval of flow log. Unit: minute. Valid values:
1,5,10. - description String
- The description of flow log.
- flow
Log List<String>Ids - flow
Log StringName - The name of flow log.
- log
Project StringId - The ID of log project.
- log
Topic StringId - The ID of log topic.
- name
Regex String - output
File String - project
Name String - The project name of flow log.
- resource
Id String - The ID of resource.
- resource
Type String - The type of resource. Valid values:
vpc,subnet,eni. - status String
- The status of flow log. Valid values:
Active,Pending,Inactive,Creating,Deleting. -
List<Flow
Logs Tag> - Tags.
- traffic
Type String - The type of traffic. Valid values:
All,Allow,Drop. - vpc
Id String - The ID of VPC.
- flow
Logs FlowLogs Flow Log[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- aggregation
Interval number - The aggregation interval of flow log. Unit: minute. Valid values:
1,5,10. - description string
- The description of flow log.
- flow
Log string[]Ids - flow
Log stringName - The name of flow log.
- log
Project stringId - The ID of log project.
- log
Topic stringId - The ID of log topic.
- name
Regex string - output
File string - project
Name string - The project name of flow log.
- resource
Id string - The ID of resource.
- resource
Type string - The type of resource. Valid values:
vpc,subnet,eni. - status string
- The status of flow log. Valid values:
Active,Pending,Inactive,Creating,Deleting. -
Flow
Logs Tag[] - Tags.
- traffic
Type string - The type of traffic. Valid values:
All,Allow,Drop. - vpc
Id string - The ID of VPC.
- flow_
logs Sequence[FlowLogs Flow Log] - The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- aggregation_
interval int - The aggregation interval of flow log. Unit: minute. Valid values:
1,5,10. - description str
- The description of flow log.
- flow_
log_ Sequence[str]ids - flow_
log_ strname - The name of flow log.
- log_
project_ strid - The ID of log project.
- log_
topic_ strid - The ID of log topic.
- name_
regex str - output_
file str - project_
name str - The project name of flow log.
- resource_
id str - The ID of resource.
- resource_
type str - The type of resource. Valid values:
vpc,subnet,eni. - status str
- The status of flow log. Valid values:
Active,Pending,Inactive,Creating,Deleting. -
Sequence[Flow
Logs Tag] - Tags.
- traffic_
type str - The type of traffic. Valid values:
All,Allow,Drop. - vpc_
id str - The ID of VPC.
- flow
Logs List<Property Map> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- aggregation
Interval Number - The aggregation interval of flow log. Unit: minute. Valid values:
1,5,10. - description String
- The description of flow log.
- flow
Log List<String>Ids - flow
Log StringName - The name of flow log.
- log
Project StringId - The ID of log project.
- log
Topic StringId - The ID of log topic.
- name
Regex String - output
File String - project
Name String - The project name of flow log.
- resource
Id String - The ID of resource.
- resource
Type String - The type of resource. Valid values:
vpc,subnet,eni. - status String
- The status of flow log. Valid values:
Active,Pending,Inactive,Creating,Deleting. - List<Property Map>
- Tags.
- traffic
Type String - The type of traffic. Valid values:
All,Allow,Drop. - vpc
Id String - The ID of VPC.
Supporting Types
FlowLogsFlowLog
- Aggregation
Interval int - The aggregation interval of flow log. Unit: minute. Valid values:
1,5,10. - Business
Status string - The business status of flow log.
- Created
At string - The created time of flow log.
- Description string
- The description of flow log.
- Flow
Log stringId - The ID of flow log.
- Flow
Log stringName - The name of flow log.
- Id string
- The ID of flow log.
- Lock
Reason string - The reason why flow log is locked.
- Log
Project stringId - The ID of log project.
- Log
Topic stringId - The ID of log topic.
- Project
Name string - The project name of flow log.
- Resource
Id string - The ID of resource.
- Resource
Type string - The type of resource. Valid values:
vpc,subnet,eni. - Status string
- The status of flow log. Valid values:
Active,Pending,Inactive,Creating,Deleting. -
List<Flow
Logs Flow Log Tag> - Tags.
- Traffic
Type string - The type of traffic. Valid values:
All,Allow,Drop. - Updated
At string - The updated time of flow log.
- Vpc
Id string - The ID of VPC.
- Aggregation
Interval int - The aggregation interval of flow log. Unit: minute. Valid values:
1,5,10. - Business
Status string - The business status of flow log.
- Created
At string - The created time of flow log.
- Description string
- The description of flow log.
- Flow
Log stringId - The ID of flow log.
- Flow
Log stringName - The name of flow log.
- Id string
- The ID of flow log.
- Lock
Reason string - The reason why flow log is locked.
- Log
Project stringId - The ID of log project.
- Log
Topic stringId - The ID of log topic.
- Project
Name string - The project name of flow log.
- Resource
Id string - The ID of resource.
- Resource
Type string - The type of resource. Valid values:
vpc,subnet,eni. - Status string
- The status of flow log. Valid values:
Active,Pending,Inactive,Creating,Deleting. -
[]Flow
Logs Flow Log Tag - Tags.
- Traffic
Type string - The type of traffic. Valid values:
All,Allow,Drop. - Updated
At string - The updated time of flow log.
- Vpc
Id string - The ID of VPC.
- aggregation
Interval Integer - The aggregation interval of flow log. Unit: minute. Valid values:
1,5,10. - business
Status String - The business status of flow log.
- created
At String - The created time of flow log.
- description String
- The description of flow log.
- flow
Log StringId - The ID of flow log.
- flow
Log StringName - The name of flow log.
- id String
- The ID of flow log.
- lock
Reason String - The reason why flow log is locked.
- log
Project StringId - The ID of log project.
- log
Topic StringId - The ID of log topic.
- project
Name String - The project name of flow log.
- resource
Id String - The ID of resource.
- resource
Type String - The type of resource. Valid values:
vpc,subnet,eni. - status String
- The status of flow log. Valid values:
Active,Pending,Inactive,Creating,Deleting. -
List<Flow
Logs Flow Log Tag> - Tags.
- traffic
Type String - The type of traffic. Valid values:
All,Allow,Drop. - updated
At String - The updated time of flow log.
- vpc
Id String - The ID of VPC.
- aggregation
Interval number - The aggregation interval of flow log. Unit: minute. Valid values:
1,5,10. - business
Status string - The business status of flow log.
- created
At string - The created time of flow log.
- description string
- The description of flow log.
- flow
Log stringId - The ID of flow log.
- flow
Log stringName - The name of flow log.
- id string
- The ID of flow log.
- lock
Reason string - The reason why flow log is locked.
- log
Project stringId - The ID of log project.
- log
Topic stringId - The ID of log topic.
- project
Name string - The project name of flow log.
- resource
Id string - The ID of resource.
- resource
Type string - The type of resource. Valid values:
vpc,subnet,eni. - status string
- The status of flow log. Valid values:
Active,Pending,Inactive,Creating,Deleting. -
Flow
Logs Flow Log Tag[] - Tags.
- traffic
Type string - The type of traffic. Valid values:
All,Allow,Drop. - updated
At string - The updated time of flow log.
- vpc
Id string - The ID of VPC.
- aggregation_
interval int - The aggregation interval of flow log. Unit: minute. Valid values:
1,5,10. - business_
status str - The business status of flow log.
- created_
at str - The created time of flow log.
- description str
- The description of flow log.
- flow_
log_ strid - The ID of flow log.
- flow_
log_ strname - The name of flow log.
- id str
- The ID of flow log.
- lock_
reason str - The reason why flow log is locked.
- log_
project_ strid - The ID of log project.
- log_
topic_ strid - The ID of log topic.
- project_
name str - The project name of flow log.
- resource_
id str - The ID of resource.
- resource_
type str - The type of resource. Valid values:
vpc,subnet,eni. - status str
- The status of flow log. Valid values:
Active,Pending,Inactive,Creating,Deleting. -
Sequence[Flow
Logs Flow Log Tag] - Tags.
- traffic_
type str - The type of traffic. Valid values:
All,Allow,Drop. - updated_
at str - The updated time of flow log.
- vpc_
id str - The ID of VPC.
- aggregation
Interval Number - The aggregation interval of flow log. Unit: minute. Valid values:
1,5,10. - business
Status String - The business status of flow log.
- created
At String - The created time of flow log.
- description String
- The description of flow log.
- flow
Log StringId - The ID of flow log.
- flow
Log StringName - The name of flow log.
- id String
- The ID of flow log.
- lock
Reason String - The reason why flow log is locked.
- log
Project StringId - The ID of log project.
- log
Topic StringId - The ID of log topic.
- project
Name String - The project name of flow log.
- resource
Id String - The ID of resource.
- resource
Type String - The type of resource. Valid values:
vpc,subnet,eni. - status String
- The status of flow log. Valid values:
Active,Pending,Inactive,Creating,Deleting. - List<Property Map>
- Tags.
- traffic
Type String - The type of traffic. Valid values:
All,Allow,Drop. - updated
At String - The updated time of flow log.
- vpc
Id String - The ID of VPC.
FlowLogsFlowLogTag
FlowLogsTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Viewing docs for Volcengine v0.0.46
published on Friday, Feb 27, 2026 by Volcengine
published on Friday, Feb 27, 2026 by Volcengine
