1. Packages
  2. Fortimanager Provider
  3. API Docs
  4. SystemAdminGroup
fortimanager 1.13.0 published on Thursday, Mar 13, 2025 by fortinetdev

fortimanager.SystemAdminGroup

Explore with Pulumi AI

User group.

The following variables have sub resource. Avoid using them together, otherwise conflicts and overwrites may occur.

  • member: fortimanager.SystemAdminGroupMember

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortimanager from "@pulumi/fortimanager";

const trname = new fortimanager.SystemAdminGroup("trname", {});
Copy
import pulumi
import pulumi_fortimanager as fortimanager

trname = fortimanager.SystemAdminGroup("trname")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/fortimanager/fortimanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fortimanager.NewSystemAdminGroup(ctx, "trname", nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortimanager = Pulumi.Fortimanager;

return await Deployment.RunAsync(() => 
{
    var trname = new Fortimanager.SystemAdminGroup("trname");

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortimanager.SystemAdminGroup;
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 trname = new SystemAdminGroup("trname");

    }
}
Copy
resources:
  trname:
    type: fortimanager:SystemAdminGroup
Copy

Create SystemAdminGroup Resource

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

Constructor syntax

new SystemAdminGroup(name: string, args?: SystemAdminGroupArgs, opts?: CustomResourceOptions);
@overload
def SystemAdminGroup(resource_name: str,
                     args: Optional[SystemAdminGroupArgs] = None,
                     opts: Optional[ResourceOptions] = None)

@overload
def SystemAdminGroup(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     dynamic_sort_subtable: Optional[str] = None,
                     members: Optional[Sequence[SystemAdminGroupMemberArgs]] = None,
                     name: Optional[str] = None,
                     system_admin_group_id: Optional[str] = None)
func NewSystemAdminGroup(ctx *Context, name string, args *SystemAdminGroupArgs, opts ...ResourceOption) (*SystemAdminGroup, error)
public SystemAdminGroup(string name, SystemAdminGroupArgs? args = null, CustomResourceOptions? opts = null)
public SystemAdminGroup(String name, SystemAdminGroupArgs args)
public SystemAdminGroup(String name, SystemAdminGroupArgs args, CustomResourceOptions options)
type: fortimanager:SystemAdminGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args SystemAdminGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args SystemAdminGroupArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args SystemAdminGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args SystemAdminGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SystemAdminGroupArgs
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 systemAdminGroupResource = new Fortimanager.SystemAdminGroup("systemAdminGroupResource", new()
{
    DynamicSortSubtable = "string",
    Members = new[]
    {
        new Fortimanager.Inputs.SystemAdminGroupMemberArgs
        {
            Name = "string",
        },
    },
    Name = "string",
    SystemAdminGroupId = "string",
});
Copy
example, err := fortimanager.NewSystemAdminGroup(ctx, "systemAdminGroupResource", &fortimanager.SystemAdminGroupArgs{
DynamicSortSubtable: pulumi.String("string"),
Members: .SystemAdminGroupMemberTypeArray{
&.SystemAdminGroupMemberTypeArgs{
Name: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
SystemAdminGroupId: pulumi.String("string"),
})
Copy
var systemAdminGroupResource = new SystemAdminGroup("systemAdminGroupResource", SystemAdminGroupArgs.builder()
    .dynamicSortSubtable("string")
    .members(SystemAdminGroupMemberArgs.builder()
        .name("string")
        .build())
    .name("string")
    .systemAdminGroupId("string")
    .build());
Copy
system_admin_group_resource = fortimanager.SystemAdminGroup("systemAdminGroupResource",
    dynamic_sort_subtable="string",
    members=[{
        "name": "string",
    }],
    name="string",
    system_admin_group_id="string")
Copy
const systemAdminGroupResource = new fortimanager.SystemAdminGroup("systemAdminGroupResource", {
    dynamicSortSubtable: "string",
    members: [{
        name: "string",
    }],
    name: "string",
    systemAdminGroupId: "string",
});
Copy
type: fortimanager:SystemAdminGroup
properties:
    dynamicSortSubtable: string
    members:
        - name: string
    name: string
    systemAdminGroupId: string
Copy

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

DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Members List<SystemAdminGroupMember>
Member. The structure of member block is documented below.
Name string
Name.
SystemAdminGroupId string
an identifier for the resource with format {{name}}.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Members []SystemAdminGroupMemberTypeArgs
Member. The structure of member block is documented below.
Name string
Name.
SystemAdminGroupId string
an identifier for the resource with format {{name}}.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
members List<SystemAdminGroupMember>
Member. The structure of member block is documented below.
name String
Name.
systemAdminGroupId String
an identifier for the resource with format {{name}}.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
members SystemAdminGroupMember[]
Member. The structure of member block is documented below.
name string
Name.
systemAdminGroupId string
an identifier for the resource with format {{name}}.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
members Sequence[SystemAdminGroupMemberArgs]
Member. The structure of member block is documented below.
name str
Name.
system_admin_group_id str
an identifier for the resource with format {{name}}.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
members List<Property Map>
Member. The structure of member block is documented below.
name String
Name.
systemAdminGroupId String
an identifier for the resource with format {{name}}.

Outputs

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

Get an existing SystemAdminGroup 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?: SystemAdminGroupState, opts?: CustomResourceOptions): SystemAdminGroup
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        dynamic_sort_subtable: Optional[str] = None,
        members: Optional[Sequence[SystemAdminGroupMemberArgs]] = None,
        name: Optional[str] = None,
        system_admin_group_id: Optional[str] = None) -> SystemAdminGroup
func GetSystemAdminGroup(ctx *Context, name string, id IDInput, state *SystemAdminGroupState, opts ...ResourceOption) (*SystemAdminGroup, error)
public static SystemAdminGroup Get(string name, Input<string> id, SystemAdminGroupState? state, CustomResourceOptions? opts = null)
public static SystemAdminGroup get(String name, Output<String> id, SystemAdminGroupState state, CustomResourceOptions options)
resources:  _:    type: fortimanager:SystemAdminGroup    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Members List<SystemAdminGroupMember>
Member. The structure of member block is documented below.
Name string
Name.
SystemAdminGroupId string
an identifier for the resource with format {{name}}.
DynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
Members []SystemAdminGroupMemberTypeArgs
Member. The structure of member block is documented below.
Name string
Name.
SystemAdminGroupId string
an identifier for the resource with format {{name}}.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
members List<SystemAdminGroupMember>
Member. The structure of member block is documented below.
name String
Name.
systemAdminGroupId String
an identifier for the resource with format {{name}}.
dynamicSortSubtable string
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
members SystemAdminGroupMember[]
Member. The structure of member block is documented below.
name string
Name.
systemAdminGroupId string
an identifier for the resource with format {{name}}.
dynamic_sort_subtable str
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
members Sequence[SystemAdminGroupMemberArgs]
Member. The structure of member block is documented below.
name str
Name.
system_admin_group_id str
an identifier for the resource with format {{name}}.
dynamicSortSubtable String
true or false, set this parameter to true when using dynamic for_each + toset to configure and sort sub-tables, please do not set this parameter when configuring static sub-tables.
members List<Property Map>
Member. The structure of member block is documented below.
name String
Name.
systemAdminGroupId String
an identifier for the resource with format {{name}}.

Supporting Types

SystemAdminGroupMember
, SystemAdminGroupMemberArgs

Name string
Group member name.
Name string
Group member name.
name String
Group member name.
name string
Group member name.
name str
Group member name.
name String
Group member name.

Import

System AdminGroup can be imported using any of these accepted formats:

$ export “FORTIMANAGER_IMPORT_TABLE”=“true”

$ pulumi import fortimanager:index/systemAdminGroup:SystemAdminGroup labelname {{name}}
Copy

$ unset “FORTIMANAGER_IMPORT_TABLE”

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

Package Details

Repository
fortimanager fortinetdev/terraform-provider-fortimanager
License
Notes
This Pulumi package is based on the fortimanager Terraform Provider.