1. Registry
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. FwmCfwManagedConfig
Viewing docs for tencentcloud 1.83.41
published on Friday, Nov 6, 2026 by tencentcloudstack
tencentcloud
Viewing docs for tencentcloud 1.83.41
published on Friday, Nov 6, 2026 by tencentcloudstack

    Provides a resource to manage the cloud firewall managed switch of an organization member for the fwm (Cloud Firewall Managed) product.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.FwmCfwManagedConfig("example", {
        memberId: "mem-tencent-84035535ae473b76",
        cfwManaged: 1,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.FwmCfwManagedConfig("example",
        member_id="mem-tencent-84035535ae473b76",
        cfw_managed=1)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewFwmCfwManagedConfig(ctx, "example", &tencentcloud.FwmCfwManagedConfigArgs{
    			MemberId:   pulumi.String("mem-tencent-84035535ae473b76"),
    			CfwManaged: pulumi.Float64(1),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.FwmCfwManagedConfig("example", new()
        {
            MemberId = "mem-tencent-84035535ae473b76",
            CfwManaged = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.FwmCfwManagedConfig;
    import com.pulumi.tencentcloud.FwmCfwManagedConfigArgs;
    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) {
            var example = new FwmCfwManagedConfig("example", FwmCfwManagedConfigArgs.builder()
                .memberId("mem-tencent-84035535ae473b76")
                .cfwManaged(1.0)
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:FwmCfwManagedConfig
        properties:
          memberId: mem-tencent-84035535ae473b76
          cfwManaged: 1
    
    Example coming soon!
    

    API Reference

    This resource interacts with the following TencentCloud APIs:

    Create FwmCfwManagedConfig Resource

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

    Constructor syntax

    new FwmCfwManagedConfig(name: string, args: FwmCfwManagedConfigArgs, opts?: CustomResourceOptions);
    @overload
    def FwmCfwManagedConfig(resource_name: str,
                            args: FwmCfwManagedConfigArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def FwmCfwManagedConfig(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            cfw_managed: Optional[float] = None,
                            member_id: Optional[str] = None,
                            fwm_cfw_managed_config_id: Optional[str] = None)
    func NewFwmCfwManagedConfig(ctx *Context, name string, args FwmCfwManagedConfigArgs, opts ...ResourceOption) (*FwmCfwManagedConfig, error)
    public FwmCfwManagedConfig(string name, FwmCfwManagedConfigArgs args, CustomResourceOptions? opts = null)
    public FwmCfwManagedConfig(String name, FwmCfwManagedConfigArgs args)
    public FwmCfwManagedConfig(String name, FwmCfwManagedConfigArgs args, CustomResourceOptions options)
    
    type: tencentcloud:FwmCfwManagedConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_fwm_cfw_managed_config" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args FwmCfwManagedConfigArgs
    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 FwmCfwManagedConfigArgs
    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 FwmCfwManagedConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FwmCfwManagedConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FwmCfwManagedConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    CfwManaged double
    Cloud firewall managed switch, 1: enable managed, 0: disable managed.
    MemberId string
    Target member id of the organization.
    FwmCfwManagedConfigId string
    ID of the resource.
    CfwManaged float64
    Cloud firewall managed switch, 1: enable managed, 0: disable managed.
    MemberId string
    Target member id of the organization.
    FwmCfwManagedConfigId string
    ID of the resource.
    cfw_managed number
    Cloud firewall managed switch, 1: enable managed, 0: disable managed.
    member_id string
    Target member id of the organization.
    fwm_cfw_managed_config_id string
    ID of the resource.
    cfwManaged Double
    Cloud firewall managed switch, 1: enable managed, 0: disable managed.
    memberId String
    Target member id of the organization.
    fwmCfwManagedConfigId String
    ID of the resource.
    cfwManaged number
    Cloud firewall managed switch, 1: enable managed, 0: disable managed.
    memberId string
    Target member id of the organization.
    fwmCfwManagedConfigId string
    ID of the resource.
    cfw_managed float
    Cloud firewall managed switch, 1: enable managed, 0: disable managed.
    member_id str
    Target member id of the organization.
    fwm_cfw_managed_config_id str
    ID of the resource.
    cfwManaged Number
    Cloud firewall managed switch, 1: enable managed, 0: disable managed.
    memberId String
    Target member id of the organization.
    fwmCfwManagedConfigId String
    ID of the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the FwmCfwManagedConfig 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 FwmCfwManagedConfig Resource

    Get an existing FwmCfwManagedConfig 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?: FwmCfwManagedConfigState, opts?: CustomResourceOptions): FwmCfwManagedConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cfw_managed: Optional[float] = None,
            fwm_cfw_managed_config_id: Optional[str] = None,
            member_id: Optional[str] = None) -> FwmCfwManagedConfig
    func GetFwmCfwManagedConfig(ctx *Context, name string, id IDInput, state *FwmCfwManagedConfigState, opts ...ResourceOption) (*FwmCfwManagedConfig, error)
    public static FwmCfwManagedConfig Get(string name, Input<string> id, FwmCfwManagedConfigState? state, CustomResourceOptions? opts = null)
    public static FwmCfwManagedConfig get(String name, Output<String> id, FwmCfwManagedConfigState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:FwmCfwManagedConfig    get:      id: ${id}
    import {
      to = tencentcloud_fwm_cfw_managed_config.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:
    CfwManaged double
    Cloud firewall managed switch, 1: enable managed, 0: disable managed.
    FwmCfwManagedConfigId string
    ID of the resource.
    MemberId string
    Target member id of the organization.
    CfwManaged float64
    Cloud firewall managed switch, 1: enable managed, 0: disable managed.
    FwmCfwManagedConfigId string
    ID of the resource.
    MemberId string
    Target member id of the organization.
    cfw_managed number
    Cloud firewall managed switch, 1: enable managed, 0: disable managed.
    fwm_cfw_managed_config_id string
    ID of the resource.
    member_id string
    Target member id of the organization.
    cfwManaged Double
    Cloud firewall managed switch, 1: enable managed, 0: disable managed.
    fwmCfwManagedConfigId String
    ID of the resource.
    memberId String
    Target member id of the organization.
    cfwManaged number
    Cloud firewall managed switch, 1: enable managed, 0: disable managed.
    fwmCfwManagedConfigId string
    ID of the resource.
    memberId string
    Target member id of the organization.
    cfw_managed float
    Cloud firewall managed switch, 1: enable managed, 0: disable managed.
    fwm_cfw_managed_config_id str
    ID of the resource.
    member_id str
    Target member id of the organization.
    cfwManaged Number
    Cloud firewall managed switch, 1: enable managed, 0: disable managed.
    fwmCfwManagedConfigId String
    ID of the resource.
    memberId String
    Target member id of the organization.

    Import

    fwm cfw managed can be imported using the composite id, e.g.

    $ pulumi import tencentcloud:index/fwmCfwManagedConfig:FwmCfwManagedConfig example mem-tencent-84035535ae473b76
    

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

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud
    Viewing docs for tencentcloud 1.83.41
    published on Friday, Nov 6, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial