Class GetFlowlogs
Inheritance
System.Object
GetFlowlogs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Cen
Assembly: Pulumi.AliCloud.dll
Syntax
public static class GetFlowlogs
Methods
View SourceInvokeAsync(GetFlowlogsArgs, InvokeOptions)
This data source provides CEN flow logs available to the user.
NOTE: Available in 1.78.0+
{{% examples %}}
Example Usage
{{% example %}}
Basic Usage
using Pulumi;
using AliCloud = Pulumi.AliCloud;
class MyStack : Stack
{
public MyStack()
{
var @default = Output.Create(AliCloud.Cen.GetFlowlogs.InvokeAsync(new AliCloud.Cen.GetFlowlogsArgs
{
Ids =
{
"flowlog-tig1xxxxx",
},
NameRegex = "^foo",
}));
this.FirstCenFlowlogId = data.Alicloud_cen_instances.Default.Flowlogs[0].Id;
}
[Output("firstCenFlowlogId")]
public Output<string> FirstCenFlowlogId { get; set; }
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetFlowlogsResult> InvokeAsync(GetFlowlogsArgs args = null, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetFlowlogsArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetFlowlogsResult> |