1. Packages
  2. Fortios
  3. API Docs
  4. user
  5. Devicegroup
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.user.Devicegroup

Explore with Pulumi AI

fortios logo
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

    Configure device groups. Applies to FortiOS Version <= 6.2.0.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trnames12 = new fortios.user.Device("trnames12", {
        alias: "user_devices2",
        category: "amazon-device",
        mac: "08:00:20:0a:1c:1d",
        type: "unknown",
    });
    const trname = new fortios.user.Devicegroup("trname", {members: [{
        name: trnames12.alias,
    }]});
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trnames12 = fortios.user.Device("trnames12",
        alias="user_devices2",
        category="amazon-device",
        mac="08:00:20:0a:1c:1d",
        type="unknown")
    trname = fortios.user.Devicegroup("trname", members=[fortios.user.DevicegroupMemberArgs(
        name=trnames12.alias,
    )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/user"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		trnames12, err := user.NewDevice(ctx, "trnames12", &user.DeviceArgs{
    			Alias:    pulumi.String("user_devices2"),
    			Category: pulumi.String("amazon-device"),
    			Mac:      pulumi.String("08:00:20:0a:1c:1d"),
    			Type:     pulumi.String("unknown"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = user.NewDevicegroup(ctx, "trname", &user.DevicegroupArgs{
    			Members: user.DevicegroupMemberArray{
    				&user.DevicegroupMemberArgs{
    					Name: trnames12.Alias,
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fortios = Pulumiverse.Fortios;
    
    return await Deployment.RunAsync(() => 
    {
        var trnames12 = new Fortios.User.Device("trnames12", new()
        {
            Alias = "user_devices2",
            Category = "amazon-device",
            Mac = "08:00:20:0a:1c:1d",
            Type = "unknown",
        });
    
        var trname = new Fortios.User.Devicegroup("trname", new()
        {
            Members = new[]
            {
                new Fortios.User.Inputs.DevicegroupMemberArgs
                {
                    Name = trnames12.Alias,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.user.Device;
    import com.pulumi.fortios.user.DeviceArgs;
    import com.pulumi.fortios.user.Devicegroup;
    import com.pulumi.fortios.user.DevicegroupArgs;
    import com.pulumi.fortios.user.inputs.DevicegroupMemberArgs;
    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 trnames12 = new Device("trnames12", DeviceArgs.builder()
                .alias("user_devices2")
                .category("amazon-device")
                .mac("08:00:20:0a:1c:1d")
                .type("unknown")
                .build());
    
            var trname = new Devicegroup("trname", DevicegroupArgs.builder()
                .members(DevicegroupMemberArgs.builder()
                    .name(trnames12.alias())
                    .build())
                .build());
    
        }
    }
    
    resources:
      trnames12:
        type: fortios:user:Device
        properties:
          alias: user_devices2
          category: amazon-device
          mac: 08:00:20:0a:1c:1d
          type: unknown
      trname:
        type: fortios:user:Devicegroup
        properties:
          members:
            - name: ${trnames12.alias}
    

    Create Devicegroup Resource

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

    Constructor syntax

    new Devicegroup(name: string, args?: DevicegroupArgs, opts?: CustomResourceOptions);
    @overload
    def Devicegroup(resource_name: str,
                    args: Optional[DevicegroupArgs] = None,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Devicegroup(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    comment: Optional[str] = None,
                    dynamic_sort_subtable: Optional[str] = None,
                    get_all_tables: Optional[str] = None,
                    members: Optional[Sequence[DevicegroupMemberArgs]] = None,
                    name: Optional[str] = None,
                    taggings: Optional[Sequence[DevicegroupTaggingArgs]] = None,
                    vdomparam: Optional[str] = None)
    func NewDevicegroup(ctx *Context, name string, args *DevicegroupArgs, opts ...ResourceOption) (*Devicegroup, error)
    public Devicegroup(string name, DevicegroupArgs? args = null, CustomResourceOptions? opts = null)
    public Devicegroup(String name, DevicegroupArgs args)
    public Devicegroup(String name, DevicegroupArgs args, CustomResourceOptions options)
    
    type: fortios:user:Devicegroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DevicegroupArgs
    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 DevicegroupArgs
    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 DevicegroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DevicegroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DevicegroupArgs
    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 devicegroupResource = new Fortios.User.Devicegroup("devicegroupResource", new()
    {
        Comment = "string",
        DynamicSortSubtable = "string",
        GetAllTables = "string",
        Members = new[]
        {
            new Fortios.User.Inputs.DevicegroupMemberArgs
            {
                Name = "string",
            },
        },
        Name = "string",
        Taggings = new[]
        {
            new Fortios.User.Inputs.DevicegroupTaggingArgs
            {
                Category = "string",
                Name = "string",
                Tags = new[]
                {
                    new Fortios.User.Inputs.DevicegroupTaggingTagArgs
                    {
                        Name = "string",
                    },
                },
            },
        },
        Vdomparam = "string",
    });
    
    example, err := user.NewDevicegroup(ctx, "devicegroupResource", &user.DevicegroupArgs{
    	Comment:             pulumi.String("string"),
    	DynamicSortSubtable: pulumi.String("string"),
    	GetAllTables:        pulumi.String("string"),
    	Members: user.DevicegroupMemberArray{
    		&user.DevicegroupMemberArgs{
    			Name: pulumi.String("string"),
    		},
    	},
    	Name: pulumi.String("string"),
    	Taggings: user.DevicegroupTaggingArray{
    		&user.DevicegroupTaggingArgs{
    			Category: pulumi.String("string"),
    			Name:     pulumi.String("string"),
    			Tags: user.DevicegroupTaggingTagArray{
    				&user.DevicegroupTaggingTagArgs{
    					Name: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	Vdomparam: pulumi.String("string"),
    })
    
    var devicegroupResource = new Devicegroup("devicegroupResource", DevicegroupArgs.builder()
        .comment("string")
        .dynamicSortSubtable("string")
        .getAllTables("string")
        .members(DevicegroupMemberArgs.builder()
            .name("string")
            .build())
        .name("string")
        .taggings(DevicegroupTaggingArgs.builder()
            .category("string")
            .name("string")
            .tags(DevicegroupTaggingTagArgs.builder()
                .name("string")
                .build())
            .build())
        .vdomparam("string")
        .build());
    
    devicegroup_resource = fortios.user.Devicegroup("devicegroupResource",
        comment="string",
        dynamic_sort_subtable="string",
        get_all_tables="string",
        members=[fortios.user.DevicegroupMemberArgs(
            name="string",
        )],
        name="string",
        taggings=[fortios.user.DevicegroupTaggingArgs(
            category="string",
            name="string",
            tags=[fortios.user.DevicegroupTaggingTagArgs(
                name="string",
            )],
        )],
        vdomparam="string")
    
    const devicegroupResource = new fortios.user.Devicegroup("devicegroupResource", {
        comment: "string",
        dynamicSortSubtable: "string",
        getAllTables: "string",
        members: [{
            name: "string",
        }],
        name: "string",
        taggings: [{
            category: "string",
            name: "string",
            tags: [{
                name: "string",
            }],
        }],
        vdomparam: "string",
    });
    
    type: fortios:user:Devicegroup
    properties:
        comment: string
        dynamicSortSubtable: string
        getAllTables: string
        members:
            - name: string
        name: string
        taggings:
            - category: string
              name: string
              tags:
                - name: string
        vdomparam: string
    

    Devicegroup Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Devicegroup resource accepts the following input properties:

    Comment string
    Comment.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Members List<Pulumiverse.Fortios.User.Inputs.DevicegroupMember>
    Device group member. The structure of member block is documented below.
    Name string
    Device group name.
    Taggings List<Pulumiverse.Fortios.User.Inputs.DevicegroupTagging>
    Config object tagging. The structure of tagging block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Comment string
    Comment.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Members []DevicegroupMemberArgs
    Device group member. The structure of member block is documented below.
    Name string
    Device group name.
    Taggings []DevicegroupTaggingArgs
    Config object tagging. The structure of tagging block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment String
    Comment.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    members List<DevicegroupMember>
    Device group member. The structure of member block is documented below.
    name String
    Device group name.
    taggings List<DevicegroupTagging>
    Config object tagging. The structure of tagging block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment string
    Comment.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    members DevicegroupMember[]
    Device group member. The structure of member block is documented below.
    name string
    Device group name.
    taggings DevicegroupTagging[]
    Config object tagging. The structure of tagging block is documented below.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment str
    Comment.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    members Sequence[DevicegroupMemberArgs]
    Device group member. The structure of member block is documented below.
    name str
    Device group name.
    taggings Sequence[DevicegroupTaggingArgs]
    Config object tagging. The structure of tagging block is documented below.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment String
    Comment.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    members List<Property Map>
    Device group member. The structure of member block is documented below.
    name String
    Device group name.
    taggings List<Property Map>
    Config object tagging. The structure of tagging block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Devicegroup 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 str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Devicegroup Resource

    Get an existing Devicegroup 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?: DevicegroupState, opts?: CustomResourceOptions): Devicegroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            comment: Optional[str] = None,
            dynamic_sort_subtable: Optional[str] = None,
            get_all_tables: Optional[str] = None,
            members: Optional[Sequence[DevicegroupMemberArgs]] = None,
            name: Optional[str] = None,
            taggings: Optional[Sequence[DevicegroupTaggingArgs]] = None,
            vdomparam: Optional[str] = None) -> Devicegroup
    func GetDevicegroup(ctx *Context, name string, id IDInput, state *DevicegroupState, opts ...ResourceOption) (*Devicegroup, error)
    public static Devicegroup Get(string name, Input<string> id, DevicegroupState? state, CustomResourceOptions? opts = null)
    public static Devicegroup get(String name, Output<String> id, DevicegroupState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    Comment string
    Comment.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Members List<Pulumiverse.Fortios.User.Inputs.DevicegroupMember>
    Device group member. The structure of member block is documented below.
    Name string
    Device group name.
    Taggings List<Pulumiverse.Fortios.User.Inputs.DevicegroupTagging>
    Config object tagging. The structure of tagging block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    Comment string
    Comment.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Members []DevicegroupMemberArgs
    Device group member. The structure of member block is documented below.
    Name string
    Device group name.
    Taggings []DevicegroupTaggingArgs
    Config object tagging. The structure of tagging block is documented below.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment String
    Comment.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    members List<DevicegroupMember>
    Device group member. The structure of member block is documented below.
    name String
    Device group name.
    taggings List<DevicegroupTagging>
    Config object tagging. The structure of tagging block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment string
    Comment.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    members DevicegroupMember[]
    Device group member. The structure of member block is documented below.
    name string
    Device group name.
    taggings DevicegroupTagging[]
    Config object tagging. The structure of tagging block is documented below.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment str
    Comment.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    members Sequence[DevicegroupMemberArgs]
    Device group member. The structure of member block is documented below.
    name str
    Device group name.
    taggings Sequence[DevicegroupTaggingArgs]
    Config object tagging. The structure of tagging block is documented below.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    comment String
    Comment.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwise, conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    members List<Property Map>
    Device group member. The structure of member block is documented below.
    name String
    Device group name.
    taggings List<Property Map>
    Config object tagging. The structure of tagging block is documented below.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

    Supporting Types

    DevicegroupMember, DevicegroupMemberArgs

    Name string
    Device name.
    Name string
    Device name.
    name String
    Device name.
    name string
    Device name.
    name str
    Device name.
    name String
    Device name.

    DevicegroupTagging, DevicegroupTaggingArgs

    Category string
    Tag category.
    Name string
    Tagging entry name.
    Tags List<Pulumiverse.Fortios.User.Inputs.DevicegroupTaggingTag>
    Tags. The structure of tags block is documented below.
    Category string
    Tag category.
    Name string
    Tagging entry name.
    Tags []DevicegroupTaggingTag
    Tags. The structure of tags block is documented below.
    category String
    Tag category.
    name String
    Tagging entry name.
    tags List<DevicegroupTaggingTag>
    Tags. The structure of tags block is documented below.
    category string
    Tag category.
    name string
    Tagging entry name.
    tags DevicegroupTaggingTag[]
    Tags. The structure of tags block is documented below.
    category str
    Tag category.
    name str
    Tagging entry name.
    tags Sequence[DevicegroupTaggingTag]
    Tags. The structure of tags block is documented below.
    category String
    Tag category.
    name String
    Tagging entry name.
    tags List<Property Map>
    Tags. The structure of tags block is documented below.

    DevicegroupTaggingTag, DevicegroupTaggingTagArgs

    Name string
    Tag name.
    Name string
    Tag name.
    name String
    Tag name.
    name string
    Tag name.
    name str
    Tag name.
    name String
    Tag name.

    Import

    User DeviceGroup can be imported using any of these accepted formats:

    $ pulumi import fortios:user/devicegroup:Devicegroup labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:user/devicegroup:Devicegroup labelname {{name}}
    

    $ unset “FORTIOS_IMPORT_TABLE”

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

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse