1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. ErFlowLogV3
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.ErFlowLogV3

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Manages an Enterprise Router Flow Log resource within OpenTelekomCloud.

    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 logGroupId = config.requireObject("logGroupId");
    const logStreamId = config.requireObject("logStreamId");
    const resourceId = config.requireObject("resourceId");
    const flowLogName = config.requireObject("flowLogName");
    const test = new opentelekomcloud.ErFlowLogV3("test", {
        instanceId: instanceId,
        logStoreType: "LTS",
        logGroupId: logGroupId,
        logStreamId: logStreamId,
        resourceType: "attachment",
        resourceId: resourceId,
        description: "Created by terraform",
        enabled: false,
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    instance_id = config.require_object("instanceId")
    log_group_id = config.require_object("logGroupId")
    log_stream_id = config.require_object("logStreamId")
    resource_id = config.require_object("resourceId")
    flow_log_name = config.require_object("flowLogName")
    test = opentelekomcloud.ErFlowLogV3("test",
        instance_id=instance_id,
        log_store_type="LTS",
        log_group_id=log_group_id,
        log_stream_id=log_stream_id,
        resource_type="attachment",
        resource_id=resource_id,
        description="Created by terraform",
        enabled=False)
    
    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")
    		logGroupId := cfg.RequireObject("logGroupId")
    		logStreamId := cfg.RequireObject("logStreamId")
    		resourceId := cfg.RequireObject("resourceId")
    		flowLogName := cfg.RequireObject("flowLogName")
    		_, err := opentelekomcloud.NewErFlowLogV3(ctx, "test", &opentelekomcloud.ErFlowLogV3Args{
    			InstanceId:   pulumi.Any(instanceId),
    			LogStoreType: pulumi.String("LTS"),
    			LogGroupId:   pulumi.Any(logGroupId),
    			LogStreamId:  pulumi.Any(logStreamId),
    			ResourceType: pulumi.String("attachment"),
    			ResourceId:   pulumi.Any(resourceId),
    			Description:  pulumi.String("Created by terraform"),
    			Enabled:      pulumi.Bool(false),
    		})
    		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 logGroupId = config.RequireObject<dynamic>("logGroupId");
        var logStreamId = config.RequireObject<dynamic>("logStreamId");
        var resourceId = config.RequireObject<dynamic>("resourceId");
        var flowLogName = config.RequireObject<dynamic>("flowLogName");
        var test = new Opentelekomcloud.ErFlowLogV3("test", new()
        {
            InstanceId = instanceId,
            LogStoreType = "LTS",
            LogGroupId = logGroupId,
            LogStreamId = logStreamId,
            ResourceType = "attachment",
            ResourceId = resourceId,
            Description = "Created by terraform",
            Enabled = false,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.ErFlowLogV3;
    import com.pulumi.opentelekomcloud.ErFlowLogV3Args;
    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 logGroupId = config.get("logGroupId");
            final var logStreamId = config.get("logStreamId");
            final var resourceId = config.get("resourceId");
            final var flowLogName = config.get("flowLogName");
            var test = new ErFlowLogV3("test", ErFlowLogV3Args.builder()
                .instanceId(instanceId)
                .logStoreType("LTS")
                .logGroupId(logGroupId)
                .logStreamId(logStreamId)
                .resourceType("attachment")
                .resourceId(resourceId)
                .description("Created by terraform")
                .enabled(false)
                .build());
    
        }
    }
    
    configuration:
      instanceId:
        type: dynamic
      logGroupId:
        type: dynamic
      logStreamId:
        type: dynamic
      resourceId:
        type: dynamic
      flowLogName:
        type: dynamic
    resources:
      test:
        type: opentelekomcloud:ErFlowLogV3
        properties:
          instanceId: ${instanceId}
          logStoreType: LTS
          logGroupId: ${logGroupId}
          logStreamId: ${logStreamId}
          resourceType: attachment
          resourceId: ${resourceId}
          description: Created by terraform
          enabled: false
    

    Create ErFlowLogV3 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ErFlowLogV3(name: string, args: ErFlowLogV3Args, opts?: CustomResourceOptions);
    @overload
    def ErFlowLogV3(resource_name: str,
                    args: ErFlowLogV3Args,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def ErFlowLogV3(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    instance_id: Optional[str] = None,
                    log_group_id: Optional[str] = None,
                    log_store_type: Optional[str] = None,
                    log_stream_id: Optional[str] = None,
                    resource_id: Optional[str] = None,
                    resource_type: Optional[str] = None,
                    description: Optional[str] = None,
                    enabled: Optional[bool] = None,
                    er_flow_log_v3_id: Optional[str] = None,
                    name: Optional[str] = None,
                    timeouts: Optional[ErFlowLogV3TimeoutsArgs] = None)
    func NewErFlowLogV3(ctx *Context, name string, args ErFlowLogV3Args, opts ...ResourceOption) (*ErFlowLogV3, error)
    public ErFlowLogV3(string name, ErFlowLogV3Args args, CustomResourceOptions? opts = null)
    public ErFlowLogV3(String name, ErFlowLogV3Args args)
    public ErFlowLogV3(String name, ErFlowLogV3Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:ErFlowLogV3
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ErFlowLogV3Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ErFlowLogV3Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ErFlowLogV3Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ErFlowLogV3Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ErFlowLogV3Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var erFlowLogV3Resource = new Opentelekomcloud.ErFlowLogV3("erFlowLogV3Resource", new()
    {
        InstanceId = "string",
        LogGroupId = "string",
        LogStoreType = "string",
        LogStreamId = "string",
        ResourceId = "string",
        ResourceType = "string",
        Description = "string",
        Enabled = false,
        ErFlowLogV3Id = "string",
        Name = "string",
        Timeouts = new Opentelekomcloud.Inputs.ErFlowLogV3TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := opentelekomcloud.NewErFlowLogV3(ctx, "erFlowLogV3Resource", &opentelekomcloud.ErFlowLogV3Args{
    	InstanceId:    pulumi.String("string"),
    	LogGroupId:    pulumi.String("string"),
    	LogStoreType:  pulumi.String("string"),
    	LogStreamId:   pulumi.String("string"),
    	ResourceId:    pulumi.String("string"),
    	ResourceType:  pulumi.String("string"),
    	Description:   pulumi.String("string"),
    	Enabled:       pulumi.Bool(false),
    	ErFlowLogV3Id: pulumi.String("string"),
    	Name:          pulumi.String("string"),
    	Timeouts: &opentelekomcloud.ErFlowLogV3TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var erFlowLogV3Resource = new ErFlowLogV3("erFlowLogV3Resource", ErFlowLogV3Args.builder()
        .instanceId("string")
        .logGroupId("string")
        .logStoreType("string")
        .logStreamId("string")
        .resourceId("string")
        .resourceType("string")
        .description("string")
        .enabled(false)
        .erFlowLogV3Id("string")
        .name("string")
        .timeouts(ErFlowLogV3TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    er_flow_log_v3_resource = opentelekomcloud.ErFlowLogV3("erFlowLogV3Resource",
        instance_id="string",
        log_group_id="string",
        log_store_type="string",
        log_stream_id="string",
        resource_id="string",
        resource_type="string",
        description="string",
        enabled=False,
        er_flow_log_v3_id="string",
        name="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const erFlowLogV3Resource = new opentelekomcloud.ErFlowLogV3("erFlowLogV3Resource", {
        instanceId: "string",
        logGroupId: "string",
        logStoreType: "string",
        logStreamId: "string",
        resourceId: "string",
        resourceType: "string",
        description: "string",
        enabled: false,
        erFlowLogV3Id: "string",
        name: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: opentelekomcloud:ErFlowLogV3
    properties:
        description: string
        enabled: false
        erFlowLogV3Id: string
        instanceId: string
        logGroupId: string
        logStoreType: string
        logStreamId: string
        name: string
        resourceId: string
        resourceType: string
        timeouts:
            create: string
            delete: string
            update: string
    

    ErFlowLogV3 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ErFlowLogV3 resource accepts the following input properties:

    InstanceId string
    Specifies the ID of the ER instance to which the flow log belongs. Changing this creates a new resource.
    LogGroupId string
    Specifies the LTS log group ID. Changing this creates a new resource.
    LogStoreType string
    Specifies the storage type of flow log. The valid value is LTS. Changing this creates a new resource.
    LogStreamId string
    Specifies the LTS log stream ID. Changing this creates a new resource.
    ResourceId string
    Specifies the resource ID to which the logs to be collected. Changing this creates a new resource.
    ResourceType string
    Specifies the resource type to which the logs to be collected. The valid value is attachment. Changing this creates a new resource.
    Description string
    Specifies the description of the flow log.
    Enabled bool
    Specifies whether to enable the flow log function. The default value is true.
    ErFlowLogV3Id string
    The resource ID.
    Name string
    Specifies the name of the flow log.
    Timeouts ErFlowLogV3Timeouts
    InstanceId string
    Specifies the ID of the ER instance to which the flow log belongs. Changing this creates a new resource.
    LogGroupId string
    Specifies the LTS log group ID. Changing this creates a new resource.
    LogStoreType string
    Specifies the storage type of flow log. The valid value is LTS. Changing this creates a new resource.
    LogStreamId string
    Specifies the LTS log stream ID. Changing this creates a new resource.
    ResourceId string
    Specifies the resource ID to which the logs to be collected. Changing this creates a new resource.
    ResourceType string
    Specifies the resource type to which the logs to be collected. The valid value is attachment. Changing this creates a new resource.
    Description string
    Specifies the description of the flow log.
    Enabled bool
    Specifies whether to enable the flow log function. The default value is true.
    ErFlowLogV3Id string
    The resource ID.
    Name string
    Specifies the name of the flow log.
    Timeouts ErFlowLogV3TimeoutsArgs
    instanceId String
    Specifies the ID of the ER instance to which the flow log belongs. Changing this creates a new resource.
    logGroupId String
    Specifies the LTS log group ID. Changing this creates a new resource.
    logStoreType String
    Specifies the storage type of flow log. The valid value is LTS. Changing this creates a new resource.
    logStreamId String
    Specifies the LTS log stream ID. Changing this creates a new resource.
    resourceId String
    Specifies the resource ID to which the logs to be collected. Changing this creates a new resource.
    resourceType String
    Specifies the resource type to which the logs to be collected. The valid value is attachment. Changing this creates a new resource.
    description String
    Specifies the description of the flow log.
    enabled Boolean
    Specifies whether to enable the flow log function. The default value is true.
    erFlowLogV3Id String
    The resource ID.
    name String
    Specifies the name of the flow log.
    timeouts ErFlowLogV3Timeouts
    instanceId string
    Specifies the ID of the ER instance to which the flow log belongs. Changing this creates a new resource.
    logGroupId string
    Specifies the LTS log group ID. Changing this creates a new resource.
    logStoreType string
    Specifies the storage type of flow log. The valid value is LTS. Changing this creates a new resource.
    logStreamId string
    Specifies the LTS log stream ID. Changing this creates a new resource.
    resourceId string
    Specifies the resource ID to which the logs to be collected. Changing this creates a new resource.
    resourceType string
    Specifies the resource type to which the logs to be collected. The valid value is attachment. Changing this creates a new resource.
    description string
    Specifies the description of the flow log.
    enabled boolean
    Specifies whether to enable the flow log function. The default value is true.
    erFlowLogV3Id string
    The resource ID.
    name string
    Specifies the name of the flow log.
    timeouts ErFlowLogV3Timeouts
    instance_id str
    Specifies the ID of the ER instance to which the flow log belongs. Changing this creates a new resource.
    log_group_id str
    Specifies the LTS log group ID. Changing this creates a new resource.
    log_store_type str
    Specifies the storage type of flow log. The valid value is LTS. Changing this creates a new resource.
    log_stream_id str
    Specifies the LTS log stream ID. Changing this creates a new resource.
    resource_id str
    Specifies the resource ID to which the logs to be collected. Changing this creates a new resource.
    resource_type str
    Specifies the resource type to which the logs to be collected. The valid value is attachment. Changing this creates a new resource.
    description str
    Specifies the description of the flow log.
    enabled bool
    Specifies whether to enable the flow log function. The default value is true.
    er_flow_log_v3_id str
    The resource ID.
    name str
    Specifies the name of the flow log.
    timeouts ErFlowLogV3TimeoutsArgs
    instanceId String
    Specifies the ID of the ER instance to which the flow log belongs. Changing this creates a new resource.
    logGroupId String
    Specifies the LTS log group ID. Changing this creates a new resource.
    logStoreType String
    Specifies the storage type of flow log. The valid value is LTS. Changing this creates a new resource.
    logStreamId String
    Specifies the LTS log stream ID. Changing this creates a new resource.
    resourceId String
    Specifies the resource ID to which the logs to be collected. Changing this creates a new resource.
    resourceType String
    Specifies the resource type to which the logs to be collected. The valid value is attachment. Changing this creates a new resource.
    description String
    Specifies the description of the flow log.
    enabled Boolean
    Specifies whether to enable the flow log function. The default value is true.
    erFlowLogV3Id String
    The resource ID.
    name String
    Specifies the name of the flow log.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ErFlowLogV3 resource produces the following output properties:

    CreatedAt string
    The creation time of the flow log.
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    The region of the resource.
    State string
    The current status of the flow log.
    UpdatedAt string
    The latest update time of the flow log.
    CreatedAt string
    The creation time of the flow log.
    Id string
    The provider-assigned unique ID for this managed resource.
    Region string
    The region of the resource.
    State string
    The current status of the flow log.
    UpdatedAt string
    The latest update time of the flow log.
    createdAt String
    The creation time of the flow log.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    The region of the resource.
    state String
    The current status of the flow log.
    updatedAt String
    The latest update time of the flow log.
    createdAt string
    The creation time of the flow log.
    id string
    The provider-assigned unique ID for this managed resource.
    region string
    The region of the resource.
    state string
    The current status of the flow log.
    updatedAt string
    The latest update time of the flow log.
    created_at str
    The creation time of the flow log.
    id str
    The provider-assigned unique ID for this managed resource.
    region str
    The region of the resource.
    state str
    The current status of the flow log.
    updated_at str
    The latest update time of the flow log.
    createdAt String
    The creation time of the flow log.
    id String
    The provider-assigned unique ID for this managed resource.
    region String
    The region of the resource.
    state String
    The current status of the flow log.
    updatedAt String
    The latest update time of the flow log.

    Look up Existing ErFlowLogV3 Resource

    Get an existing ErFlowLogV3 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ErFlowLogV3State, opts?: CustomResourceOptions): ErFlowLogV3
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            enabled: Optional[bool] = None,
            er_flow_log_v3_id: Optional[str] = None,
            instance_id: Optional[str] = None,
            log_group_id: Optional[str] = None,
            log_store_type: Optional[str] = None,
            log_stream_id: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            resource_id: Optional[str] = None,
            resource_type: Optional[str] = None,
            state: Optional[str] = None,
            timeouts: Optional[ErFlowLogV3TimeoutsArgs] = None,
            updated_at: Optional[str] = None) -> ErFlowLogV3
    func GetErFlowLogV3(ctx *Context, name string, id IDInput, state *ErFlowLogV3State, opts ...ResourceOption) (*ErFlowLogV3, error)
    public static ErFlowLogV3 Get(string name, Input<string> id, ErFlowLogV3State? state, CustomResourceOptions? opts = null)
    public static ErFlowLogV3 get(String name, Output<String> id, ErFlowLogV3State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:ErFlowLogV3    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreatedAt string
    The creation time of the flow log.
    Description string
    Specifies the description of the flow log.
    Enabled bool
    Specifies whether to enable the flow log function. The default value is true.
    ErFlowLogV3Id string
    The resource ID.
    InstanceId string
    Specifies the ID of the ER instance to which the flow log belongs. Changing this creates a new resource.
    LogGroupId string
    Specifies the LTS log group ID. Changing this creates a new resource.
    LogStoreType string
    Specifies the storage type of flow log. The valid value is LTS. Changing this creates a new resource.
    LogStreamId string
    Specifies the LTS log stream ID. Changing this creates a new resource.
    Name string
    Specifies the name of the flow log.
    Region string
    The region of the resource.
    ResourceId string
    Specifies the resource ID to which the logs to be collected. Changing this creates a new resource.
    ResourceType string
    Specifies the resource type to which the logs to be collected. The valid value is attachment. Changing this creates a new resource.
    State string
    The current status of the flow log.
    Timeouts ErFlowLogV3Timeouts
    UpdatedAt string
    The latest update time of the flow log.
    CreatedAt string
    The creation time of the flow log.
    Description string
    Specifies the description of the flow log.
    Enabled bool
    Specifies whether to enable the flow log function. The default value is true.
    ErFlowLogV3Id string
    The resource ID.
    InstanceId string
    Specifies the ID of the ER instance to which the flow log belongs. Changing this creates a new resource.
    LogGroupId string
    Specifies the LTS log group ID. Changing this creates a new resource.
    LogStoreType string
    Specifies the storage type of flow log. The valid value is LTS. Changing this creates a new resource.
    LogStreamId string
    Specifies the LTS log stream ID. Changing this creates a new resource.
    Name string
    Specifies the name of the flow log.
    Region string
    The region of the resource.
    ResourceId string
    Specifies the resource ID to which the logs to be collected. Changing this creates a new resource.
    ResourceType string
    Specifies the resource type to which the logs to be collected. The valid value is attachment. Changing this creates a new resource.
    State string
    The current status of the flow log.
    Timeouts ErFlowLogV3TimeoutsArgs
    UpdatedAt string
    The latest update time of the flow log.
    createdAt String
    The creation time of the flow log.
    description String
    Specifies the description of the flow log.
    enabled Boolean
    Specifies whether to enable the flow log function. The default value is true.
    erFlowLogV3Id String
    The resource ID.
    instanceId String
    Specifies the ID of the ER instance to which the flow log belongs. Changing this creates a new resource.
    logGroupId String
    Specifies the LTS log group ID. Changing this creates a new resource.
    logStoreType String
    Specifies the storage type of flow log. The valid value is LTS. Changing this creates a new resource.
    logStreamId String
    Specifies the LTS log stream ID. Changing this creates a new resource.
    name String
    Specifies the name of the flow log.
    region String
    The region of the resource.
    resourceId String
    Specifies the resource ID to which the logs to be collected. Changing this creates a new resource.
    resourceType String
    Specifies the resource type to which the logs to be collected. The valid value is attachment. Changing this creates a new resource.
    state String
    The current status of the flow log.
    timeouts ErFlowLogV3Timeouts
    updatedAt String
    The latest update time of the flow log.
    createdAt string
    The creation time of the flow log.
    description string
    Specifies the description of the flow log.
    enabled boolean
    Specifies whether to enable the flow log function. The default value is true.
    erFlowLogV3Id string
    The resource ID.
    instanceId string
    Specifies the ID of the ER instance to which the flow log belongs. Changing this creates a new resource.
    logGroupId string
    Specifies the LTS log group ID. Changing this creates a new resource.
    logStoreType string
    Specifies the storage type of flow log. The valid value is LTS. Changing this creates a new resource.
    logStreamId string
    Specifies the LTS log stream ID. Changing this creates a new resource.
    name string
    Specifies the name of the flow log.
    region string
    The region of the resource.
    resourceId string
    Specifies the resource ID to which the logs to be collected. Changing this creates a new resource.
    resourceType string
    Specifies the resource type to which the logs to be collected. The valid value is attachment. Changing this creates a new resource.
    state string
    The current status of the flow log.
    timeouts ErFlowLogV3Timeouts
    updatedAt string
    The latest update time of the flow log.
    created_at str
    The creation time of the flow log.
    description str
    Specifies the description of the flow log.
    enabled bool
    Specifies whether to enable the flow log function. The default value is true.
    er_flow_log_v3_id str
    The resource ID.
    instance_id str
    Specifies the ID of the ER instance to which the flow log belongs. Changing this creates a new resource.
    log_group_id str
    Specifies the LTS log group ID. Changing this creates a new resource.
    log_store_type str
    Specifies the storage type of flow log. The valid value is LTS. Changing this creates a new resource.
    log_stream_id str
    Specifies the LTS log stream ID. Changing this creates a new resource.
    name str
    Specifies the name of the flow log.
    region str
    The region of the resource.
    resource_id str
    Specifies the resource ID to which the logs to be collected. Changing this creates a new resource.
    resource_type str
    Specifies the resource type to which the logs to be collected. The valid value is attachment. Changing this creates a new resource.
    state str
    The current status of the flow log.
    timeouts ErFlowLogV3TimeoutsArgs
    updated_at str
    The latest update time of the flow log.
    createdAt String
    The creation time of the flow log.
    description String
    Specifies the description of the flow log.
    enabled Boolean
    Specifies whether to enable the flow log function. The default value is true.
    erFlowLogV3Id String
    The resource ID.
    instanceId String
    Specifies the ID of the ER instance to which the flow log belongs. Changing this creates a new resource.
    logGroupId String
    Specifies the LTS log group ID. Changing this creates a new resource.
    logStoreType String
    Specifies the storage type of flow log. The valid value is LTS. Changing this creates a new resource.
    logStreamId String
    Specifies the LTS log stream ID. Changing this creates a new resource.
    name String
    Specifies the name of the flow log.
    region String
    The region of the resource.
    resourceId String
    Specifies the resource ID to which the logs to be collected. Changing this creates a new resource.
    resourceType String
    Specifies the resource type to which the logs to be collected. The valid value is attachment. Changing this creates a new resource.
    state String
    The current status of the flow log.
    timeouts Property Map
    updatedAt String
    The latest update time of the flow log.

    Supporting Types

    ErFlowLogV3Timeouts, ErFlowLogV3TimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    The flow log can be imported using the related instance_id and their id, separated by a slash (/), e.g.

    bash

    $ pulumi import opentelekomcloud:index/erFlowLogV3:ErFlowLogV3 test <instance_id>/<id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud