1. Packages
  2. Packages
  3. Opentelekomcloud Provider
  4. API Docs
  5. CfwLogConfigurationV1
Viewing docs for opentelekomcloud 1.37.1
published on Thursday, Jul 9, 2026 by opentelekomcloud
Viewing docs for opentelekomcloud 1.37.1
published on Thursday, Jul 9, 2026 by opentelekomcloud

    Up-to-date reference of API arguments for CFW log configuration you can get at documentation portal

    Manages a CFW Log Configuration resource within OpenTelekomCloud.

    Example Usage

    Enabling LTS Log Configuration For A CFW Firewall

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const firewallId = config.requireObject<any>("firewallId");
    const groupId = config.requireObject<any>("groupId");
    const logConfig1 = new opentelekomcloud.CfwLogConfigurationV1("log_config_1", {
        fwInstanceId: firewallId,
        ltsEnable: 1,
        ltsLogGroupId: groupId,
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    firewall_id = config.require_object("firewallId")
    group_id = config.require_object("groupId")
    log_config1 = opentelekomcloud.CfwLogConfigurationV1("log_config_1",
        fw_instance_id=firewall_id,
        lts_enable=1,
        lts_log_group_id=group_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, "")
    		firewallId := cfg.RequireObject("firewallId")
    		groupId := cfg.RequireObject("groupId")
    		_, err := opentelekomcloud.NewCfwLogConfigurationV1(ctx, "log_config_1", &opentelekomcloud.CfwLogConfigurationV1Args{
    			FwInstanceId:  pulumi.Any(firewallId),
    			LtsEnable:     pulumi.Float64(1),
    			LtsLogGroupId: pulumi.Any(groupId),
    		})
    		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 firewallId = config.RequireObject<dynamic>("firewallId");
        var groupId = config.RequireObject<dynamic>("groupId");
        var logConfig1 = new Opentelekomcloud.CfwLogConfigurationV1("log_config_1", new()
        {
            FwInstanceId = firewallId,
            LtsEnable = 1,
            LtsLogGroupId = groupId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.CfwLogConfigurationV1;
    import com.pulumi.opentelekomcloud.CfwLogConfigurationV1Args;
    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 firewallId = config.get("firewallId");
            final var groupId = config.get("groupId");
            var logConfig1 = new CfwLogConfigurationV1("logConfig1", CfwLogConfigurationV1Args.builder()
                .fwInstanceId(firewallId)
                .ltsEnable(1.0)
                .ltsLogGroupId(groupId)
                .build());
    
        }
    }
    
    configuration:
      firewallId:
        type: dynamic
      groupId:
        type: dynamic
    resources:
      logConfig1:
        type: opentelekomcloud:CfwLogConfigurationV1
        name: log_config_1
        properties:
          fwInstanceId: ${firewallId}
          ltsEnable: 1
          ltsLogGroupId: ${groupId}
    
    Example coming soon!
    

    Create CfwLogConfigurationV1 Resource

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

    Constructor syntax

    new CfwLogConfigurationV1(name: string, args: CfwLogConfigurationV1Args, opts?: CustomResourceOptions);
    @overload
    def CfwLogConfigurationV1(resource_name: str,
                              args: CfwLogConfigurationV1Args,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def CfwLogConfigurationV1(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              fw_instance_id: Optional[str] = None,
                              lts_enable: Optional[float] = None,
                              lts_log_group_id: Optional[str] = None,
                              cfw_log_configuration_v1_id: Optional[str] = None,
                              enterprise_project_id: Optional[str] = None,
                              lts_access_log_stream_enable: Optional[float] = None,
                              lts_access_log_stream_id: Optional[str] = None,
                              lts_attack_log_stream_enable: Optional[float] = None,
                              lts_attack_log_stream_id: Optional[str] = None,
                              lts_flow_log_stream_enable: Optional[float] = None,
                              lts_flow_log_stream_id: Optional[str] = None,
                              timeouts: Optional[CfwLogConfigurationV1TimeoutsArgs] = None)
    func NewCfwLogConfigurationV1(ctx *Context, name string, args CfwLogConfigurationV1Args, opts ...ResourceOption) (*CfwLogConfigurationV1, error)
    public CfwLogConfigurationV1(string name, CfwLogConfigurationV1Args args, CustomResourceOptions? opts = null)
    public CfwLogConfigurationV1(String name, CfwLogConfigurationV1Args args)
    public CfwLogConfigurationV1(String name, CfwLogConfigurationV1Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:CfwLogConfigurationV1
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "opentelekomcloud_cfwlogconfigurationv1" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args CfwLogConfigurationV1Args
    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 CfwLogConfigurationV1Args
    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 CfwLogConfigurationV1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CfwLogConfigurationV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CfwLogConfigurationV1Args
    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 cfwLogConfigurationV1Resource = new Opentelekomcloud.CfwLogConfigurationV1("cfwLogConfigurationV1Resource", new()
    {
        FwInstanceId = "string",
        LtsEnable = 0,
        LtsLogGroupId = "string",
        CfwLogConfigurationV1Id = "string",
        EnterpriseProjectId = "string",
        LtsAccessLogStreamEnable = 0,
        LtsAccessLogStreamId = "string",
        LtsAttackLogStreamEnable = 0,
        LtsAttackLogStreamId = "string",
        LtsFlowLogStreamEnable = 0,
        LtsFlowLogStreamId = "string",
        Timeouts = new Opentelekomcloud.Inputs.CfwLogConfigurationV1TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := opentelekomcloud.NewCfwLogConfigurationV1(ctx, "cfwLogConfigurationV1Resource", &opentelekomcloud.CfwLogConfigurationV1Args{
    	FwInstanceId:             pulumi.String("string"),
    	LtsEnable:                pulumi.Float64(0),
    	LtsLogGroupId:            pulumi.String("string"),
    	CfwLogConfigurationV1Id:  pulumi.String("string"),
    	EnterpriseProjectId:      pulumi.String("string"),
    	LtsAccessLogStreamEnable: pulumi.Float64(0),
    	LtsAccessLogStreamId:     pulumi.String("string"),
    	LtsAttackLogStreamEnable: pulumi.Float64(0),
    	LtsAttackLogStreamId:     pulumi.String("string"),
    	LtsFlowLogStreamEnable:   pulumi.Float64(0),
    	LtsFlowLogStreamId:       pulumi.String("string"),
    	Timeouts: &opentelekomcloud.CfwLogConfigurationV1TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    resource "opentelekomcloud_cfwlogconfigurationv1" "cfwLogConfigurationV1Resource" {
      fw_instance_id               = "string"
      lts_enable                   = 0
      lts_log_group_id             = "string"
      cfw_log_configuration_v1_id  = "string"
      enterprise_project_id        = "string"
      lts_access_log_stream_enable = 0
      lts_access_log_stream_id     = "string"
      lts_attack_log_stream_enable = 0
      lts_attack_log_stream_id     = "string"
      lts_flow_log_stream_enable   = 0
      lts_flow_log_stream_id       = "string"
      timeouts = {
        create = "string"
        delete = "string"
        update = "string"
      }
    }
    
    var cfwLogConfigurationV1Resource = new CfwLogConfigurationV1("cfwLogConfigurationV1Resource", CfwLogConfigurationV1Args.builder()
        .fwInstanceId("string")
        .ltsEnable(0.0)
        .ltsLogGroupId("string")
        .cfwLogConfigurationV1Id("string")
        .enterpriseProjectId("string")
        .ltsAccessLogStreamEnable(0.0)
        .ltsAccessLogStreamId("string")
        .ltsAttackLogStreamEnable(0.0)
        .ltsAttackLogStreamId("string")
        .ltsFlowLogStreamEnable(0.0)
        .ltsFlowLogStreamId("string")
        .timeouts(CfwLogConfigurationV1TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    cfw_log_configuration_v1_resource = opentelekomcloud.CfwLogConfigurationV1("cfwLogConfigurationV1Resource",
        fw_instance_id="string",
        lts_enable=float(0),
        lts_log_group_id="string",
        cfw_log_configuration_v1_id="string",
        enterprise_project_id="string",
        lts_access_log_stream_enable=float(0),
        lts_access_log_stream_id="string",
        lts_attack_log_stream_enable=float(0),
        lts_attack_log_stream_id="string",
        lts_flow_log_stream_enable=float(0),
        lts_flow_log_stream_id="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const cfwLogConfigurationV1Resource = new opentelekomcloud.CfwLogConfigurationV1("cfwLogConfigurationV1Resource", {
        fwInstanceId: "string",
        ltsEnable: 0,
        ltsLogGroupId: "string",
        cfwLogConfigurationV1Id: "string",
        enterpriseProjectId: "string",
        ltsAccessLogStreamEnable: 0,
        ltsAccessLogStreamId: "string",
        ltsAttackLogStreamEnable: 0,
        ltsAttackLogStreamId: "string",
        ltsFlowLogStreamEnable: 0,
        ltsFlowLogStreamId: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: opentelekomcloud:CfwLogConfigurationV1
    properties:
        cfwLogConfigurationV1Id: string
        enterpriseProjectId: string
        fwInstanceId: string
        ltsAccessLogStreamEnable: 0
        ltsAccessLogStreamId: string
        ltsAttackLogStreamEnable: 0
        ltsAttackLogStreamId: string
        ltsEnable: 0
        ltsFlowLogStreamEnable: 0
        ltsFlowLogStreamId: string
        ltsLogGroupId: string
        timeouts:
            create: string
            delete: string
            update: string
    

    CfwLogConfigurationV1 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 CfwLogConfigurationV1 resource accepts the following input properties:

    FwInstanceId string
    Specifies the Cloud Firewall instance ID.
    LtsEnable double
    Specifies whether to enable the LTS service. Valid values are 0 (disable) and 1 (enable).
    LtsLogGroupId string
    Specifies the LTS log group ID. The value can be obtained by calling the LTS API for querying all log groups. The format is log_groups.log_group_id (the period [.] is used to separate different levels of objects).
    CfwLogConfigurationV1Id string
    Indicates the Cloud Firewall instance ID (same as fw_instance_id).
    EnterpriseProjectId string
    Specifies the enterprise project ID.
    LtsAccessLogStreamEnable double
    Specifies whether to enable the access control log stream. Valid values are 0 (disable, default) and 1 (enable).
    LtsAccessLogStreamId string
    Specifies the access control log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    LtsAttackLogStreamEnable double
    Specifies whether to enable the attack log stream. Valid values are 0 (disable, default) and 1 (enable).
    LtsAttackLogStreamId string
    Specifies the attack log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    LtsFlowLogStreamEnable double
    Specifies whether to enable the traffic log stream. Valid values are 0 (disable, default) and 1 (enable).
    LtsFlowLogStreamId string
    Specifies the traffic log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    Timeouts CfwLogConfigurationV1Timeouts
    FwInstanceId string
    Specifies the Cloud Firewall instance ID.
    LtsEnable float64
    Specifies whether to enable the LTS service. Valid values are 0 (disable) and 1 (enable).
    LtsLogGroupId string
    Specifies the LTS log group ID. The value can be obtained by calling the LTS API for querying all log groups. The format is log_groups.log_group_id (the period [.] is used to separate different levels of objects).
    CfwLogConfigurationV1Id string
    Indicates the Cloud Firewall instance ID (same as fw_instance_id).
    EnterpriseProjectId string
    Specifies the enterprise project ID.
    LtsAccessLogStreamEnable float64
    Specifies whether to enable the access control log stream. Valid values are 0 (disable, default) and 1 (enable).
    LtsAccessLogStreamId string
    Specifies the access control log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    LtsAttackLogStreamEnable float64
    Specifies whether to enable the attack log stream. Valid values are 0 (disable, default) and 1 (enable).
    LtsAttackLogStreamId string
    Specifies the attack log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    LtsFlowLogStreamEnable float64
    Specifies whether to enable the traffic log stream. Valid values are 0 (disable, default) and 1 (enable).
    LtsFlowLogStreamId string
    Specifies the traffic log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    Timeouts CfwLogConfigurationV1TimeoutsArgs
    fw_instance_id string
    Specifies the Cloud Firewall instance ID.
    lts_enable number
    Specifies whether to enable the LTS service. Valid values are 0 (disable) and 1 (enable).
    lts_log_group_id string
    Specifies the LTS log group ID. The value can be obtained by calling the LTS API for querying all log groups. The format is log_groups.log_group_id (the period [.] is used to separate different levels of objects).
    cfw_log_configuration_v1_id string
    Indicates the Cloud Firewall instance ID (same as fw_instance_id).
    enterprise_project_id string
    Specifies the enterprise project ID.
    lts_access_log_stream_enable number
    Specifies whether to enable the access control log stream. Valid values are 0 (disable, default) and 1 (enable).
    lts_access_log_stream_id string
    Specifies the access control log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    lts_attack_log_stream_enable number
    Specifies whether to enable the attack log stream. Valid values are 0 (disable, default) and 1 (enable).
    lts_attack_log_stream_id string
    Specifies the attack log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    lts_flow_log_stream_enable number
    Specifies whether to enable the traffic log stream. Valid values are 0 (disable, default) and 1 (enable).
    lts_flow_log_stream_id string
    Specifies the traffic log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    timeouts object
    fwInstanceId String
    Specifies the Cloud Firewall instance ID.
    ltsEnable Double
    Specifies whether to enable the LTS service. Valid values are 0 (disable) and 1 (enable).
    ltsLogGroupId String
    Specifies the LTS log group ID. The value can be obtained by calling the LTS API for querying all log groups. The format is log_groups.log_group_id (the period [.] is used to separate different levels of objects).
    cfwLogConfigurationV1Id String
    Indicates the Cloud Firewall instance ID (same as fw_instance_id).
    enterpriseProjectId String
    Specifies the enterprise project ID.
    ltsAccessLogStreamEnable Double
    Specifies whether to enable the access control log stream. Valid values are 0 (disable, default) and 1 (enable).
    ltsAccessLogStreamId String
    Specifies the access control log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    ltsAttackLogStreamEnable Double
    Specifies whether to enable the attack log stream. Valid values are 0 (disable, default) and 1 (enable).
    ltsAttackLogStreamId String
    Specifies the attack log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    ltsFlowLogStreamEnable Double
    Specifies whether to enable the traffic log stream. Valid values are 0 (disable, default) and 1 (enable).
    ltsFlowLogStreamId String
    Specifies the traffic log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    timeouts CfwLogConfigurationV1Timeouts
    fwInstanceId string
    Specifies the Cloud Firewall instance ID.
    ltsEnable number
    Specifies whether to enable the LTS service. Valid values are 0 (disable) and 1 (enable).
    ltsLogGroupId string
    Specifies the LTS log group ID. The value can be obtained by calling the LTS API for querying all log groups. The format is log_groups.log_group_id (the period [.] is used to separate different levels of objects).
    cfwLogConfigurationV1Id string
    Indicates the Cloud Firewall instance ID (same as fw_instance_id).
    enterpriseProjectId string
    Specifies the enterprise project ID.
    ltsAccessLogStreamEnable number
    Specifies whether to enable the access control log stream. Valid values are 0 (disable, default) and 1 (enable).
    ltsAccessLogStreamId string
    Specifies the access control log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    ltsAttackLogStreamEnable number
    Specifies whether to enable the attack log stream. Valid values are 0 (disable, default) and 1 (enable).
    ltsAttackLogStreamId string
    Specifies the attack log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    ltsFlowLogStreamEnable number
    Specifies whether to enable the traffic log stream. Valid values are 0 (disable, default) and 1 (enable).
    ltsFlowLogStreamId string
    Specifies the traffic log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    timeouts CfwLogConfigurationV1Timeouts
    fw_instance_id str
    Specifies the Cloud Firewall instance ID.
    lts_enable float
    Specifies whether to enable the LTS service. Valid values are 0 (disable) and 1 (enable).
    lts_log_group_id str
    Specifies the LTS log group ID. The value can be obtained by calling the LTS API for querying all log groups. The format is log_groups.log_group_id (the period [.] is used to separate different levels of objects).
    cfw_log_configuration_v1_id str
    Indicates the Cloud Firewall instance ID (same as fw_instance_id).
    enterprise_project_id str
    Specifies the enterprise project ID.
    lts_access_log_stream_enable float
    Specifies whether to enable the access control log stream. Valid values are 0 (disable, default) and 1 (enable).
    lts_access_log_stream_id str
    Specifies the access control log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    lts_attack_log_stream_enable float
    Specifies whether to enable the attack log stream. Valid values are 0 (disable, default) and 1 (enable).
    lts_attack_log_stream_id str
    Specifies the attack log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    lts_flow_log_stream_enable float
    Specifies whether to enable the traffic log stream. Valid values are 0 (disable, default) and 1 (enable).
    lts_flow_log_stream_id str
    Specifies the traffic log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    timeouts CfwLogConfigurationV1TimeoutsArgs
    fwInstanceId String
    Specifies the Cloud Firewall instance ID.
    ltsEnable Number
    Specifies whether to enable the LTS service. Valid values are 0 (disable) and 1 (enable).
    ltsLogGroupId String
    Specifies the LTS log group ID. The value can be obtained by calling the LTS API for querying all log groups. The format is log_groups.log_group_id (the period [.] is used to separate different levels of objects).
    cfwLogConfigurationV1Id String
    Indicates the Cloud Firewall instance ID (same as fw_instance_id).
    enterpriseProjectId String
    Specifies the enterprise project ID.
    ltsAccessLogStreamEnable Number
    Specifies whether to enable the access control log stream. Valid values are 0 (disable, default) and 1 (enable).
    ltsAccessLogStreamId String
    Specifies the access control log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    ltsAttackLogStreamEnable Number
    Specifies whether to enable the attack log stream. Valid values are 0 (disable, default) and 1 (enable).
    ltsAttackLogStreamId String
    Specifies the attack log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    ltsFlowLogStreamEnable Number
    Specifies whether to enable the traffic log stream. Valid values are 0 (disable, default) and 1 (enable).
    ltsFlowLogStreamId String
    Specifies the traffic log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    timeouts Property Map

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing CfwLogConfigurationV1 Resource

    Get an existing CfwLogConfigurationV1 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?: CfwLogConfigurationV1State, opts?: CustomResourceOptions): CfwLogConfigurationV1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cfw_log_configuration_v1_id: Optional[str] = None,
            enterprise_project_id: Optional[str] = None,
            fw_instance_id: Optional[str] = None,
            lts_access_log_stream_enable: Optional[float] = None,
            lts_access_log_stream_id: Optional[str] = None,
            lts_attack_log_stream_enable: Optional[float] = None,
            lts_attack_log_stream_id: Optional[str] = None,
            lts_enable: Optional[float] = None,
            lts_flow_log_stream_enable: Optional[float] = None,
            lts_flow_log_stream_id: Optional[str] = None,
            lts_log_group_id: Optional[str] = None,
            timeouts: Optional[CfwLogConfigurationV1TimeoutsArgs] = None) -> CfwLogConfigurationV1
    func GetCfwLogConfigurationV1(ctx *Context, name string, id IDInput, state *CfwLogConfigurationV1State, opts ...ResourceOption) (*CfwLogConfigurationV1, error)
    public static CfwLogConfigurationV1 Get(string name, Input<string> id, CfwLogConfigurationV1State? state, CustomResourceOptions? opts = null)
    public static CfwLogConfigurationV1 get(String name, Output<String> id, CfwLogConfigurationV1State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:CfwLogConfigurationV1    get:      id: ${id}
    import {
      to = opentelekomcloud_cfwlogconfigurationv1.example
      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:
    CfwLogConfigurationV1Id string
    Indicates the Cloud Firewall instance ID (same as fw_instance_id).
    EnterpriseProjectId string
    Specifies the enterprise project ID.
    FwInstanceId string
    Specifies the Cloud Firewall instance ID.
    LtsAccessLogStreamEnable double
    Specifies whether to enable the access control log stream. Valid values are 0 (disable, default) and 1 (enable).
    LtsAccessLogStreamId string
    Specifies the access control log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    LtsAttackLogStreamEnable double
    Specifies whether to enable the attack log stream. Valid values are 0 (disable, default) and 1 (enable).
    LtsAttackLogStreamId string
    Specifies the attack log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    LtsEnable double
    Specifies whether to enable the LTS service. Valid values are 0 (disable) and 1 (enable).
    LtsFlowLogStreamEnable double
    Specifies whether to enable the traffic log stream. Valid values are 0 (disable, default) and 1 (enable).
    LtsFlowLogStreamId string
    Specifies the traffic log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    LtsLogGroupId string
    Specifies the LTS log group ID. The value can be obtained by calling the LTS API for querying all log groups. The format is log_groups.log_group_id (the period [.] is used to separate different levels of objects).
    Timeouts CfwLogConfigurationV1Timeouts
    CfwLogConfigurationV1Id string
    Indicates the Cloud Firewall instance ID (same as fw_instance_id).
    EnterpriseProjectId string
    Specifies the enterprise project ID.
    FwInstanceId string
    Specifies the Cloud Firewall instance ID.
    LtsAccessLogStreamEnable float64
    Specifies whether to enable the access control log stream. Valid values are 0 (disable, default) and 1 (enable).
    LtsAccessLogStreamId string
    Specifies the access control log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    LtsAttackLogStreamEnable float64
    Specifies whether to enable the attack log stream. Valid values are 0 (disable, default) and 1 (enable).
    LtsAttackLogStreamId string
    Specifies the attack log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    LtsEnable float64
    Specifies whether to enable the LTS service. Valid values are 0 (disable) and 1 (enable).
    LtsFlowLogStreamEnable float64
    Specifies whether to enable the traffic log stream. Valid values are 0 (disable, default) and 1 (enable).
    LtsFlowLogStreamId string
    Specifies the traffic log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    LtsLogGroupId string
    Specifies the LTS log group ID. The value can be obtained by calling the LTS API for querying all log groups. The format is log_groups.log_group_id (the period [.] is used to separate different levels of objects).
    Timeouts CfwLogConfigurationV1TimeoutsArgs
    cfw_log_configuration_v1_id string
    Indicates the Cloud Firewall instance ID (same as fw_instance_id).
    enterprise_project_id string
    Specifies the enterprise project ID.
    fw_instance_id string
    Specifies the Cloud Firewall instance ID.
    lts_access_log_stream_enable number
    Specifies whether to enable the access control log stream. Valid values are 0 (disable, default) and 1 (enable).
    lts_access_log_stream_id string
    Specifies the access control log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    lts_attack_log_stream_enable number
    Specifies whether to enable the attack log stream. Valid values are 0 (disable, default) and 1 (enable).
    lts_attack_log_stream_id string
    Specifies the attack log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    lts_enable number
    Specifies whether to enable the LTS service. Valid values are 0 (disable) and 1 (enable).
    lts_flow_log_stream_enable number
    Specifies whether to enable the traffic log stream. Valid values are 0 (disable, default) and 1 (enable).
    lts_flow_log_stream_id string
    Specifies the traffic log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    lts_log_group_id string
    Specifies the LTS log group ID. The value can be obtained by calling the LTS API for querying all log groups. The format is log_groups.log_group_id (the period [.] is used to separate different levels of objects).
    timeouts object
    cfwLogConfigurationV1Id String
    Indicates the Cloud Firewall instance ID (same as fw_instance_id).
    enterpriseProjectId String
    Specifies the enterprise project ID.
    fwInstanceId String
    Specifies the Cloud Firewall instance ID.
    ltsAccessLogStreamEnable Double
    Specifies whether to enable the access control log stream. Valid values are 0 (disable, default) and 1 (enable).
    ltsAccessLogStreamId String
    Specifies the access control log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    ltsAttackLogStreamEnable Double
    Specifies whether to enable the attack log stream. Valid values are 0 (disable, default) and 1 (enable).
    ltsAttackLogStreamId String
    Specifies the attack log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    ltsEnable Double
    Specifies whether to enable the LTS service. Valid values are 0 (disable) and 1 (enable).
    ltsFlowLogStreamEnable Double
    Specifies whether to enable the traffic log stream. Valid values are 0 (disable, default) and 1 (enable).
    ltsFlowLogStreamId String
    Specifies the traffic log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    ltsLogGroupId String
    Specifies the LTS log group ID. The value can be obtained by calling the LTS API for querying all log groups. The format is log_groups.log_group_id (the period [.] is used to separate different levels of objects).
    timeouts CfwLogConfigurationV1Timeouts
    cfwLogConfigurationV1Id string
    Indicates the Cloud Firewall instance ID (same as fw_instance_id).
    enterpriseProjectId string
    Specifies the enterprise project ID.
    fwInstanceId string
    Specifies the Cloud Firewall instance ID.
    ltsAccessLogStreamEnable number
    Specifies whether to enable the access control log stream. Valid values are 0 (disable, default) and 1 (enable).
    ltsAccessLogStreamId string
    Specifies the access control log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    ltsAttackLogStreamEnable number
    Specifies whether to enable the attack log stream. Valid values are 0 (disable, default) and 1 (enable).
    ltsAttackLogStreamId string
    Specifies the attack log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    ltsEnable number
    Specifies whether to enable the LTS service. Valid values are 0 (disable) and 1 (enable).
    ltsFlowLogStreamEnable number
    Specifies whether to enable the traffic log stream. Valid values are 0 (disable, default) and 1 (enable).
    ltsFlowLogStreamId string
    Specifies the traffic log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    ltsLogGroupId string
    Specifies the LTS log group ID. The value can be obtained by calling the LTS API for querying all log groups. The format is log_groups.log_group_id (the period [.] is used to separate different levels of objects).
    timeouts CfwLogConfigurationV1Timeouts
    cfw_log_configuration_v1_id str
    Indicates the Cloud Firewall instance ID (same as fw_instance_id).
    enterprise_project_id str
    Specifies the enterprise project ID.
    fw_instance_id str
    Specifies the Cloud Firewall instance ID.
    lts_access_log_stream_enable float
    Specifies whether to enable the access control log stream. Valid values are 0 (disable, default) and 1 (enable).
    lts_access_log_stream_id str
    Specifies the access control log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    lts_attack_log_stream_enable float
    Specifies whether to enable the attack log stream. Valid values are 0 (disable, default) and 1 (enable).
    lts_attack_log_stream_id str
    Specifies the attack log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    lts_enable float
    Specifies whether to enable the LTS service. Valid values are 0 (disable) and 1 (enable).
    lts_flow_log_stream_enable float
    Specifies whether to enable the traffic log stream. Valid values are 0 (disable, default) and 1 (enable).
    lts_flow_log_stream_id str
    Specifies the traffic log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    lts_log_group_id str
    Specifies the LTS log group ID. The value can be obtained by calling the LTS API for querying all log groups. The format is log_groups.log_group_id (the period [.] is used to separate different levels of objects).
    timeouts CfwLogConfigurationV1TimeoutsArgs
    cfwLogConfigurationV1Id String
    Indicates the Cloud Firewall instance ID (same as fw_instance_id).
    enterpriseProjectId String
    Specifies the enterprise project ID.
    fwInstanceId String
    Specifies the Cloud Firewall instance ID.
    ltsAccessLogStreamEnable Number
    Specifies whether to enable the access control log stream. Valid values are 0 (disable, default) and 1 (enable).
    ltsAccessLogStreamId String
    Specifies the access control log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    ltsAttackLogStreamEnable Number
    Specifies whether to enable the attack log stream. Valid values are 0 (disable, default) and 1 (enable).
    ltsAttackLogStreamId String
    Specifies the attack log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    ltsEnable Number
    Specifies whether to enable the LTS service. Valid values are 0 (disable) and 1 (enable).
    ltsFlowLogStreamEnable Number
    Specifies whether to enable the traffic log stream. Valid values are 0 (disable, default) and 1 (enable).
    ltsFlowLogStreamId String
    Specifies the traffic log stream ID. The value can be obtained by calling the LTS API for querying all log streams in a specified log group.
    ltsLogGroupId String
    Specifies the LTS log group ID. The value can be obtained by calling the LTS API for querying all log groups. The format is log_groups.log_group_id (the period [.] is used to separate different levels of objects).
    timeouts Property Map

    Supporting Types

    CfwLogConfigurationV1Timeouts, CfwLogConfigurationV1TimeoutsArgs

    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 string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    Viewing docs for opentelekomcloud 1.37.1
    published on Thursday, Jul 9, 2026 by opentelekomcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial