opentelekomcloud 1.36.44 published on Thursday, Jul 31, 2025 by opentelekomcloud
opentelekomcloud.getErFlowLogsV3
Explore with Pulumi AI
opentelekomcloud 1.36.44 published on Thursday, Jul 31, 2025 by opentelekomcloud
Use this data source to get the list of flow logs.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const instanceId = config.requireObject("instanceId");
const resourceId = config.requireObject("resourceId");
const test = opentelekomcloud.getErFlowLogsV3({
instanceId: instanceId,
resourceId: resourceId,
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
instance_id = config.require_object("instanceId")
resource_id = config.require_object("resourceId")
test = opentelekomcloud.get_er_flow_logs_v3(instance_id=instance_id,
resource_id=resource_id)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"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, "")
instanceId := cfg.RequireObject("instanceId")
resourceId := cfg.RequireObject("resourceId")
_, err := opentelekomcloud.GetErFlowLogsV3(ctx, &opentelekomcloud.GetErFlowLogsV3Args{
InstanceId: instanceId,
ResourceId: pulumi.StringRef(resourceId),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var instanceId = config.RequireObject<dynamic>("instanceId");
var resourceId = config.RequireObject<dynamic>("resourceId");
var test = Opentelekomcloud.GetErFlowLogsV3.Invoke(new()
{
InstanceId = instanceId,
ResourceId = resourceId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetErFlowLogsV3Args;
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 instanceId = config.get("instanceId");
final var resourceId = config.get("resourceId");
final var test = OpentelekomcloudFunctions.getErFlowLogsV3(GetErFlowLogsV3Args.builder()
.instanceId(instanceId)
.resourceId(resourceId)
.build());
}
}
configuration:
instanceId:
type: dynamic
resourceId:
type: dynamic
variables:
test:
fn::invoke:
function: opentelekomcloud:getErFlowLogsV3
arguments:
instanceId: ${instanceId}
resourceId: ${resourceId}
Using getErFlowLogsV3
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 getErFlowLogsV3(args: GetErFlowLogsV3Args, opts?: InvokeOptions): Promise<GetErFlowLogsV3Result>
function getErFlowLogsV3Output(args: GetErFlowLogsV3OutputArgs, opts?: InvokeOptions): Output<GetErFlowLogsV3Result>
def get_er_flow_logs_v3(enabled: Optional[str] = None,
flow_log_id: Optional[str] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
log_group_id: Optional[str] = None,
log_stream_id: Optional[str] = None,
name: Optional[str] = None,
resource_id: Optional[str] = None,
resource_type: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetErFlowLogsV3Result
def get_er_flow_logs_v3_output(enabled: Optional[pulumi.Input[str]] = None,
flow_log_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
log_group_id: Optional[pulumi.Input[str]] = None,
log_stream_id: Optional[pulumi.Input[str]] = None,
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,
opts: Optional[InvokeOptions] = None) -> Output[GetErFlowLogsV3Result]
func GetErFlowLogsV3(ctx *Context, args *GetErFlowLogsV3Args, opts ...InvokeOption) (*GetErFlowLogsV3Result, error)
func GetErFlowLogsV3Output(ctx *Context, args *GetErFlowLogsV3OutputArgs, opts ...InvokeOption) GetErFlowLogsV3ResultOutput
> Note: This function is named GetErFlowLogsV3
in the Go SDK.
public static class GetErFlowLogsV3
{
public static Task<GetErFlowLogsV3Result> InvokeAsync(GetErFlowLogsV3Args args, InvokeOptions? opts = null)
public static Output<GetErFlowLogsV3Result> Invoke(GetErFlowLogsV3InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetErFlowLogsV3Result> getErFlowLogsV3(GetErFlowLogsV3Args args, InvokeOptions options)
public static Output<GetErFlowLogsV3Result> getErFlowLogsV3(GetErFlowLogsV3Args args, InvokeOptions options)
fn::invoke:
function: opentelekomcloud:index/getErFlowLogsV3:getErFlowLogsV3
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id string - Specifies the ID of the ER instance to which the flow logs belong.
- Enabled string
- Specifies the switch status of the flow log.
The value can be
true
andfalse
. - Flow
Log stringId - Specifies the ID of the flow log.
- Id string
- The ID of the flow log.
- Log
Group stringId - Specifies the ID of the log group to which the flow logs belong.
- Log
Stream stringId - Specifies the ID of the log stream to which the flow logs belong.
- Name string
- Specifies the name of the flow log.
- Resource
Id string - Specifies the ID of the attachment to which the flow logs belong.
- Resource
Type string - Specifies the type of the flow logs. The valid values are as follows:
- Status string
- Specifies the status of the flow logs.
- Instance
Id string - Specifies the ID of the ER instance to which the flow logs belong.
- Enabled string
- Specifies the switch status of the flow log.
The value can be
true
andfalse
. - Flow
Log stringId - Specifies the ID of the flow log.
- Id string
- The ID of the flow log.
- Log
Group stringId - Specifies the ID of the log group to which the flow logs belong.
- Log
Stream stringId - Specifies the ID of the log stream to which the flow logs belong.
- Name string
- Specifies the name of the flow log.
- Resource
Id string - Specifies the ID of the attachment to which the flow logs belong.
- Resource
Type string - Specifies the type of the flow logs. The valid values are as follows:
- Status string
- Specifies the status of the flow logs.
- instance
Id String - Specifies the ID of the ER instance to which the flow logs belong.
- enabled String
- Specifies the switch status of the flow log.
The value can be
true
andfalse
. - flow
Log StringId - Specifies the ID of the flow log.
- id String
- The ID of the flow log.
- log
Group StringId - Specifies the ID of the log group to which the flow logs belong.
- log
Stream StringId - Specifies the ID of the log stream to which the flow logs belong.
- name String
- Specifies the name of the flow log.
- resource
Id String - Specifies the ID of the attachment to which the flow logs belong.
- resource
Type String - Specifies the type of the flow logs. The valid values are as follows:
- status String
- Specifies the status of the flow logs.
- instance
Id string - Specifies the ID of the ER instance to which the flow logs belong.
- enabled string
- Specifies the switch status of the flow log.
The value can be
true
andfalse
. - flow
Log stringId - Specifies the ID of the flow log.
- id string
- The ID of the flow log.
- log
Group stringId - Specifies the ID of the log group to which the flow logs belong.
- log
Stream stringId - Specifies the ID of the log stream to which the flow logs belong.
- name string
- Specifies the name of the flow log.
- resource
Id string - Specifies the ID of the attachment to which the flow logs belong.
- resource
Type string - Specifies the type of the flow logs. The valid values are as follows:
- status string
- Specifies the status of the flow logs.
- instance_
id str - Specifies the ID of the ER instance to which the flow logs belong.
- enabled str
- Specifies the switch status of the flow log.
The value can be
true
andfalse
. - flow_
log_ strid - Specifies the ID of the flow log.
- id str
- The ID of the flow log.
- log_
group_ strid - Specifies the ID of the log group to which the flow logs belong.
- log_
stream_ strid - Specifies the ID of the log stream to which the flow logs belong.
- name str
- Specifies the name of the flow log.
- resource_
id str - Specifies the ID of the attachment to which the flow logs belong.
- resource_
type str - Specifies the type of the flow logs. The valid values are as follows:
- status str
- Specifies the status of the flow logs.
- instance
Id String - Specifies the ID of the ER instance to which the flow logs belong.
- enabled String
- Specifies the switch status of the flow log.
The value can be
true
andfalse
. - flow
Log StringId - Specifies the ID of the flow log.
- id String
- The ID of the flow log.
- log
Group StringId - Specifies the ID of the log group to which the flow logs belong.
- log
Stream StringId - Specifies the ID of the log stream to which the flow logs belong.
- name String
- Specifies the name of the flow log.
- resource
Id String - Specifies the ID of the attachment to which the flow logs belong.
- resource
Type String - Specifies the type of the flow logs. The valid values are as follows:
- status String
- Specifies the status of the flow logs.
getErFlowLogsV3 Result
The following output properties are available:
- Flow
Logs List<GetEr Flow Logs V3Flow Log> - The list ot the flow logs. The flow_logs structure is documented below.
- Id string
- The ID of the flow log.
- Instance
Id string - Region string
- Region where the flow logs are located.
- Enabled string
- The switch of the flow log.
- Flow
Log stringId - Log
Group stringId - The ID of the log group to which the flow log belongs.
- Log
Stream stringId - The ID of the log stream to which the flow log belongs.
- Name string
- The name of the flow log.
- Resource
Id string - The ID of the attachment to which the flow log belongs.
- Resource
Type string - The type of the flow log.
- Status string
- The status of the flow log.
- Flow
Logs []GetEr Flow Logs V3Flow Log - The list ot the flow logs. The flow_logs structure is documented below.
- Id string
- The ID of the flow log.
- Instance
Id string - Region string
- Region where the flow logs are located.
- Enabled string
- The switch of the flow log.
- Flow
Log stringId - Log
Group stringId - The ID of the log group to which the flow log belongs.
- Log
Stream stringId - The ID of the log stream to which the flow log belongs.
- Name string
- The name of the flow log.
- Resource
Id string - The ID of the attachment to which the flow log belongs.
- Resource
Type string - The type of the flow log.
- Status string
- The status of the flow log.
- flow
Logs List<GetEr Flow Logs V3Flow Log> - The list ot the flow logs. The flow_logs structure is documented below.
- id String
- The ID of the flow log.
- instance
Id String - region String
- Region where the flow logs are located.
- enabled String
- The switch of the flow log.
- flow
Log StringId - log
Group StringId - The ID of the log group to which the flow log belongs.
- log
Stream StringId - The ID of the log stream to which the flow log belongs.
- name String
- The name of the flow log.
- resource
Id String - The ID of the attachment to which the flow log belongs.
- resource
Type String - The type of the flow log.
- status String
- The status of the flow log.
- flow
Logs GetEr Flow Logs V3Flow Log[] - The list ot the flow logs. The flow_logs structure is documented below.
- id string
- The ID of the flow log.
- instance
Id string - region string
- Region where the flow logs are located.
- enabled string
- The switch of the flow log.
- flow
Log stringId - log
Group stringId - The ID of the log group to which the flow log belongs.
- log
Stream stringId - The ID of the log stream to which the flow log belongs.
- name string
- The name of the flow log.
- resource
Id string - The ID of the attachment to which the flow log belongs.
- resource
Type string - The type of the flow log.
- status string
- The status of the flow log.
- flow_
logs Sequence[GetEr Flow Logs V3Flow Log] - The list ot the flow logs. The flow_logs structure is documented below.
- id str
- The ID of the flow log.
- instance_
id str - region str
- Region where the flow logs are located.
- enabled str
- The switch of the flow log.
- flow_
log_ strid - log_
group_ strid - The ID of the log group to which the flow log belongs.
- log_
stream_ strid - The ID of the log stream to which the flow log belongs.
- name str
- The name of the flow log.
- resource_
id str - The ID of the attachment to which the flow log belongs.
- resource_
type str - The type of the flow log.
- status str
- The status of the flow log.
- flow
Logs List<Property Map> - The list ot the flow logs. The flow_logs structure is documented below.
- id String
- The ID of the flow log.
- instance
Id String - region String
- Region where the flow logs are located.
- enabled String
- The switch of the flow log.
- flow
Log StringId - log
Group StringId - The ID of the log group to which the flow log belongs.
- log
Stream StringId - The ID of the log stream to which the flow log belongs.
- name String
- The name of the flow log.
- resource
Id String - The ID of the attachment to which the flow log belongs.
- resource
Type String - The type of the flow log.
- status String
- The status of the flow log.
Supporting Types
GetErFlowLogsV3FlowLog
- Created
At string - The creation time of the flow log.
- Description string
- The description of the flow log.
- Enabled bool
- Specifies the switch status of the flow log.
The value can be
true
andfalse
. - Id string
- The ID of the flow log.
- Log
Group stringId - Specifies the ID of the log group to which the flow logs belong.
- Log
Store stringType - The storage type of the flow log.
- Log
Stream stringId - Specifies the ID of the log stream to which the flow logs belong.
- Name string
- Specifies the name of the flow log.
- Resource
Id string - Specifies the ID of the attachment to which the flow logs belong.
- Resource
Type string - Specifies the type of the flow logs. The valid values are as follows:
- Status string
- Specifies the status of the flow logs.
- Updated
At string - The latest update time of the flow log.
- Created
At string - The creation time of the flow log.
- Description string
- The description of the flow log.
- Enabled bool
- Specifies the switch status of the flow log.
The value can be
true
andfalse
. - Id string
- The ID of the flow log.
- Log
Group stringId - Specifies the ID of the log group to which the flow logs belong.
- Log
Store stringType - The storage type of the flow log.
- Log
Stream stringId - Specifies the ID of the log stream to which the flow logs belong.
- Name string
- Specifies the name of the flow log.
- Resource
Id string - Specifies the ID of the attachment to which the flow logs belong.
- Resource
Type string - Specifies the type of the flow logs. The valid values are as follows:
- Status string
- Specifies the status of the flow logs.
- Updated
At string - The latest update time of the flow log.
- created
At String - The creation time of the flow log.
- description String
- The description of the flow log.
- enabled Boolean
- Specifies the switch status of the flow log.
The value can be
true
andfalse
. - id String
- The ID of the flow log.
- log
Group StringId - Specifies the ID of the log group to which the flow logs belong.
- log
Store StringType - The storage type of the flow log.
- log
Stream StringId - Specifies the ID of the log stream to which the flow logs belong.
- name String
- Specifies the name of the flow log.
- resource
Id String - Specifies the ID of the attachment to which the flow logs belong.
- resource
Type String - Specifies the type of the flow logs. The valid values are as follows:
- status String
- Specifies the status of the flow logs.
- updated
At String - The latest update time of the flow log.
- created
At string - The creation time of the flow log.
- description string
- The description of the flow log.
- enabled boolean
- Specifies the switch status of the flow log.
The value can be
true
andfalse
. - id string
- The ID of the flow log.
- log
Group stringId - Specifies the ID of the log group to which the flow logs belong.
- log
Store stringType - The storage type of the flow log.
- log
Stream stringId - Specifies the ID of the log stream to which the flow logs belong.
- name string
- Specifies the name of the flow log.
- resource
Id string - Specifies the ID of the attachment to which the flow logs belong.
- resource
Type string - Specifies the type of the flow logs. The valid values are as follows:
- status string
- Specifies the status of the flow logs.
- updated
At string - The latest update time of the flow log.
- created_
at str - The creation time of the flow log.
- description str
- The description of the flow log.
- enabled bool
- Specifies the switch status of the flow log.
The value can be
true
andfalse
. - id str
- The ID of the flow log.
- log_
group_ strid - Specifies the ID of the log group to which the flow logs belong.
- log_
store_ strtype - The storage type of the flow log.
- log_
stream_ strid - Specifies the ID of the log stream to which the flow logs belong.
- name str
- Specifies the name of the flow log.
- resource_
id str - Specifies the ID of the attachment to which the flow logs belong.
- resource_
type str - Specifies the type of the flow logs. The valid values are as follows:
- status str
- Specifies the status of the flow logs.
- updated_
at str - The latest update time of the flow log.
- created
At String - The creation time of the flow log.
- description String
- The description of the flow log.
- enabled Boolean
- Specifies the switch status of the flow log.
The value can be
true
andfalse
. - id String
- The ID of the flow log.
- log
Group StringId - Specifies the ID of the log group to which the flow logs belong.
- log
Store StringType - The storage type of the flow log.
- log
Stream StringId - Specifies the ID of the log stream to which the flow logs belong.
- name String
- Specifies the name of the flow log.
- resource
Id String - Specifies the ID of the attachment to which the flow logs belong.
- resource
Type String - Specifies the type of the flow logs. The valid values are as follows:
- status String
- Specifies the status of the flow logs.
- updated
At String - The latest update time of the flow log.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloud
Terraform Provider.
opentelekomcloud 1.36.44 published on Thursday, Jul 31, 2025 by opentelekomcloud