Alibaba Cloud v3.88.1 published on Saturday, Nov 8, 2025 by Pulumi
Alibaba Cloud v3.88.1 published on Saturday, Nov 8, 2025 by Pulumi
This data source provides CEN flow logs available to the user.
NOTE: Available since v1.78.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
import * as random from "@pulumi/random";
const config = new pulumi.Config();
const name = config.get("name") || "tf-example";
const defaultInteger = new random.index.Integer("default", {
min: 10000,
max: 99999,
});
const defaultc5kxyC = new alicloud.cen.Instance("defaultc5kxyC", {cenInstanceName: name});
const defaultVw2U9u = new alicloud.cen.TransitRouter("defaultVw2U9u", {cenId: defaultc5kxyC.id});
const defaultProject = new alicloud.log.Project("default", {
projectName: `${name}-${defaultInteger.result}`,
description: "terraform-example",
});
const defaultStore = new alicloud.log.Store("default", {
projectName: defaultProject.projectName,
logstoreName: `${name}-${defaultInteger.result}`,
shardCount: 3,
autoSplit: true,
maxSplitShardCount: 60,
appendMeta: true,
});
const defaultFlowLog = new alicloud.cen.FlowLog("default", {
projectName: defaultStore.projectName,
flowLogName: `${name}-${defaultInteger.result}`,
logFormatString: "${srcaddr}${dstaddr}${bytes}",
cenId: defaultc5kxyC.id,
logStoreName: defaultStore.logstoreName,
interval: 600,
status: "Active",
transitRouterId: defaultVw2U9u.transitRouterId,
description: "flowlog-resource-example-1",
});
const _default = alicloud.cen.getFlowlogsOutput({
ids: [defaultFlowLog.id],
});
export const firstCenFlowlogId = _default.apply(_default => _default.flowlogs?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
import pulumi_random as random
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "tf-example"
default_integer = random.index.Integer("default",
min=10000,
max=99999)
defaultc5kxy_c = alicloud.cen.Instance("defaultc5kxyC", cen_instance_name=name)
default_vw2_u9u = alicloud.cen.TransitRouter("defaultVw2U9u", cen_id=defaultc5kxy_c.id)
default_project = alicloud.log.Project("default",
project_name=f"{name}-{default_integer['result']}",
description="terraform-example")
default_store = alicloud.log.Store("default",
project_name=default_project.project_name,
logstore_name=f"{name}-{default_integer['result']}",
shard_count=3,
auto_split=True,
max_split_shard_count=60,
append_meta=True)
default_flow_log = alicloud.cen.FlowLog("default",
project_name=default_store.project_name,
flow_log_name=f"{name}-{default_integer['result']}",
log_format_string="${srcaddr}${dstaddr}${bytes}",
cen_id=defaultc5kxy_c.id,
log_store_name=default_store.logstore_name,
interval=600,
status="Active",
transit_router_id=default_vw2_u9u.transit_router_id,
description="flowlog-resource-example-1")
default = alicloud.cen.get_flowlogs_output(ids=[default_flow_log.id])
pulumi.export("firstCenFlowlogId", default.flowlogs[0].id)
package main
import (
"fmt"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/log"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"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, "")
name := "tf-example";
if param := cfg.Get("name"); param != ""{
name = param
}
defaultInteger, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
Min: 10000,
Max: 99999,
})
if err != nil {
return err
}
defaultc5kxyC, err := cen.NewInstance(ctx, "defaultc5kxyC", &cen.InstanceArgs{
CenInstanceName: pulumi.String(name),
})
if err != nil {
return err
}
defaultVw2U9u, err := cen.NewTransitRouter(ctx, "defaultVw2U9u", &cen.TransitRouterArgs{
CenId: defaultc5kxyC.ID(),
})
if err != nil {
return err
}
defaultProject, err := log.NewProject(ctx, "default", &log.ProjectArgs{
ProjectName: pulumi.Sprintf("%v-%v", name, defaultInteger.Result),
Description: pulumi.String("terraform-example"),
})
if err != nil {
return err
}
defaultStore, err := log.NewStore(ctx, "default", &log.StoreArgs{
ProjectName: defaultProject.ProjectName,
LogstoreName: pulumi.Sprintf("%v-%v", name, defaultInteger.Result),
ShardCount: pulumi.Int(3),
AutoSplit: pulumi.Bool(true),
MaxSplitShardCount: pulumi.Int(60),
AppendMeta: pulumi.Bool(true),
})
if err != nil {
return err
}
defaultFlowLog, err := cen.NewFlowLog(ctx, "default", &cen.FlowLogArgs{
ProjectName: defaultStore.ProjectName,
FlowLogName: pulumi.Sprintf("%v-%v", name, defaultInteger.Result),
LogFormatString: pulumi.String("${srcaddr}${dstaddr}${bytes}"),
CenId: defaultc5kxyC.ID(),
LogStoreName: defaultStore.LogstoreName,
Interval: pulumi.Int(600),
Status: pulumi.String("Active"),
TransitRouterId: defaultVw2U9u.TransitRouterId,
Description: pulumi.String("flowlog-resource-example-1"),
})
if err != nil {
return err
}
_default := cen.GetFlowlogsOutput(ctx, cen.GetFlowlogsOutputArgs{
Ids: pulumi.StringArray{
defaultFlowLog.ID(),
},
}, nil);
ctx.Export("firstCenFlowlogId", _default.ApplyT(func(_default cen.GetFlowlogsResult) (*string, error) {
return &default.Flowlogs[0].Id, nil
}).(pulumi.StringPtrOutput))
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
using Random = Pulumi.Random;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "tf-example";
var defaultInteger = new Random.Index.Integer("default", new()
{
Min = 10000,
Max = 99999,
});
var defaultc5kxyC = new AliCloud.Cen.Instance("defaultc5kxyC", new()
{
CenInstanceName = name,
});
var defaultVw2U9u = new AliCloud.Cen.TransitRouter("defaultVw2U9u", new()
{
CenId = defaultc5kxyC.Id,
});
var defaultProject = new AliCloud.Log.Project("default", new()
{
ProjectName = $"{name}-{defaultInteger.Result}",
Description = "terraform-example",
});
var defaultStore = new AliCloud.Log.Store("default", new()
{
ProjectName = defaultProject.ProjectName,
LogstoreName = $"{name}-{defaultInteger.Result}",
ShardCount = 3,
AutoSplit = true,
MaxSplitShardCount = 60,
AppendMeta = true,
});
var defaultFlowLog = new AliCloud.Cen.FlowLog("default", new()
{
ProjectName = defaultStore.ProjectName,
FlowLogName = $"{name}-{defaultInteger.Result}",
LogFormatString = "${srcaddr}${dstaddr}${bytes}",
CenId = defaultc5kxyC.Id,
LogStoreName = defaultStore.LogstoreName,
Interval = 600,
Status = "Active",
TransitRouterId = defaultVw2U9u.TransitRouterId,
Description = "flowlog-resource-example-1",
});
var @default = AliCloud.Cen.GetFlowlogs.Invoke(new()
{
Ids = new[]
{
defaultFlowLog.Id,
},
});
return new Dictionary<string, object?>
{
["firstCenFlowlogId"] = @default.Apply(@default => @default.Apply(getFlowlogsResult => getFlowlogsResult.Flowlogs[0]?.Id)),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.random.Integer;
import com.pulumi.random.IntegerArgs;
import com.pulumi.alicloud.cen.Instance;
import com.pulumi.alicloud.cen.InstanceArgs;
import com.pulumi.alicloud.cen.TransitRouter;
import com.pulumi.alicloud.cen.TransitRouterArgs;
import com.pulumi.alicloud.log.Project;
import com.pulumi.alicloud.log.ProjectArgs;
import com.pulumi.alicloud.log.Store;
import com.pulumi.alicloud.log.StoreArgs;
import com.pulumi.alicloud.cen.FlowLog;
import com.pulumi.alicloud.cen.FlowLogArgs;
import com.pulumi.alicloud.cen.CenFunctions;
import com.pulumi.alicloud.cen.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 config = ctx.config();
final var name = config.get("name").orElse("tf-example");
var defaultInteger = new Integer("defaultInteger", IntegerArgs.builder()
.min(10000)
.max(99999)
.build());
var defaultc5kxyC = new Instance("defaultc5kxyC", InstanceArgs.builder()
.cenInstanceName(name)
.build());
var defaultVw2U9u = new TransitRouter("defaultVw2U9u", TransitRouterArgs.builder()
.cenId(defaultc5kxyC.id())
.build());
var defaultProject = new Project("defaultProject", ProjectArgs.builder()
.projectName(String.format("%s-%s", name,defaultInteger.result()))
.description("terraform-example")
.build());
var defaultStore = new Store("defaultStore", StoreArgs.builder()
.projectName(defaultProject.projectName())
.logstoreName(String.format("%s-%s", name,defaultInteger.result()))
.shardCount(3)
.autoSplit(true)
.maxSplitShardCount(60)
.appendMeta(true)
.build());
var defaultFlowLog = new FlowLog("defaultFlowLog", FlowLogArgs.builder()
.projectName(defaultStore.projectName())
.flowLogName(String.format("%s-%s", name,defaultInteger.result()))
.logFormatString("${srcaddr}${dstaddr}${bytes}")
.cenId(defaultc5kxyC.id())
.logStoreName(defaultStore.logstoreName())
.interval(600)
.status("Active")
.transitRouterId(defaultVw2U9u.transitRouterId())
.description("flowlog-resource-example-1")
.build());
final var default = CenFunctions.getFlowlogs(GetFlowlogsArgs.builder()
.ids(defaultFlowLog.id())
.build());
ctx.export("firstCenFlowlogId", default_.applyValue(_default_ -> _default_.flowlogs()[0].id()));
}
}
configuration:
name:
type: string
default: tf-example
resources:
defaultInteger:
type: random:Integer
name: default
properties:
min: 10000
max: 99999
defaultc5kxyC:
type: alicloud:cen:Instance
properties:
cenInstanceName: ${name}
defaultVw2U9u:
type: alicloud:cen:TransitRouter
properties:
cenId: ${defaultc5kxyC.id}
defaultProject:
type: alicloud:log:Project
name: default
properties:
projectName: ${name}-${defaultInteger.result}
description: terraform-example
defaultStore:
type: alicloud:log:Store
name: default
properties:
projectName: ${defaultProject.projectName}
logstoreName: ${name}-${defaultInteger.result}
shardCount: 3
autoSplit: true
maxSplitShardCount: 60
appendMeta: true
defaultFlowLog:
type: alicloud:cen:FlowLog
name: default
properties:
projectName: ${defaultStore.projectName}
flowLogName: ${name}-${defaultInteger.result}
logFormatString: $${srcaddr}$${dstaddr}$${bytes}
cenId: ${defaultc5kxyC.id}
logStoreName: ${defaultStore.logstoreName}
interval: '600'
status: Active
transitRouterId: ${defaultVw2U9u.transitRouterId}
description: flowlog-resource-example-1
variables:
default:
fn::invoke:
function: alicloud:cen:getFlowlogs
arguments:
ids:
- ${defaultFlowLog.id}
outputs:
firstCenFlowlogId: ${default.flowlogs[0].id}
Using getFlowlogs
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 getFlowlogs(args: GetFlowlogsArgs, opts?: InvokeOptions): Promise<GetFlowlogsResult>
function getFlowlogsOutput(args: GetFlowlogsOutputArgs, opts?: InvokeOptions): Output<GetFlowlogsResult>def get_flowlogs(cen_id: Optional[str] = None,
description: Optional[str] = None,
flow_log_id: Optional[str] = None,
flow_log_name: Optional[str] = None,
flow_log_version: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
interval: Optional[int] = None,
log_store_name: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
page_number: Optional[int] = None,
page_size: Optional[int] = None,
project_name: Optional[str] = None,
region_id: Optional[str] = None,
status: Optional[str] = None,
transit_router_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFlowlogsResult
def get_flowlogs_output(cen_id: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
flow_log_id: Optional[pulumi.Input[str]] = None,
flow_log_name: Optional[pulumi.Input[str]] = None,
flow_log_version: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
interval: Optional[pulumi.Input[int]] = None,
log_store_name: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
page_number: Optional[pulumi.Input[int]] = None,
page_size: Optional[pulumi.Input[int]] = None,
project_name: Optional[pulumi.Input[str]] = None,
region_id: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
transit_router_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFlowlogsResult]func GetFlowlogs(ctx *Context, args *GetFlowlogsArgs, opts ...InvokeOption) (*GetFlowlogsResult, error)
func GetFlowlogsOutput(ctx *Context, args *GetFlowlogsOutputArgs, opts ...InvokeOption) GetFlowlogsResultOutput> Note: This function is named GetFlowlogs in the Go SDK.
public static class GetFlowlogs
{
public static Task<GetFlowlogsResult> InvokeAsync(GetFlowlogsArgs args, InvokeOptions? opts = null)
public static Output<GetFlowlogsResult> Invoke(GetFlowlogsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFlowlogsResult> getFlowlogs(GetFlowlogsArgs args, InvokeOptions options)
public static Output<GetFlowlogsResult> getFlowlogs(GetFlowlogsArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:cen/getFlowlogs:getFlowlogs
arguments:
# arguments dictionaryThe following arguments are supported:
- Cen
Id string - The ID of Cen instance.
- Description string
- The description of the flowlog.
- Flow
Log stringId - The ID of FlowLog.
- Flow
Log stringName - The name of the flowlog.
- Flow
Log stringVersion - Flowlog Version.
- Ids List<string>
- A list of Flow Log IDs.
- Interval int
- The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: 60 or **600 * *. Default value: **600 * *.
- Log
Store stringName - The LogStore that stores the flowlog.
- Name
Regex string - A regex string to filter results by Group Metric Rule name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Page
Number int - Current page number.
- Page
Size int - Number of records per page.
- Project
Name string - The Project that stores the flowlog.
- Region
Id string - Region id
- Status string
- The status of the flow log. Valid values:-Active: started.-InActive: not started.
- Transit
Router stringId - Transit Router ID
- Cen
Id string - The ID of Cen instance.
- Description string
- The description of the flowlog.
- Flow
Log stringId - The ID of FlowLog.
- Flow
Log stringName - The name of the flowlog.
- Flow
Log stringVersion - Flowlog Version.
- Ids []string
- A list of Flow Log IDs.
- Interval int
- The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: 60 or **600 * *. Default value: **600 * *.
- Log
Store stringName - The LogStore that stores the flowlog.
- Name
Regex string - A regex string to filter results by Group Metric Rule name.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Page
Number int - Current page number.
- Page
Size int - Number of records per page.
- Project
Name string - The Project that stores the flowlog.
- Region
Id string - Region id
- Status string
- The status of the flow log. Valid values:-Active: started.-InActive: not started.
- Transit
Router stringId - Transit Router ID
- cen
Id String - The ID of Cen instance.
- description String
- The description of the flowlog.
- flow
Log StringId - The ID of FlowLog.
- flow
Log StringName - The name of the flowlog.
- flow
Log StringVersion - Flowlog Version.
- ids List<String>
- A list of Flow Log IDs.
- interval Integer
- The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: 60 or **600 * *. Default value: **600 * *.
- log
Store StringName - The LogStore that stores the flowlog.
- name
Regex String - A regex string to filter results by Group Metric Rule name.
- output
File String - File name where to save data source results (after running
pulumi preview). - page
Number Integer - Current page number.
- page
Size Integer - Number of records per page.
- project
Name String - The Project that stores the flowlog.
- region
Id String - Region id
- status String
- The status of the flow log. Valid values:-Active: started.-InActive: not started.
- transit
Router StringId - Transit Router ID
- cen
Id string - The ID of Cen instance.
- description string
- The description of the flowlog.
- flow
Log stringId - The ID of FlowLog.
- flow
Log stringName - The name of the flowlog.
- flow
Log stringVersion - Flowlog Version.
- ids string[]
- A list of Flow Log IDs.
- interval number
- The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: 60 or **600 * *. Default value: **600 * *.
- log
Store stringName - The LogStore that stores the flowlog.
- name
Regex string - A regex string to filter results by Group Metric Rule name.
- output
File string - File name where to save data source results (after running
pulumi preview). - page
Number number - Current page number.
- page
Size number - Number of records per page.
- project
Name string - The Project that stores the flowlog.
- region
Id string - Region id
- status string
- The status of the flow log. Valid values:-Active: started.-InActive: not started.
- transit
Router stringId - Transit Router ID
- cen_
id str - The ID of Cen instance.
- description str
- The description of the flowlog.
- flow_
log_ strid - The ID of FlowLog.
- flow_
log_ strname - The name of the flowlog.
- flow_
log_ strversion - Flowlog Version.
- ids Sequence[str]
- A list of Flow Log IDs.
- interval int
- The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: 60 or **600 * *. Default value: **600 * *.
- log_
store_ strname - The LogStore that stores the flowlog.
- name_
regex str - A regex string to filter results by Group Metric Rule name.
- output_
file str - File name where to save data source results (after running
pulumi preview). - page_
number int - Current page number.
- page_
size int - Number of records per page.
- project_
name str - The Project that stores the flowlog.
- region_
id str - Region id
- status str
- The status of the flow log. Valid values:-Active: started.-InActive: not started.
- transit_
router_ strid - Transit Router ID
- cen
Id String - The ID of Cen instance.
- description String
- The description of the flowlog.
- flow
Log StringId - The ID of FlowLog.
- flow
Log StringName - The name of the flowlog.
- flow
Log StringVersion - Flowlog Version.
- ids List<String>
- A list of Flow Log IDs.
- interval Number
- The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: 60 or **600 * *. Default value: **600 * *.
- log
Store StringName - The LogStore that stores the flowlog.
- name
Regex String - A regex string to filter results by Group Metric Rule name.
- output
File String - File name where to save data source results (after running
pulumi preview). - page
Number Number - Current page number.
- page
Size Number - Number of records per page.
- project
Name String - The Project that stores the flowlog.
- region
Id String - Region id
- status String
- The status of the flow log. Valid values:-Active: started.-InActive: not started.
- transit
Router StringId - Transit Router ID
getFlowlogs Result
The following output properties are available:
- Flowlogs
List<Pulumi.
Ali Cloud. Cen. Outputs. Get Flowlogs Flowlog> - A list of Flow Log Entries. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- A list of Flow Log IDs.
- Names List<string>
- A list of name of Flow Logs.
- Cen
Id string - The ID of Cen instance.
- Description string
- The description of the flowlog.
- Flow
Log stringId - The ID of FlowLog.
- Flow
Log stringName - The name of the flowlog.
- Flow
Log stringVersion - (Available since v1.236.0) Flowlog Version.
- Interval int
- (Available since v1.236.0) The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: 60 or **600 * *. Default value: **600 * *.
- Log
Store stringName - The LogStore that stores the flowlog.
- Name
Regex string - Output
File string - Page
Number int - Page
Size int - Project
Name string - The Project that stores the flowlog.
- Region
Id string - (Available since v1.236.0) Region Id.
- Status string
- The status of the flow log. Valid values:-Active: started.-InActive: not started.
- Transit
Router stringId - (Available since v1.236.0) Transit Router ID.
- Flowlogs
[]Get
Flowlogs Flowlog - A list of Flow Log Entries. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of Flow Log IDs.
- Names []string
- A list of name of Flow Logs.
- Cen
Id string - The ID of Cen instance.
- Description string
- The description of the flowlog.
- Flow
Log stringId - The ID of FlowLog.
- Flow
Log stringName - The name of the flowlog.
- Flow
Log stringVersion - (Available since v1.236.0) Flowlog Version.
- Interval int
- (Available since v1.236.0) The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: 60 or **600 * *. Default value: **600 * *.
- Log
Store stringName - The LogStore that stores the flowlog.
- Name
Regex string - Output
File string - Page
Number int - Page
Size int - Project
Name string - The Project that stores the flowlog.
- Region
Id string - (Available since v1.236.0) Region Id.
- Status string
- The status of the flow log. Valid values:-Active: started.-InActive: not started.
- Transit
Router stringId - (Available since v1.236.0) Transit Router ID.
- flowlogs
List<Get
Flowlogs Flowlog> - A list of Flow Log Entries. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Flow Log IDs.
- names List<String>
- A list of name of Flow Logs.
- cen
Id String - The ID of Cen instance.
- description String
- The description of the flowlog.
- flow
Log StringId - The ID of FlowLog.
- flow
Log StringName - The name of the flowlog.
- flow
Log StringVersion - (Available since v1.236.0) Flowlog Version.
- interval Integer
- (Available since v1.236.0) The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: 60 or **600 * *. Default value: **600 * *.
- log
Store StringName - The LogStore that stores the flowlog.
- name
Regex String - output
File String - page
Number Integer - page
Size Integer - project
Name String - The Project that stores the flowlog.
- region
Id String - (Available since v1.236.0) Region Id.
- status String
- The status of the flow log. Valid values:-Active: started.-InActive: not started.
- transit
Router StringId - (Available since v1.236.0) Transit Router ID.
- flowlogs
Get
Flowlogs Flowlog[] - A list of Flow Log Entries. Each element contains the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of Flow Log IDs.
- names string[]
- A list of name of Flow Logs.
- cen
Id string - The ID of Cen instance.
- description string
- The description of the flowlog.
- flow
Log stringId - The ID of FlowLog.
- flow
Log stringName - The name of the flowlog.
- flow
Log stringVersion - (Available since v1.236.0) Flowlog Version.
- interval number
- (Available since v1.236.0) The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: 60 or **600 * *. Default value: **600 * *.
- log
Store stringName - The LogStore that stores the flowlog.
- name
Regex string - output
File string - page
Number number - page
Size number - project
Name string - The Project that stores the flowlog.
- region
Id string - (Available since v1.236.0) Region Id.
- status string
- The status of the flow log. Valid values:-Active: started.-InActive: not started.
- transit
Router stringId - (Available since v1.236.0) Transit Router ID.
- flowlogs
Sequence[Get
Flowlogs Flowlog] - A list of Flow Log Entries. Each element contains the following attributes:
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of Flow Log IDs.
- names Sequence[str]
- A list of name of Flow Logs.
- cen_
id str - The ID of Cen instance.
- description str
- The description of the flowlog.
- flow_
log_ strid - The ID of FlowLog.
- flow_
log_ strname - The name of the flowlog.
- flow_
log_ strversion - (Available since v1.236.0) Flowlog Version.
- interval int
- (Available since v1.236.0) The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: 60 or **600 * *. Default value: **600 * *.
- log_
store_ strname - The LogStore that stores the flowlog.
- name_
regex str - output_
file str - page_
number int - page_
size int - project_
name str - The Project that stores the flowlog.
- region_
id str - (Available since v1.236.0) Region Id.
- status str
- The status of the flow log. Valid values:-Active: started.-InActive: not started.
- transit_
router_ strid - (Available since v1.236.0) Transit Router ID.
- flowlogs List<Property Map>
- A list of Flow Log Entries. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Flow Log IDs.
- names List<String>
- A list of name of Flow Logs.
- cen
Id String - The ID of Cen instance.
- description String
- The description of the flowlog.
- flow
Log StringId - The ID of FlowLog.
- flow
Log StringName - The name of the flowlog.
- flow
Log StringVersion - (Available since v1.236.0) Flowlog Version.
- interval Number
- (Available since v1.236.0) The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: 60 or **600 * *. Default value: **600 * *.
- log
Store StringName - The LogStore that stores the flowlog.
- name
Regex String - output
File String - page
Number Number - page
Size Number - project
Name String - The Project that stores the flowlog.
- region
Id String - (Available since v1.236.0) Region Id.
- status String
- The status of the flow log. Valid values:-Active: started.-InActive: not started.
- transit
Router StringId - (Available since v1.236.0) Transit Router ID.
Supporting Types
GetFlowlogsFlowlog
- Cen
Id string - The ID of Cen instance.
- Create
Time string - The createTime of flowlog.
- Description string
- The description of the flowlog.
- Flow
Log stringId - The ID of FlowLog.
- Flow
Log stringName - The name of the flowlog.
- Flow
Log stringVersion - Flowlog Version.
- Id string
- The ID of FlowLog.
- Interval int
- The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: 60 or **600 * *. Default value: **600 * *.
- Log
Format stringString - (Available since v1.236.0) Log Format.
- Log
Store stringName - The LogStore that stores the flowlog.
- Project
Name string - The Project that stores the flowlog.
- Record
Total string - (Available since v1.236.0) Total number of records.
- Region
Id string - Region id
- Status string
- The status of the flow log. Valid values:-Active: started.-InActive: not started.
- Dictionary<string, string>
- The tag of the resource.
- Transit
Router stringAttachment Id - (Available since v1.236.0) Cross-region Connection ID or VBR connection ID.> This parameter is required.
- Transit
Router stringId - Transit Router ID
- Cen
Id string - The ID of Cen instance.
- Create
Time string - The createTime of flowlog.
- Description string
- The description of the flowlog.
- Flow
Log stringId - The ID of FlowLog.
- Flow
Log stringName - The name of the flowlog.
- Flow
Log stringVersion - Flowlog Version.
- Id string
- The ID of FlowLog.
- Interval int
- The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: 60 or **600 * *. Default value: **600 * *.
- Log
Format stringString - (Available since v1.236.0) Log Format.
- Log
Store stringName - The LogStore that stores the flowlog.
- Project
Name string - The Project that stores the flowlog.
- Record
Total string - (Available since v1.236.0) Total number of records.
- Region
Id string - Region id
- Status string
- The status of the flow log. Valid values:-Active: started.-InActive: not started.
- map[string]string
- The tag of the resource.
- Transit
Router stringAttachment Id - (Available since v1.236.0) Cross-region Connection ID or VBR connection ID.> This parameter is required.
- Transit
Router stringId - Transit Router ID
- cen
Id String - The ID of Cen instance.
- create
Time String - The createTime of flowlog.
- description String
- The description of the flowlog.
- flow
Log StringId - The ID of FlowLog.
- flow
Log StringName - The name of the flowlog.
- flow
Log StringVersion - Flowlog Version.
- id String
- The ID of FlowLog.
- interval Integer
- The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: 60 or **600 * *. Default value: **600 * *.
- log
Format StringString - (Available since v1.236.0) Log Format.
- log
Store StringName - The LogStore that stores the flowlog.
- project
Name String - The Project that stores the flowlog.
- record
Total String - (Available since v1.236.0) Total number of records.
- region
Id String - Region id
- status String
- The status of the flow log. Valid values:-Active: started.-InActive: not started.
- Map<String,String>
- The tag of the resource.
- transit
Router StringAttachment Id - (Available since v1.236.0) Cross-region Connection ID or VBR connection ID.> This parameter is required.
- transit
Router StringId - Transit Router ID
- cen
Id string - The ID of Cen instance.
- create
Time string - The createTime of flowlog.
- description string
- The description of the flowlog.
- flow
Log stringId - The ID of FlowLog.
- flow
Log stringName - The name of the flowlog.
- flow
Log stringVersion - Flowlog Version.
- id string
- The ID of FlowLog.
- interval number
- The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: 60 or **600 * *. Default value: **600 * *.
- log
Format stringString - (Available since v1.236.0) Log Format.
- log
Store stringName - The LogStore that stores the flowlog.
- project
Name string - The Project that stores the flowlog.
- record
Total string - (Available since v1.236.0) Total number of records.
- region
Id string - Region id
- status string
- The status of the flow log. Valid values:-Active: started.-InActive: not started.
- {[key: string]: string}
- The tag of the resource.
- transit
Router stringAttachment Id - (Available since v1.236.0) Cross-region Connection ID or VBR connection ID.> This parameter is required.
- transit
Router stringId - Transit Router ID
- cen_
id str - The ID of Cen instance.
- create_
time str - The createTime of flowlog.
- description str
- The description of the flowlog.
- flow_
log_ strid - The ID of FlowLog.
- flow_
log_ strname - The name of the flowlog.
- flow_
log_ strversion - Flowlog Version.
- id str
- The ID of FlowLog.
- interval int
- The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: 60 or **600 * *. Default value: **600 * *.
- log_
format_ strstring - (Available since v1.236.0) Log Format.
- log_
store_ strname - The LogStore that stores the flowlog.
- project_
name str - The Project that stores the flowlog.
- record_
total str - (Available since v1.236.0) Total number of records.
- region_
id str - Region id
- status str
- The status of the flow log. Valid values:-Active: started.-InActive: not started.
- Mapping[str, str]
- The tag of the resource.
- transit_
router_ strattachment_ id - (Available since v1.236.0) Cross-region Connection ID or VBR connection ID.> This parameter is required.
- transit_
router_ strid - Transit Router ID
- cen
Id String - The ID of Cen instance.
- create
Time String - The createTime of flowlog.
- description String
- The description of the flowlog.
- flow
Log StringId - The ID of FlowLog.
- flow
Log StringName - The name of the flowlog.
- flow
Log StringVersion - Flowlog Version.
- id String
- The ID of FlowLog.
- interval Number
- The duration of the capture window for the flow log to capture traffic. Unit: seconds. Valid values: 60 or **600 * *. Default value: **600 * *.
- log
Format StringString - (Available since v1.236.0) Log Format.
- log
Store StringName - The LogStore that stores the flowlog.
- project
Name String - The Project that stores the flowlog.
- record
Total String - (Available since v1.236.0) Total number of records.
- region
Id String - Region id
- status String
- The status of the flow log. Valid values:-Active: started.-InActive: not started.
- Map<String>
- The tag of the resource.
- transit
Router StringAttachment Id - (Available since v1.236.0) Cross-region Connection ID or VBR connection ID.> This parameter is required.
- transit
Router StringId - Transit Router ID
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
Alibaba Cloud v3.88.1 published on Saturday, Nov 8, 2025 by Pulumi
