published on Friday, Nov 6, 2026 by tencentcloudstack
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: ModifyCfwManaged
- Read: DescribeOrganMembers
- Update: ModifyCfwManaged
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:
- Cfw
Managed double - Cloud firewall managed switch, 1: enable managed, 0: disable managed.
- Member
Id string - Target member id of the organization.
- Fwm
Cfw stringManaged Config Id - ID of the resource.
- Cfw
Managed float64 - Cloud firewall managed switch, 1: enable managed, 0: disable managed.
- Member
Id string - Target member id of the organization.
- Fwm
Cfw stringManaged Config Id - 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_ stringmanaged_ config_ id - ID of the resource.
- cfw
Managed Double - Cloud firewall managed switch, 1: enable managed, 0: disable managed.
- member
Id String - Target member id of the organization.
- fwm
Cfw StringManaged Config Id - 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 stringManaged Config Id - 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_ strmanaged_ config_ id - 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 StringManaged Config Id - 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) -> FwmCfwManagedConfigfunc 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.
- Cfw
Managed double - Cloud firewall managed switch, 1: enable managed, 0: disable managed.
- Fwm
Cfw stringManaged Config Id - ID of the resource.
- Member
Id string - Target member id of the organization.
- Cfw
Managed float64 - Cloud firewall managed switch, 1: enable managed, 0: disable managed.
- Fwm
Cfw stringManaged Config Id - ID of the resource.
- Member
Id string - Target member id of the organization.
- cfw_
managed number - Cloud firewall managed switch, 1: enable managed, 0: disable managed.
- fwm_
cfw_ stringmanaged_ config_ id - ID of the resource.
- member_
id string - Target member id of the organization.
- cfw
Managed Double - Cloud firewall managed switch, 1: enable managed, 0: disable managed.
- fwm
Cfw StringManaged Config Id - ID of the resource.
- member
Id String - Target member id of the organization.
- cfw
Managed number - Cloud firewall managed switch, 1: enable managed, 0: disable managed.
- fwm
Cfw stringManaged Config Id - ID of the resource.
- member
Id string - Target member id of the organization.
- cfw_
managed float - Cloud firewall managed switch, 1: enable managed, 0: disable managed.
- fwm_
cfw_ strmanaged_ config_ id - ID of the resource.
- member_
id str - Target member id of the organization.
- cfw
Managed Number - Cloud firewall managed switch, 1: enable managed, 0: disable managed.
- fwm
Cfw StringManaged Config Id - ID of the resource.
- member
Id 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
tencentcloudTerraform Provider.
published on Friday, Nov 6, 2026 by tencentcloudstack