fortios.user.Group
Explore with Pulumi AI
Configure user groups.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const trname = new fortios.user.Group("trname", {
company: "optional",
email: "enable",
expire: 14400,
expireType: "immediately",
groupType: "firewall",
maxAccounts: 0,
members: [{
name: "guest",
}],
mobilePhone: "disable",
multipleGuestAdd: "disable",
});
import pulumi
import pulumiverse_fortios as fortios
trname = fortios.user.Group("trname",
company="optional",
email="enable",
expire=14400,
expire_type="immediately",
group_type="firewall",
max_accounts=0,
members=[fortios.user.GroupMemberArgs(
name="guest",
)],
mobile_phone="disable",
multiple_guest_add="disable")
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 {
_, err := user.NewGroup(ctx, "trname", &user.GroupArgs{
Company: pulumi.String("optional"),
Email: pulumi.String("enable"),
Expire: pulumi.Int(14400),
ExpireType: pulumi.String("immediately"),
GroupType: pulumi.String("firewall"),
MaxAccounts: pulumi.Int(0),
Members: user.GroupMemberArray{
&user.GroupMemberArgs{
Name: pulumi.String("guest"),
},
},
MobilePhone: pulumi.String("disable"),
MultipleGuestAdd: pulumi.String("disable"),
})
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 trname = new Fortios.User.Group("trname", new()
{
Company = "optional",
Email = "enable",
Expire = 14400,
ExpireType = "immediately",
GroupType = "firewall",
MaxAccounts = 0,
Members = new[]
{
new Fortios.User.Inputs.GroupMemberArgs
{
Name = "guest",
},
},
MobilePhone = "disable",
MultipleGuestAdd = "disable",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.user.Group;
import com.pulumi.fortios.user.GroupArgs;
import com.pulumi.fortios.user.inputs.GroupMemberArgs;
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 Group("trname", GroupArgs.builder()
.company("optional")
.email("enable")
.expire(14400)
.expireType("immediately")
.groupType("firewall")
.maxAccounts(0)
.members(GroupMemberArgs.builder()
.name("guest")
.build())
.mobilePhone("disable")
.multipleGuestAdd("disable")
.build());
}
}
resources:
trname:
type: fortios:user:Group
properties:
company: optional
email: enable
expire: 14400
expireType: immediately
groupType: firewall
maxAccounts: 0
members:
- name: guest
mobilePhone: disable
multipleGuestAdd: disable
Create Group Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Group(name: string, args?: GroupArgs, opts?: CustomResourceOptions);
@overload
def Group(resource_name: str,
args: Optional[GroupArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Group(resource_name: str,
opts: Optional[ResourceOptions] = None,
auth_concurrent_override: Optional[str] = None,
auth_concurrent_value: Optional[int] = None,
authtimeout: Optional[int] = None,
company: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
email: Optional[str] = None,
expire: Optional[int] = None,
expire_type: Optional[str] = None,
fosid: Optional[int] = None,
get_all_tables: Optional[str] = None,
group_type: Optional[str] = None,
guests: Optional[Sequence[GroupGuestArgs]] = None,
http_digest_realm: Optional[str] = None,
matches: Optional[Sequence[GroupMatchArgs]] = None,
max_accounts: Optional[int] = None,
members: Optional[Sequence[GroupMemberArgs]] = None,
mobile_phone: Optional[str] = None,
multiple_guest_add: Optional[str] = None,
name: Optional[str] = None,
password: Optional[str] = None,
sms_custom_server: Optional[str] = None,
sms_server: Optional[str] = None,
sponsor: Optional[str] = None,
sso_attribute_value: Optional[str] = None,
user_id: Optional[str] = None,
user_name: Optional[str] = None,
vdomparam: Optional[str] = None)
func NewGroup(ctx *Context, name string, args *GroupArgs, opts ...ResourceOption) (*Group, error)
public Group(string name, GroupArgs? args = null, CustomResourceOptions? opts = null)
type: fortios:user:Group
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 GroupArgs
- 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 GroupArgs
- 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 GroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GroupArgs
- 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 examplegroupResourceResourceFromUsergroup = new Fortios.User.Group("examplegroupResourceResourceFromUsergroup", new()
{
AuthConcurrentOverride = "string",
AuthConcurrentValue = 0,
Authtimeout = 0,
Company = "string",
DynamicSortSubtable = "string",
Email = "string",
Expire = 0,
ExpireType = "string",
Fosid = 0,
GetAllTables = "string",
GroupType = "string",
Guests = new[]
{
new Fortios.User.Inputs.GroupGuestArgs
{
Comment = "string",
Company = "string",
Email = "string",
Expiration = "string",
Id = 0,
MobilePhone = "string",
Name = "string",
Password = "string",
Sponsor = "string",
UserId = "string",
},
},
HttpDigestRealm = "string",
Matches = new[]
{
new Fortios.User.Inputs.GroupMatchArgs
{
GroupName = "string",
Id = 0,
ServerName = "string",
},
},
MaxAccounts = 0,
Members = new[]
{
new Fortios.User.Inputs.GroupMemberArgs
{
Name = "string",
},
},
MobilePhone = "string",
MultipleGuestAdd = "string",
Name = "string",
Password = "string",
SmsCustomServer = "string",
SmsServer = "string",
Sponsor = "string",
SsoAttributeValue = "string",
UserId = "string",
UserName = "string",
Vdomparam = "string",
});
example, err := user.NewGroup(ctx, "examplegroupResourceResourceFromUsergroup", &user.GroupArgs{
AuthConcurrentOverride: pulumi.String("string"),
AuthConcurrentValue: pulumi.Int(0),
Authtimeout: pulumi.Int(0),
Company: pulumi.String("string"),
DynamicSortSubtable: pulumi.String("string"),
Email: pulumi.String("string"),
Expire: pulumi.Int(0),
ExpireType: pulumi.String("string"),
Fosid: pulumi.Int(0),
GetAllTables: pulumi.String("string"),
GroupType: pulumi.String("string"),
Guests: user.GroupGuestArray{
&user.GroupGuestArgs{
Comment: pulumi.String("string"),
Company: pulumi.String("string"),
Email: pulumi.String("string"),
Expiration: pulumi.String("string"),
Id: pulumi.Int(0),
MobilePhone: pulumi.String("string"),
Name: pulumi.String("string"),
Password: pulumi.String("string"),
Sponsor: pulumi.String("string"),
UserId: pulumi.String("string"),
},
},
HttpDigestRealm: pulumi.String("string"),
Matches: user.GroupMatchArray{
&user.GroupMatchArgs{
GroupName: pulumi.String("string"),
Id: pulumi.Int(0),
ServerName: pulumi.String("string"),
},
},
MaxAccounts: pulumi.Int(0),
Members: user.GroupMemberArray{
&user.GroupMemberArgs{
Name: pulumi.String("string"),
},
},
MobilePhone: pulumi.String("string"),
MultipleGuestAdd: pulumi.String("string"),
Name: pulumi.String("string"),
Password: pulumi.String("string"),
SmsCustomServer: pulumi.String("string"),
SmsServer: pulumi.String("string"),
Sponsor: pulumi.String("string"),
SsoAttributeValue: pulumi.String("string"),
UserId: pulumi.String("string"),
UserName: pulumi.String("string"),
Vdomparam: pulumi.String("string"),
})
var examplegroupResourceResourceFromUsergroup = new Group("examplegroupResourceResourceFromUsergroup", GroupArgs.builder()
.authConcurrentOverride("string")
.authConcurrentValue(0)
.authtimeout(0)
.company("string")
.dynamicSortSubtable("string")
.email("string")
.expire(0)
.expireType("string")
.fosid(0)
.getAllTables("string")
.groupType("string")
.guests(GroupGuestArgs.builder()
.comment("string")
.company("string")
.email("string")
.expiration("string")
.id(0)
.mobilePhone("string")
.name("string")
.password("string")
.sponsor("string")
.userId("string")
.build())
.httpDigestRealm("string")
.matches(GroupMatchArgs.builder()
.groupName("string")
.id(0)
.serverName("string")
.build())
.maxAccounts(0)
.members(GroupMemberArgs.builder()
.name("string")
.build())
.mobilePhone("string")
.multipleGuestAdd("string")
.name("string")
.password("string")
.smsCustomServer("string")
.smsServer("string")
.sponsor("string")
.ssoAttributeValue("string")
.userId("string")
.userName("string")
.vdomparam("string")
.build());
examplegroup_resource_resource_from_usergroup = fortios.user.Group("examplegroupResourceResourceFromUsergroup",
auth_concurrent_override="string",
auth_concurrent_value=0,
authtimeout=0,
company="string",
dynamic_sort_subtable="string",
email="string",
expire=0,
expire_type="string",
fosid=0,
get_all_tables="string",
group_type="string",
guests=[fortios.user.GroupGuestArgs(
comment="string",
company="string",
email="string",
expiration="string",
id=0,
mobile_phone="string",
name="string",
password="string",
sponsor="string",
user_id="string",
)],
http_digest_realm="string",
matches=[fortios.user.GroupMatchArgs(
group_name="string",
id=0,
server_name="string",
)],
max_accounts=0,
members=[fortios.user.GroupMemberArgs(
name="string",
)],
mobile_phone="string",
multiple_guest_add="string",
name="string",
password="string",
sms_custom_server="string",
sms_server="string",
sponsor="string",
sso_attribute_value="string",
user_id="string",
user_name="string",
vdomparam="string")
const examplegroupResourceResourceFromUsergroup = new fortios.user.Group("examplegroupResourceResourceFromUsergroup", {
authConcurrentOverride: "string",
authConcurrentValue: 0,
authtimeout: 0,
company: "string",
dynamicSortSubtable: "string",
email: "string",
expire: 0,
expireType: "string",
fosid: 0,
getAllTables: "string",
groupType: "string",
guests: [{
comment: "string",
company: "string",
email: "string",
expiration: "string",
id: 0,
mobilePhone: "string",
name: "string",
password: "string",
sponsor: "string",
userId: "string",
}],
httpDigestRealm: "string",
matches: [{
groupName: "string",
id: 0,
serverName: "string",
}],
maxAccounts: 0,
members: [{
name: "string",
}],
mobilePhone: "string",
multipleGuestAdd: "string",
name: "string",
password: "string",
smsCustomServer: "string",
smsServer: "string",
sponsor: "string",
ssoAttributeValue: "string",
userId: "string",
userName: "string",
vdomparam: "string",
});
type: fortios:user:Group
properties:
authConcurrentOverride: string
authConcurrentValue: 0
authtimeout: 0
company: string
dynamicSortSubtable: string
email: string
expire: 0
expireType: string
fosid: 0
getAllTables: string
groupType: string
guests:
- comment: string
company: string
email: string
expiration: string
id: 0
mobilePhone: string
name: string
password: string
sponsor: string
userId: string
httpDigestRealm: string
matches:
- groupName: string
id: 0
serverName: string
maxAccounts: 0
members:
- name: string
mobilePhone: string
multipleGuestAdd: string
name: string
password: string
smsCustomServer: string
smsServer: string
sponsor: string
ssoAttributeValue: string
userId: string
userName: string
vdomparam: string
Group 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 Group resource accepts the following input properties:
- Auth
Concurrent stringOverride - Enable/disable overriding the global number of concurrent authentication sessions for this user group. Valid values:
enable
,disable
. - Auth
Concurrent intValue - Maximum number of concurrent authenticated connections per user (0 - 100).
- Authtimeout int
- Authentication timeout in minutes for this user group. 0 to use the global user setting auth-timeout.
- Company string
- Set the action for the company guest user field. Valid values:
optional
,mandatory
,disabled
. - Dynamic
Sort stringSubtable - 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 ].
- Email string
- Enable/disable the guest user email address field. Valid values:
disable
,enable
. - Expire int
- Time in seconds before guest user accounts expire (1 - 31536000).
- Expire
Type string - Determine when the expiration countdown begins. Valid values:
immediately
,first-successful-login
. - Fosid int
- Group ID.
- Get
All stringTables - 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.
- Group
Type string - Set the group to be for firewall authentication, FSSO, RSSO, or guest users. Valid values:
firewall
,fsso-service
,rsso
,guest
. - Guests
List<Pulumiverse.
Fortios. User. Inputs. Group Guest> - Guest User. The structure of
guest
block is documented below. - Http
Digest stringRealm - Realm attribute for MD5-digest authentication.
- Matches
List<Pulumiverse.
Fortios. User. Inputs. Group Match> - Group matches. The structure of
match
block is documented below. - Max
Accounts int - Maximum number of guest accounts that can be created for this group (0 means unlimited).
- Members
List<Pulumiverse.
Fortios. User. Inputs. Group Member> - Names of users, peers, LDAP severs, or RADIUS servers to add to the user group. The structure of
member
block is documented below. - Mobile
Phone string - Enable/disable the guest user mobile phone number field. Valid values:
disable
,enable
. - Multiple
Guest stringAdd - Enable/disable addition of multiple guests. Valid values:
disable
,enable
. - Name string
- Group name.
- Password string
- Guest user password type. Valid values:
auto-generate
,specify
,disable
. - Sms
Custom stringServer - SMS server.
- Sms
Server string - Send SMS through FortiGuard or other external server. Valid values:
fortiguard
,custom
. - Sponsor string
- Set the action for the sponsor guest user field. Valid values:
optional
,mandatory
,disabled
. - Sso
Attribute stringValue - Name of the RADIUS user group that this local user group represents.
- User
Id string - Guest user ID type. Valid values:
email
,auto-generate
,specify
. - User
Name string - Enable/disable the guest user name entry. Valid values:
disable
,enable
. - 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.
- Auth
Concurrent stringOverride - Enable/disable overriding the global number of concurrent authentication sessions for this user group. Valid values:
enable
,disable
. - Auth
Concurrent intValue - Maximum number of concurrent authenticated connections per user (0 - 100).
- Authtimeout int
- Authentication timeout in minutes for this user group. 0 to use the global user setting auth-timeout.
- Company string
- Set the action for the company guest user field. Valid values:
optional
,mandatory
,disabled
. - Dynamic
Sort stringSubtable - 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 ].
- Email string
- Enable/disable the guest user email address field. Valid values:
disable
,enable
. - Expire int
- Time in seconds before guest user accounts expire (1 - 31536000).
- Expire
Type string - Determine when the expiration countdown begins. Valid values:
immediately
,first-successful-login
. - Fosid int
- Group ID.
- Get
All stringTables - 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.
- Group
Type string - Set the group to be for firewall authentication, FSSO, RSSO, or guest users. Valid values:
firewall
,fsso-service
,rsso
,guest
. - Guests
[]Group
Guest Args - Guest User. The structure of
guest
block is documented below. - Http
Digest stringRealm - Realm attribute for MD5-digest authentication.
- Matches
[]Group
Match Args - Group matches. The structure of
match
block is documented below. - Max
Accounts int - Maximum number of guest accounts that can be created for this group (0 means unlimited).
- Members
[]Group
Member Args - Names of users, peers, LDAP severs, or RADIUS servers to add to the user group. The structure of
member
block is documented below. - Mobile
Phone string - Enable/disable the guest user mobile phone number field. Valid values:
disable
,enable
. - Multiple
Guest stringAdd - Enable/disable addition of multiple guests. Valid values:
disable
,enable
. - Name string
- Group name.
- Password string
- Guest user password type. Valid values:
auto-generate
,specify
,disable
. - Sms
Custom stringServer - SMS server.
- Sms
Server string - Send SMS through FortiGuard or other external server. Valid values:
fortiguard
,custom
. - Sponsor string
- Set the action for the sponsor guest user field. Valid values:
optional
,mandatory
,disabled
. - Sso
Attribute stringValue - Name of the RADIUS user group that this local user group represents.
- User
Id string - Guest user ID type. Valid values:
email
,auto-generate
,specify
. - User
Name string - Enable/disable the guest user name entry. Valid values:
disable
,enable
. - 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.
- auth
Concurrent StringOverride - Enable/disable overriding the global number of concurrent authentication sessions for this user group. Valid values:
enable
,disable
. - auth
Concurrent IntegerValue - Maximum number of concurrent authenticated connections per user (0 - 100).
- authtimeout Integer
- Authentication timeout in minutes for this user group. 0 to use the global user setting auth-timeout.
- company String
- Set the action for the company guest user field. Valid values:
optional
,mandatory
,disabled
. - dynamic
Sort StringSubtable - 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 ].
- email String
- Enable/disable the guest user email address field. Valid values:
disable
,enable
. - expire Integer
- Time in seconds before guest user accounts expire (1 - 31536000).
- expire
Type String - Determine when the expiration countdown begins. Valid values:
immediately
,first-successful-login
. - fosid Integer
- Group ID.
- get
All StringTables - 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.
- group
Type String - Set the group to be for firewall authentication, FSSO, RSSO, or guest users. Valid values:
firewall
,fsso-service
,rsso
,guest
. - guests
List<Group
Guest> - Guest User. The structure of
guest
block is documented below. - http
Digest StringRealm - Realm attribute for MD5-digest authentication.
- matches
List<Group
Match> - Group matches. The structure of
match
block is documented below. - max
Accounts Integer - Maximum number of guest accounts that can be created for this group (0 means unlimited).
- members
List<Group
Member> - Names of users, peers, LDAP severs, or RADIUS servers to add to the user group. The structure of
member
block is documented below. - mobile
Phone String - Enable/disable the guest user mobile phone number field. Valid values:
disable
,enable
. - multiple
Guest StringAdd - Enable/disable addition of multiple guests. Valid values:
disable
,enable
. - name String
- Group name.
- password String
- Guest user password type. Valid values:
auto-generate
,specify
,disable
. - sms
Custom StringServer - SMS server.
- sms
Server String - Send SMS through FortiGuard or other external server. Valid values:
fortiguard
,custom
. - sponsor String
- Set the action for the sponsor guest user field. Valid values:
optional
,mandatory
,disabled
. - sso
Attribute StringValue - Name of the RADIUS user group that this local user group represents.
- user
Id String - Guest user ID type. Valid values:
email
,auto-generate
,specify
. - user
Name String - Enable/disable the guest user name entry. Valid values:
disable
,enable
. - 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.
- auth
Concurrent stringOverride - Enable/disable overriding the global number of concurrent authentication sessions for this user group. Valid values:
enable
,disable
. - auth
Concurrent numberValue - Maximum number of concurrent authenticated connections per user (0 - 100).
- authtimeout number
- Authentication timeout in minutes for this user group. 0 to use the global user setting auth-timeout.
- company string
- Set the action for the company guest user field. Valid values:
optional
,mandatory
,disabled
. - dynamic
Sort stringSubtable - 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 ].
- email string
- Enable/disable the guest user email address field. Valid values:
disable
,enable
. - expire number
- Time in seconds before guest user accounts expire (1 - 31536000).
- expire
Type string - Determine when the expiration countdown begins. Valid values:
immediately
,first-successful-login
. - fosid number
- Group ID.
- get
All stringTables - 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.
- group
Type string - Set the group to be for firewall authentication, FSSO, RSSO, or guest users. Valid values:
firewall
,fsso-service
,rsso
,guest
. - guests
Group
Guest[] - Guest User. The structure of
guest
block is documented below. - http
Digest stringRealm - Realm attribute for MD5-digest authentication.
- matches
Group
Match[] - Group matches. The structure of
match
block is documented below. - max
Accounts number - Maximum number of guest accounts that can be created for this group (0 means unlimited).
- members
Group
Member[] - Names of users, peers, LDAP severs, or RADIUS servers to add to the user group. The structure of
member
block is documented below. - mobile
Phone string - Enable/disable the guest user mobile phone number field. Valid values:
disable
,enable
. - multiple
Guest stringAdd - Enable/disable addition of multiple guests. Valid values:
disable
,enable
. - name string
- Group name.
- password string
- Guest user password type. Valid values:
auto-generate
,specify
,disable
. - sms
Custom stringServer - SMS server.
- sms
Server string - Send SMS through FortiGuard or other external server. Valid values:
fortiguard
,custom
. - sponsor string
- Set the action for the sponsor guest user field. Valid values:
optional
,mandatory
,disabled
. - sso
Attribute stringValue - Name of the RADIUS user group that this local user group represents.
- user
Id string - Guest user ID type. Valid values:
email
,auto-generate
,specify
. - user
Name string - Enable/disable the guest user name entry. Valid values:
disable
,enable
. - 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.
- auth_
concurrent_ stroverride - Enable/disable overriding the global number of concurrent authentication sessions for this user group. Valid values:
enable
,disable
. - auth_
concurrent_ intvalue - Maximum number of concurrent authenticated connections per user (0 - 100).
- authtimeout int
- Authentication timeout in minutes for this user group. 0 to use the global user setting auth-timeout.
- company str
- Set the action for the company guest user field. Valid values:
optional
,mandatory
,disabled
. - dynamic_
sort_ strsubtable - 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 ].
- email str
- Enable/disable the guest user email address field. Valid values:
disable
,enable
. - expire int
- Time in seconds before guest user accounts expire (1 - 31536000).
- expire_
type str - Determine when the expiration countdown begins. Valid values:
immediately
,first-successful-login
. - fosid int
- Group ID.
- get_
all_ strtables - 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.
- group_
type str - Set the group to be for firewall authentication, FSSO, RSSO, or guest users. Valid values:
firewall
,fsso-service
,rsso
,guest
. - guests
Sequence[Group
Guest Args] - Guest User. The structure of
guest
block is documented below. - http_
digest_ strrealm - Realm attribute for MD5-digest authentication.
- matches
Sequence[Group
Match Args] - Group matches. The structure of
match
block is documented below. - max_
accounts int - Maximum number of guest accounts that can be created for this group (0 means unlimited).
- members
Sequence[Group
Member Args] - Names of users, peers, LDAP severs, or RADIUS servers to add to the user group. The structure of
member
block is documented below. - mobile_
phone str - Enable/disable the guest user mobile phone number field. Valid values:
disable
,enable
. - multiple_
guest_ stradd - Enable/disable addition of multiple guests. Valid values:
disable
,enable
. - name str
- Group name.
- password str
- Guest user password type. Valid values:
auto-generate
,specify
,disable
. - sms_
custom_ strserver - SMS server.
- sms_
server str - Send SMS through FortiGuard or other external server. Valid values:
fortiguard
,custom
. - sponsor str
- Set the action for the sponsor guest user field. Valid values:
optional
,mandatory
,disabled
. - sso_
attribute_ strvalue - Name of the RADIUS user group that this local user group represents.
- user_
id str - Guest user ID type. Valid values:
email
,auto-generate
,specify
. - user_
name str - Enable/disable the guest user name entry. Valid values:
disable
,enable
. - 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.
- auth
Concurrent StringOverride - Enable/disable overriding the global number of concurrent authentication sessions for this user group. Valid values:
enable
,disable
. - auth
Concurrent NumberValue - Maximum number of concurrent authenticated connections per user (0 - 100).
- authtimeout Number
- Authentication timeout in minutes for this user group. 0 to use the global user setting auth-timeout.
- company String
- Set the action for the company guest user field. Valid values:
optional
,mandatory
,disabled
. - dynamic
Sort StringSubtable - 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 ].
- email String
- Enable/disable the guest user email address field. Valid values:
disable
,enable
. - expire Number
- Time in seconds before guest user accounts expire (1 - 31536000).
- expire
Type String - Determine when the expiration countdown begins. Valid values:
immediately
,first-successful-login
. - fosid Number
- Group ID.
- get
All StringTables - 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.
- group
Type String - Set the group to be for firewall authentication, FSSO, RSSO, or guest users. Valid values:
firewall
,fsso-service
,rsso
,guest
. - guests List<Property Map>
- Guest User. The structure of
guest
block is documented below. - http
Digest StringRealm - Realm attribute for MD5-digest authentication.
- matches List<Property Map>
- Group matches. The structure of
match
block is documented below. - max
Accounts Number - Maximum number of guest accounts that can be created for this group (0 means unlimited).
- members List<Property Map>
- Names of users, peers, LDAP severs, or RADIUS servers to add to the user group. The structure of
member
block is documented below. - mobile
Phone String - Enable/disable the guest user mobile phone number field. Valid values:
disable
,enable
. - multiple
Guest StringAdd - Enable/disable addition of multiple guests. Valid values:
disable
,enable
. - name String
- Group name.
- password String
- Guest user password type. Valid values:
auto-generate
,specify
,disable
. - sms
Custom StringServer - SMS server.
- sms
Server String - Send SMS through FortiGuard or other external server. Valid values:
fortiguard
,custom
. - sponsor String
- Set the action for the sponsor guest user field. Valid values:
optional
,mandatory
,disabled
. - sso
Attribute StringValue - Name of the RADIUS user group that this local user group represents.
- user
Id String - Guest user ID type. Valid values:
email
,auto-generate
,specify
. - user
Name String - Enable/disable the guest user name entry. Valid values:
disable
,enable
. - 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 Group 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 Group Resource
Get an existing Group 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?: GroupState, opts?: CustomResourceOptions): Group
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auth_concurrent_override: Optional[str] = None,
auth_concurrent_value: Optional[int] = None,
authtimeout: Optional[int] = None,
company: Optional[str] = None,
dynamic_sort_subtable: Optional[str] = None,
email: Optional[str] = None,
expire: Optional[int] = None,
expire_type: Optional[str] = None,
fosid: Optional[int] = None,
get_all_tables: Optional[str] = None,
group_type: Optional[str] = None,
guests: Optional[Sequence[GroupGuestArgs]] = None,
http_digest_realm: Optional[str] = None,
matches: Optional[Sequence[GroupMatchArgs]] = None,
max_accounts: Optional[int] = None,
members: Optional[Sequence[GroupMemberArgs]] = None,
mobile_phone: Optional[str] = None,
multiple_guest_add: Optional[str] = None,
name: Optional[str] = None,
password: Optional[str] = None,
sms_custom_server: Optional[str] = None,
sms_server: Optional[str] = None,
sponsor: Optional[str] = None,
sso_attribute_value: Optional[str] = None,
user_id: Optional[str] = None,
user_name: Optional[str] = None,
vdomparam: Optional[str] = None) -> Group
func GetGroup(ctx *Context, name string, id IDInput, state *GroupState, opts ...ResourceOption) (*Group, error)
public static Group Get(string name, Input<string> id, GroupState? state, CustomResourceOptions? opts = null)
public static Group get(String name, Output<String> id, GroupState 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.
- Auth
Concurrent stringOverride - Enable/disable overriding the global number of concurrent authentication sessions for this user group. Valid values:
enable
,disable
. - Auth
Concurrent intValue - Maximum number of concurrent authenticated connections per user (0 - 100).
- Authtimeout int
- Authentication timeout in minutes for this user group. 0 to use the global user setting auth-timeout.
- Company string
- Set the action for the company guest user field. Valid values:
optional
,mandatory
,disabled
. - Dynamic
Sort stringSubtable - 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 ].
- Email string
- Enable/disable the guest user email address field. Valid values:
disable
,enable
. - Expire int
- Time in seconds before guest user accounts expire (1 - 31536000).
- Expire
Type string - Determine when the expiration countdown begins. Valid values:
immediately
,first-successful-login
. - Fosid int
- Group ID.
- Get
All stringTables - 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.
- Group
Type string - Set the group to be for firewall authentication, FSSO, RSSO, or guest users. Valid values:
firewall
,fsso-service
,rsso
,guest
. - Guests
List<Pulumiverse.
Fortios. User. Inputs. Group Guest> - Guest User. The structure of
guest
block is documented below. - Http
Digest stringRealm - Realm attribute for MD5-digest authentication.
- Matches
List<Pulumiverse.
Fortios. User. Inputs. Group Match> - Group matches. The structure of
match
block is documented below. - Max
Accounts int - Maximum number of guest accounts that can be created for this group (0 means unlimited).
- Members
List<Pulumiverse.
Fortios. User. Inputs. Group Member> - Names of users, peers, LDAP severs, or RADIUS servers to add to the user group. The structure of
member
block is documented below. - Mobile
Phone string - Enable/disable the guest user mobile phone number field. Valid values:
disable
,enable
. - Multiple
Guest stringAdd - Enable/disable addition of multiple guests. Valid values:
disable
,enable
. - Name string
- Group name.
- Password string
- Guest user password type. Valid values:
auto-generate
,specify
,disable
. - Sms
Custom stringServer - SMS server.
- Sms
Server string - Send SMS through FortiGuard or other external server. Valid values:
fortiguard
,custom
. - Sponsor string
- Set the action for the sponsor guest user field. Valid values:
optional
,mandatory
,disabled
. - Sso
Attribute stringValue - Name of the RADIUS user group that this local user group represents.
- User
Id string - Guest user ID type. Valid values:
email
,auto-generate
,specify
. - User
Name string - Enable/disable the guest user name entry. Valid values:
disable
,enable
. - 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.
- Auth
Concurrent stringOverride - Enable/disable overriding the global number of concurrent authentication sessions for this user group. Valid values:
enable
,disable
. - Auth
Concurrent intValue - Maximum number of concurrent authenticated connections per user (0 - 100).
- Authtimeout int
- Authentication timeout in minutes for this user group. 0 to use the global user setting auth-timeout.
- Company string
- Set the action for the company guest user field. Valid values:
optional
,mandatory
,disabled
. - Dynamic
Sort stringSubtable - 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 ].
- Email string
- Enable/disable the guest user email address field. Valid values:
disable
,enable
. - Expire int
- Time in seconds before guest user accounts expire (1 - 31536000).
- Expire
Type string - Determine when the expiration countdown begins. Valid values:
immediately
,first-successful-login
. - Fosid int
- Group ID.
- Get
All stringTables - 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.
- Group
Type string - Set the group to be for firewall authentication, FSSO, RSSO, or guest users. Valid values:
firewall
,fsso-service
,rsso
,guest
. - Guests
[]Group
Guest Args - Guest User. The structure of
guest
block is documented below. - Http
Digest stringRealm - Realm attribute for MD5-digest authentication.
- Matches
[]Group
Match Args - Group matches. The structure of
match
block is documented below. - Max
Accounts int - Maximum number of guest accounts that can be created for this group (0 means unlimited).
- Members
[]Group
Member Args - Names of users, peers, LDAP severs, or RADIUS servers to add to the user group. The structure of
member
block is documented below. - Mobile
Phone string - Enable/disable the guest user mobile phone number field. Valid values:
disable
,enable
. - Multiple
Guest stringAdd - Enable/disable addition of multiple guests. Valid values:
disable
,enable
. - Name string
- Group name.
- Password string
- Guest user password type. Valid values:
auto-generate
,specify
,disable
. - Sms
Custom stringServer - SMS server.
- Sms
Server string - Send SMS through FortiGuard or other external server. Valid values:
fortiguard
,custom
. - Sponsor string
- Set the action for the sponsor guest user field. Valid values:
optional
,mandatory
,disabled
. - Sso
Attribute stringValue - Name of the RADIUS user group that this local user group represents.
- User
Id string - Guest user ID type. Valid values:
email
,auto-generate
,specify
. - User
Name string - Enable/disable the guest user name entry. Valid values:
disable
,enable
. - 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.
- auth
Concurrent StringOverride - Enable/disable overriding the global number of concurrent authentication sessions for this user group. Valid values:
enable
,disable
. - auth
Concurrent IntegerValue - Maximum number of concurrent authenticated connections per user (0 - 100).
- authtimeout Integer
- Authentication timeout in minutes for this user group. 0 to use the global user setting auth-timeout.
- company String
- Set the action for the company guest user field. Valid values:
optional
,mandatory
,disabled
. - dynamic
Sort StringSubtable - 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 ].
- email String
- Enable/disable the guest user email address field. Valid values:
disable
,enable
. - expire Integer
- Time in seconds before guest user accounts expire (1 - 31536000).
- expire
Type String - Determine when the expiration countdown begins. Valid values:
immediately
,first-successful-login
. - fosid Integer
- Group ID.
- get
All StringTables - 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.
- group
Type String - Set the group to be for firewall authentication, FSSO, RSSO, or guest users. Valid values:
firewall
,fsso-service
,rsso
,guest
. - guests
List<Group
Guest> - Guest User. The structure of
guest
block is documented below. - http
Digest StringRealm - Realm attribute for MD5-digest authentication.
- matches
List<Group
Match> - Group matches. The structure of
match
block is documented below. - max
Accounts Integer - Maximum number of guest accounts that can be created for this group (0 means unlimited).
- members
List<Group
Member> - Names of users, peers, LDAP severs, or RADIUS servers to add to the user group. The structure of
member
block is documented below. - mobile
Phone String - Enable/disable the guest user mobile phone number field. Valid values:
disable
,enable
. - multiple
Guest StringAdd - Enable/disable addition of multiple guests. Valid values:
disable
,enable
. - name String
- Group name.
- password String
- Guest user password type. Valid values:
auto-generate
,specify
,disable
. - sms
Custom StringServer - SMS server.
- sms
Server String - Send SMS through FortiGuard or other external server. Valid values:
fortiguard
,custom
. - sponsor String
- Set the action for the sponsor guest user field. Valid values:
optional
,mandatory
,disabled
. - sso
Attribute StringValue - Name of the RADIUS user group that this local user group represents.
- user
Id String - Guest user ID type. Valid values:
email
,auto-generate
,specify
. - user
Name String - Enable/disable the guest user name entry. Valid values:
disable
,enable
. - 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.
- auth
Concurrent stringOverride - Enable/disable overriding the global number of concurrent authentication sessions for this user group. Valid values:
enable
,disable
. - auth
Concurrent numberValue - Maximum number of concurrent authenticated connections per user (0 - 100).
- authtimeout number
- Authentication timeout in minutes for this user group. 0 to use the global user setting auth-timeout.
- company string
- Set the action for the company guest user field. Valid values:
optional
,mandatory
,disabled
. - dynamic
Sort stringSubtable - 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 ].
- email string
- Enable/disable the guest user email address field. Valid values:
disable
,enable
. - expire number
- Time in seconds before guest user accounts expire (1 - 31536000).
- expire
Type string - Determine when the expiration countdown begins. Valid values:
immediately
,first-successful-login
. - fosid number
- Group ID.
- get
All stringTables - 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.
- group
Type string - Set the group to be for firewall authentication, FSSO, RSSO, or guest users. Valid values:
firewall
,fsso-service
,rsso
,guest
. - guests
Group
Guest[] - Guest User. The structure of
guest
block is documented below. - http
Digest stringRealm - Realm attribute for MD5-digest authentication.
- matches
Group
Match[] - Group matches. The structure of
match
block is documented below. - max
Accounts number - Maximum number of guest accounts that can be created for this group (0 means unlimited).
- members
Group
Member[] - Names of users, peers, LDAP severs, or RADIUS servers to add to the user group. The structure of
member
block is documented below. - mobile
Phone string - Enable/disable the guest user mobile phone number field. Valid values:
disable
,enable
. - multiple
Guest stringAdd - Enable/disable addition of multiple guests. Valid values:
disable
,enable
. - name string
- Group name.
- password string
- Guest user password type. Valid values:
auto-generate
,specify
,disable
. - sms
Custom stringServer - SMS server.
- sms
Server string - Send SMS through FortiGuard or other external server. Valid values:
fortiguard
,custom
. - sponsor string
- Set the action for the sponsor guest user field. Valid values:
optional
,mandatory
,disabled
. - sso
Attribute stringValue - Name of the RADIUS user group that this local user group represents.
- user
Id string - Guest user ID type. Valid values:
email
,auto-generate
,specify
. - user
Name string - Enable/disable the guest user name entry. Valid values:
disable
,enable
. - 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.
- auth_
concurrent_ stroverride - Enable/disable overriding the global number of concurrent authentication sessions for this user group. Valid values:
enable
,disable
. - auth_
concurrent_ intvalue - Maximum number of concurrent authenticated connections per user (0 - 100).
- authtimeout int
- Authentication timeout in minutes for this user group. 0 to use the global user setting auth-timeout.
- company str
- Set the action for the company guest user field. Valid values:
optional
,mandatory
,disabled
. - dynamic_
sort_ strsubtable - 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 ].
- email str
- Enable/disable the guest user email address field. Valid values:
disable
,enable
. - expire int
- Time in seconds before guest user accounts expire (1 - 31536000).
- expire_
type str - Determine when the expiration countdown begins. Valid values:
immediately
,first-successful-login
. - fosid int
- Group ID.
- get_
all_ strtables - 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.
- group_
type str - Set the group to be for firewall authentication, FSSO, RSSO, or guest users. Valid values:
firewall
,fsso-service
,rsso
,guest
. - guests
Sequence[Group
Guest Args] - Guest User. The structure of
guest
block is documented below. - http_
digest_ strrealm - Realm attribute for MD5-digest authentication.
- matches
Sequence[Group
Match Args] - Group matches. The structure of
match
block is documented below. - max_
accounts int - Maximum number of guest accounts that can be created for this group (0 means unlimited).
- members
Sequence[Group
Member Args] - Names of users, peers, LDAP severs, or RADIUS servers to add to the user group. The structure of
member
block is documented below. - mobile_
phone str - Enable/disable the guest user mobile phone number field. Valid values:
disable
,enable
. - multiple_
guest_ stradd - Enable/disable addition of multiple guests. Valid values:
disable
,enable
. - name str
- Group name.
- password str
- Guest user password type. Valid values:
auto-generate
,specify
,disable
. - sms_
custom_ strserver - SMS server.
- sms_
server str - Send SMS through FortiGuard or other external server. Valid values:
fortiguard
,custom
. - sponsor str
- Set the action for the sponsor guest user field. Valid values:
optional
,mandatory
,disabled
. - sso_
attribute_ strvalue - Name of the RADIUS user group that this local user group represents.
- user_
id str - Guest user ID type. Valid values:
email
,auto-generate
,specify
. - user_
name str - Enable/disable the guest user name entry. Valid values:
disable
,enable
. - 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.
- auth
Concurrent StringOverride - Enable/disable overriding the global number of concurrent authentication sessions for this user group. Valid values:
enable
,disable
. - auth
Concurrent NumberValue - Maximum number of concurrent authenticated connections per user (0 - 100).
- authtimeout Number
- Authentication timeout in minutes for this user group. 0 to use the global user setting auth-timeout.
- company String
- Set the action for the company guest user field. Valid values:
optional
,mandatory
,disabled
. - dynamic
Sort StringSubtable - 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 ].
- email String
- Enable/disable the guest user email address field. Valid values:
disable
,enable
. - expire Number
- Time in seconds before guest user accounts expire (1 - 31536000).
- expire
Type String - Determine when the expiration countdown begins. Valid values:
immediately
,first-successful-login
. - fosid Number
- Group ID.
- get
All StringTables - 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.
- group
Type String - Set the group to be for firewall authentication, FSSO, RSSO, or guest users. Valid values:
firewall
,fsso-service
,rsso
,guest
. - guests List<Property Map>
- Guest User. The structure of
guest
block is documented below. - http
Digest StringRealm - Realm attribute for MD5-digest authentication.
- matches List<Property Map>
- Group matches. The structure of
match
block is documented below. - max
Accounts Number - Maximum number of guest accounts that can be created for this group (0 means unlimited).
- members List<Property Map>
- Names of users, peers, LDAP severs, or RADIUS servers to add to the user group. The structure of
member
block is documented below. - mobile
Phone String - Enable/disable the guest user mobile phone number field. Valid values:
disable
,enable
. - multiple
Guest StringAdd - Enable/disable addition of multiple guests. Valid values:
disable
,enable
. - name String
- Group name.
- password String
- Guest user password type. Valid values:
auto-generate
,specify
,disable
. - sms
Custom StringServer - SMS server.
- sms
Server String - Send SMS through FortiGuard or other external server. Valid values:
fortiguard
,custom
. - sponsor String
- Set the action for the sponsor guest user field. Valid values:
optional
,mandatory
,disabled
. - sso
Attribute StringValue - Name of the RADIUS user group that this local user group represents.
- user
Id String - Guest user ID type. Valid values:
email
,auto-generate
,specify
. - user
Name String - Enable/disable the guest user name entry. Valid values:
disable
,enable
. - 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
GroupGuest, GroupGuestArgs
- Comment string
- Comment.
- Company string
- Set the action for the company guest user field.
- Email string
- Email.
- Expiration string
- Expire time.
- Id int
- Guest ID.
- Mobile
Phone string - Mobile phone.
- Name string
- Guest name.
- Password string
- Guest password.
- Sponsor string
- Set the action for the sponsor guest user field.
- User
Id string - Guest ID.
- Comment string
- Comment.
- Company string
- Set the action for the company guest user field.
- Email string
- Email.
- Expiration string
- Expire time.
- Id int
- Guest ID.
- Mobile
Phone string - Mobile phone.
- Name string
- Guest name.
- Password string
- Guest password.
- Sponsor string
- Set the action for the sponsor guest user field.
- User
Id string - Guest ID.
- comment String
- Comment.
- company String
- Set the action for the company guest user field.
- email String
- Email.
- expiration String
- Expire time.
- id Integer
- Guest ID.
- mobile
Phone String - Mobile phone.
- name String
- Guest name.
- password String
- Guest password.
- sponsor String
- Set the action for the sponsor guest user field.
- user
Id String - Guest ID.
- comment string
- Comment.
- company string
- Set the action for the company guest user field.
- email string
- Email.
- expiration string
- Expire time.
- id number
- Guest ID.
- mobile
Phone string - Mobile phone.
- name string
- Guest name.
- password string
- Guest password.
- sponsor string
- Set the action for the sponsor guest user field.
- user
Id string - Guest ID.
- comment str
- Comment.
- company str
- Set the action for the company guest user field.
- email str
- Email.
- expiration str
- Expire time.
- id int
- Guest ID.
- mobile_
phone str - Mobile phone.
- name str
- Guest name.
- password str
- Guest password.
- sponsor str
- Set the action for the sponsor guest user field.
- user_
id str - Guest ID.
- comment String
- Comment.
- company String
- Set the action for the company guest user field.
- email String
- Email.
- expiration String
- Expire time.
- id Number
- Guest ID.
- mobile
Phone String - Mobile phone.
- name String
- Guest name.
- password String
- Guest password.
- sponsor String
- Set the action for the sponsor guest user field.
- user
Id String - Guest ID.
GroupMatch, GroupMatchArgs
- Group
Name string - Name of matching group on remote auththentication server.
- Id int
- ID.
- Server
Name string - Name of remote auth server.
- Group
Name string - Name of matching group on remote auththentication server.
- Id int
- ID.
- Server
Name string - Name of remote auth server.
- group
Name String - Name of matching group on remote auththentication server.
- id Integer
- ID.
- server
Name String - Name of remote auth server.
- group
Name string - Name of matching group on remote auththentication server.
- id number
- ID.
- server
Name string - Name of remote auth server.
- group_
name str - Name of matching group on remote auththentication server.
- id int
- ID.
- server_
name str - Name of remote auth server.
- group
Name String - Name of matching group on remote auththentication server.
- id Number
- ID.
- server
Name String - Name of remote auth server.
GroupMember, GroupMemberArgs
- 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
User Group can be imported using any of these accepted formats:
$ pulumi import fortios:user/group:Group labelname {{name}}
If you do not want to import arguments of block:
$ export “FORTIOS_IMPORT_TABLE”=“false”
$ pulumi import fortios:user/group:Group 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.