published on Friday, Nov 6, 2026 by tencentcloudstack
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: CreateAccountGroup
- Read: DescribeAccountGroups
- Update: ModifyAccountGroup
- Delete: DeleteAccountGroup
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:
- 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 stringGroup Id - 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 stringGroup Id - 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_ stringgroup_ id - 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 StringGroup Id - 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 stringGroup Id - 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_ strgroup_ id - 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 StringGroup Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the FwmAccountGroup resource produces the following output properties:
- 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 double - 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 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.
- can
Delete Boolean - 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 Double - Member count of the account group.
- can
Delete boolean - 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.
- 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.
- can
Delete Boolean - 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.
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) -> FwmAccountGroupfunc 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.
- 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 stringGroup Id - 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 double - 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 stringGroup Id - 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 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_ stringgroup_ id - 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.
- can
Delete Boolean - 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 StringGroup Id - 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 Double - Member count of the account group.
- can
Delete boolean - 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 stringGroup Id - 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.
- 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_ strgroup_ id - 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.
- can
Delete Boolean - 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 StringGroup Id - 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.
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
tencentcloudTerraform Provider.
published on Friday, Nov 6, 2026 by tencentcloudstack