1. Registry
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. FwmAccountGroup
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 create a FWM (Edge firewall account group management) account group

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.FwmAccountGroup("example", {
        groupName: "tf-example",
        description: "remark.",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.FwmAccountGroup("example",
        group_name="tf-example",
        description="remark.")
    
    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.NewFwmAccountGroup(ctx, "example", &tencentcloud.FwmAccountGroupArgs{
    			GroupName:   pulumi.String("tf-example"),
    			Description: pulumi.String("remark."),
    		})
    		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.FwmAccountGroup("example", new()
        {
            GroupName = "tf-example",
            Description = "remark.",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.FwmAccountGroup;
    import com.pulumi.tencentcloud.FwmAccountGroupArgs;
    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 FwmAccountGroup("example", FwmAccountGroupArgs.builder()
                .groupName("tf-example")
                .description("remark.")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:FwmAccountGroup
        properties:
          groupName: tf-example
          description: remark.
    
    Example coming soon!
    

    API Reference

    This resource interacts with the following TencentCloud APIs:

    Create FwmAccountGroup Resource

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

    Constructor syntax

    new FwmAccountGroup(name: string, args: FwmAccountGroupArgs, opts?: CustomResourceOptions);
    @overload
    def FwmAccountGroup(resource_name: str,
                        args: FwmAccountGroupArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def FwmAccountGroup(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        group_name: Optional[str] = None,
                        description: Optional[str] = None,
                        fwm_account_group_id: Optional[str] = None)
    func NewFwmAccountGroup(ctx *Context, name string, args FwmAccountGroupArgs, opts ...ResourceOption) (*FwmAccountGroup, error)
    public FwmAccountGroup(string name, FwmAccountGroupArgs args, CustomResourceOptions? opts = null)
    public FwmAccountGroup(String name, FwmAccountGroupArgs args)
    public FwmAccountGroup(String name, FwmAccountGroupArgs args, CustomResourceOptions options)
    
    type: tencentcloud:FwmAccountGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_fwm_account_group" "name" {
        # resource properties
    }

    Parameters

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

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

    GroupName string
    Account group name, up to 50 characters, unique under the same admin AppId.
    Description string
    Description of the account group, only settable on create.
    FwmAccountGroupId string
    ID of the resource.
    GroupName string
    Account group name, up to 50 characters, unique under the same admin AppId.
    Description string
    Description of the account group, only settable on create.
    FwmAccountGroupId string
    ID of the resource.
    group_name string
    Account group name, up to 50 characters, unique under the same admin AppId.
    description string
    Description of the account group, only settable on create.
    fwm_account_group_id string
    ID of the resource.
    groupName String
    Account group name, up to 50 characters, unique under the same admin AppId.
    description String
    Description of the account group, only settable on create.
    fwmAccountGroupId String
    ID of the resource.
    groupName string
    Account group name, up to 50 characters, unique under the same admin AppId.
    description string
    Description of the account group, only settable on create.
    fwmAccountGroupId string
    ID of the resource.
    group_name str
    Account group name, up to 50 characters, unique under the same admin AppId.
    description str
    Description of the account group, only settable on create.
    fwm_account_group_id str
    ID of the resource.
    groupName String
    Account group name, up to 50 characters, unique under the same admin AppId.
    description String
    Description of the account group, only settable on create.
    fwmAccountGroupId String
    ID of the resource.

    Outputs

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

    CanDelete bool
    Whether the account group can be deleted.
    CreateTime string
    Create time of the account group.
    GroupId string
    Account group ID, e.g. acg-xxxxxxxx.
    Id string
    The provider-assigned unique ID for this managed resource.
    MemberCount double
    Member count of the account group.
    CanDelete bool
    Whether the account group can be deleted.
    CreateTime string
    Create time of the account group.
    GroupId string
    Account group ID, e.g. acg-xxxxxxxx.
    Id string
    The provider-assigned unique ID for this managed resource.
    MemberCount float64
    Member count of the account group.
    can_delete bool
    Whether the account group can be deleted.
    create_time string
    Create time of the account group.
    group_id string
    Account group ID, e.g. acg-xxxxxxxx.
    id string
    The provider-assigned unique ID for this managed resource.
    member_count number
    Member count of the account group.
    canDelete Boolean
    Whether the account group can be deleted.
    createTime String
    Create time of the account group.
    groupId String
    Account group ID, e.g. acg-xxxxxxxx.
    id String
    The provider-assigned unique ID for this managed resource.
    memberCount Double
    Member count of the account group.
    canDelete boolean
    Whether the account group can be deleted.
    createTime string
    Create time of the account group.
    groupId string
    Account group ID, e.g. acg-xxxxxxxx.
    id string
    The provider-assigned unique ID for this managed resource.
    memberCount number
    Member count of the account group.
    can_delete bool
    Whether the account group can be deleted.
    create_time str
    Create time of the account group.
    group_id str
    Account group ID, e.g. acg-xxxxxxxx.
    id str
    The provider-assigned unique ID for this managed resource.
    member_count float
    Member count of the account group.
    canDelete Boolean
    Whether the account group can be deleted.
    createTime String
    Create time of the account group.
    groupId String
    Account group ID, e.g. acg-xxxxxxxx.
    id String
    The provider-assigned unique ID for this managed resource.
    memberCount Number
    Member count of the account group.

    Look up Existing FwmAccountGroup Resource

    Get an existing FwmAccountGroup 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?: FwmAccountGroupState, opts?: CustomResourceOptions): FwmAccountGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            can_delete: Optional[bool] = None,
            create_time: Optional[str] = None,
            description: Optional[str] = None,
            fwm_account_group_id: Optional[str] = None,
            group_id: Optional[str] = None,
            group_name: Optional[str] = None,
            member_count: Optional[float] = None) -> FwmAccountGroup
    func GetFwmAccountGroup(ctx *Context, name string, id IDInput, state *FwmAccountGroupState, opts ...ResourceOption) (*FwmAccountGroup, error)
    public static FwmAccountGroup Get(string name, Input<string> id, FwmAccountGroupState? state, CustomResourceOptions? opts = null)
    public static FwmAccountGroup get(String name, Output<String> id, FwmAccountGroupState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:FwmAccountGroup    get:      id: ${id}
    import {
      to = tencentcloud_fwm_account_group.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:
    CanDelete bool
    Whether the account group can be deleted.
    CreateTime string
    Create time of the account group.
    Description string
    Description of the account group, only settable on create.
    FwmAccountGroupId string
    ID of the resource.
    GroupId string
    Account group ID, e.g. acg-xxxxxxxx.
    GroupName string
    Account group name, up to 50 characters, unique under the same admin AppId.
    MemberCount double
    Member count of the account group.
    CanDelete bool
    Whether the account group can be deleted.
    CreateTime string
    Create time of the account group.
    Description string
    Description of the account group, only settable on create.
    FwmAccountGroupId string
    ID of the resource.
    GroupId string
    Account group ID, e.g. acg-xxxxxxxx.
    GroupName string
    Account group name, up to 50 characters, unique under the same admin AppId.
    MemberCount float64
    Member count of the account group.
    can_delete bool
    Whether the account group can be deleted.
    create_time string
    Create time of the account group.
    description string
    Description of the account group, only settable on create.
    fwm_account_group_id string
    ID of the resource.
    group_id string
    Account group ID, e.g. acg-xxxxxxxx.
    group_name string
    Account group name, up to 50 characters, unique under the same admin AppId.
    member_count number
    Member count of the account group.
    canDelete Boolean
    Whether the account group can be deleted.
    createTime String
    Create time of the account group.
    description String
    Description of the account group, only settable on create.
    fwmAccountGroupId String
    ID of the resource.
    groupId String
    Account group ID, e.g. acg-xxxxxxxx.
    groupName String
    Account group name, up to 50 characters, unique under the same admin AppId.
    memberCount Double
    Member count of the account group.
    canDelete boolean
    Whether the account group can be deleted.
    createTime string
    Create time of the account group.
    description string
    Description of the account group, only settable on create.
    fwmAccountGroupId string
    ID of the resource.
    groupId string
    Account group ID, e.g. acg-xxxxxxxx.
    groupName string
    Account group name, up to 50 characters, unique under the same admin AppId.
    memberCount number
    Member count of the account group.
    can_delete bool
    Whether the account group can be deleted.
    create_time str
    Create time of the account group.
    description str
    Description of the account group, only settable on create.
    fwm_account_group_id str
    ID of the resource.
    group_id str
    Account group ID, e.g. acg-xxxxxxxx.
    group_name str
    Account group name, up to 50 characters, unique under the same admin AppId.
    member_count float
    Member count of the account group.
    canDelete Boolean
    Whether the account group can be deleted.
    createTime String
    Create time of the account group.
    description String
    Description of the account group, only settable on create.
    fwmAccountGroupId String
    ID of the resource.
    groupId String
    Account group ID, e.g. acg-xxxxxxxx.
    groupName String
    Account group name, up to 50 characters, unique under the same admin AppId.
    memberCount Number
    Member count of the account group.

    Import

    FWM account group can be imported using the GroupId, e.g.

    $ pulumi import tencentcloud:index/fwmAccountGroup:FwmAccountGroup example acg-nyalbmbi
    

    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