fortios.system.AdminProfiles
Explore with Pulumi AI
Provides a resource to configure access profiles of FortiOS.
!> Warning: The resource will be deprecated and replaced by new resource fortios.system.Accprofile
, we recommend that you use the new resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";
const test1 = new fortios.system.AdminProfiles("test1", {
admintimeoutOverride: "disable",
authgrp: "none",
comments: "test",
ftviewgrp: "read",
fwgrp: "none",
loggrp: "none",
netgrp: "none",
scope: "vdom",
secfabgrp: "read-write",
sysgrp: "read",
utmgrp: "none",
vpngrp: "none",
wanoptgrp: "none",
wifi: "none",
});
import pulumi
import pulumiverse_fortios as fortios
test1 = fortios.system.AdminProfiles("test1",
admintimeout_override="disable",
authgrp="none",
comments="test",
ftviewgrp="read",
fwgrp="none",
loggrp="none",
netgrp="none",
scope="vdom",
secfabgrp="read-write",
sysgrp="read",
utmgrp="none",
vpngrp="none",
wanoptgrp="none",
wifi="none")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/system"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := system.NewAdminProfiles(ctx, "test1", &system.AdminProfilesArgs{
AdmintimeoutOverride: pulumi.String("disable"),
Authgrp: pulumi.String("none"),
Comments: pulumi.String("test"),
Ftviewgrp: pulumi.String("read"),
Fwgrp: pulumi.String("none"),
Loggrp: pulumi.String("none"),
Netgrp: pulumi.String("none"),
Scope: pulumi.String("vdom"),
Secfabgrp: pulumi.String("read-write"),
Sysgrp: pulumi.String("read"),
Utmgrp: pulumi.String("none"),
Vpngrp: pulumi.String("none"),
Wanoptgrp: pulumi.String("none"),
Wifi: pulumi.String("none"),
})
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 test1 = new Fortios.System.AdminProfiles("test1", new()
{
AdmintimeoutOverride = "disable",
Authgrp = "none",
Comments = "test",
Ftviewgrp = "read",
Fwgrp = "none",
Loggrp = "none",
Netgrp = "none",
Scope = "vdom",
Secfabgrp = "read-write",
Sysgrp = "read",
Utmgrp = "none",
Vpngrp = "none",
Wanoptgrp = "none",
Wifi = "none",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.system.AdminProfiles;
import com.pulumi.fortios.system.AdminProfilesArgs;
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 test1 = new AdminProfiles("test1", AdminProfilesArgs.builder()
.admintimeoutOverride("disable")
.authgrp("none")
.comments("test")
.ftviewgrp("read")
.fwgrp("none")
.loggrp("none")
.netgrp("none")
.scope("vdom")
.secfabgrp("read-write")
.sysgrp("read")
.utmgrp("none")
.vpngrp("none")
.wanoptgrp("none")
.wifi("none")
.build());
}
}
resources:
test1:
type: fortios:system:AdminProfiles
properties:
admintimeoutOverride: disable
authgrp: none
comments: test
ftviewgrp: read
fwgrp: none
loggrp: none
netgrp: none
scope: vdom
secfabgrp: read-write
sysgrp: read
utmgrp: none
vpngrp: none
wanoptgrp: none
wifi: none
Create AdminProfiles Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AdminProfiles(name: string, args?: AdminProfilesArgs, opts?: CustomResourceOptions);
@overload
def AdminProfiles(resource_name: str,
args: Optional[AdminProfilesArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def AdminProfiles(resource_name: str,
opts: Optional[ResourceOptions] = None,
admintimeout_override: Optional[str] = None,
authgrp: Optional[str] = None,
comments: Optional[str] = None,
ftviewgrp: Optional[str] = None,
fwgrp: Optional[str] = None,
loggrp: Optional[str] = None,
name: Optional[str] = None,
netgrp: Optional[str] = None,
scope: Optional[str] = None,
secfabgrp: Optional[str] = None,
sysgrp: Optional[str] = None,
utmgrp: Optional[str] = None,
vpngrp: Optional[str] = None,
wanoptgrp: Optional[str] = None,
wifi: Optional[str] = None)
func NewAdminProfiles(ctx *Context, name string, args *AdminProfilesArgs, opts ...ResourceOption) (*AdminProfiles, error)
public AdminProfiles(string name, AdminProfilesArgs? args = null, CustomResourceOptions? opts = null)
public AdminProfiles(String name, AdminProfilesArgs args)
public AdminProfiles(String name, AdminProfilesArgs args, CustomResourceOptions options)
type: fortios:system:AdminProfiles
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 AdminProfilesArgs
- 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 AdminProfilesArgs
- 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 AdminProfilesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AdminProfilesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AdminProfilesArgs
- 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 adminProfilesResource = new Fortios.System.AdminProfiles("adminProfilesResource", new()
{
AdmintimeoutOverride = "string",
Authgrp = "string",
Comments = "string",
Ftviewgrp = "string",
Fwgrp = "string",
Loggrp = "string",
Name = "string",
Netgrp = "string",
Scope = "string",
Secfabgrp = "string",
Sysgrp = "string",
Utmgrp = "string",
Vpngrp = "string",
Wanoptgrp = "string",
Wifi = "string",
});
example, err := system.NewAdminProfiles(ctx, "adminProfilesResource", &system.AdminProfilesArgs{
AdmintimeoutOverride: pulumi.String("string"),
Authgrp: pulumi.String("string"),
Comments: pulumi.String("string"),
Ftviewgrp: pulumi.String("string"),
Fwgrp: pulumi.String("string"),
Loggrp: pulumi.String("string"),
Name: pulumi.String("string"),
Netgrp: pulumi.String("string"),
Scope: pulumi.String("string"),
Secfabgrp: pulumi.String("string"),
Sysgrp: pulumi.String("string"),
Utmgrp: pulumi.String("string"),
Vpngrp: pulumi.String("string"),
Wanoptgrp: pulumi.String("string"),
Wifi: pulumi.String("string"),
})
var adminProfilesResource = new AdminProfiles("adminProfilesResource", AdminProfilesArgs.builder()
.admintimeoutOverride("string")
.authgrp("string")
.comments("string")
.ftviewgrp("string")
.fwgrp("string")
.loggrp("string")
.name("string")
.netgrp("string")
.scope("string")
.secfabgrp("string")
.sysgrp("string")
.utmgrp("string")
.vpngrp("string")
.wanoptgrp("string")
.wifi("string")
.build());
admin_profiles_resource = fortios.system.AdminProfiles("adminProfilesResource",
admintimeout_override="string",
authgrp="string",
comments="string",
ftviewgrp="string",
fwgrp="string",
loggrp="string",
name="string",
netgrp="string",
scope="string",
secfabgrp="string",
sysgrp="string",
utmgrp="string",
vpngrp="string",
wanoptgrp="string",
wifi="string")
const adminProfilesResource = new fortios.system.AdminProfiles("adminProfilesResource", {
admintimeoutOverride: "string",
authgrp: "string",
comments: "string",
ftviewgrp: "string",
fwgrp: "string",
loggrp: "string",
name: "string",
netgrp: "string",
scope: "string",
secfabgrp: "string",
sysgrp: "string",
utmgrp: "string",
vpngrp: "string",
wanoptgrp: "string",
wifi: "string",
});
type: fortios:system:AdminProfiles
properties:
admintimeoutOverride: string
authgrp: string
comments: string
ftviewgrp: string
fwgrp: string
loggrp: string
name: string
netgrp: string
scope: string
secfabgrp: string
sysgrp: string
utmgrp: string
vpngrp: string
wanoptgrp: string
wifi: string
AdminProfiles 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 AdminProfiles resource accepts the following input properties:
- Admintimeout
Override string - Enable/disable overriding the global administrator idle timeout.
- Authgrp string
- Administrator access to Users and Devices.
- Comments string
- Comment.
- Ftviewgrp string
- FortiView.
- Fwgrp string
- Administrator access to the Firewall configuration.
- Loggrp string
- Administrator access to Logging and Reporting including viewing log messages.
- Name string
- Profile name.
- Netgrp string
- Network Configuration.
- Scope string
- Scope of admin access.
- Secfabgrp string
- Security Fabric.
- Sysgrp string
- System Configuration.
- Utmgrp string
- Administrator access to Security Profiles.
- Vpngrp string
- Administrator access to IPsec, SSL, PPTP, and L2TP VPN.
- Wanoptgrp string
- Administrator access to WAN Opt & Cache.
- Wifi string
- Administrator access to the WiFi controller and Switch controller.
- Admintimeout
Override string - Enable/disable overriding the global administrator idle timeout.
- Authgrp string
- Administrator access to Users and Devices.
- Comments string
- Comment.
- Ftviewgrp string
- FortiView.
- Fwgrp string
- Administrator access to the Firewall configuration.
- Loggrp string
- Administrator access to Logging and Reporting including viewing log messages.
- Name string
- Profile name.
- Netgrp string
- Network Configuration.
- Scope string
- Scope of admin access.
- Secfabgrp string
- Security Fabric.
- Sysgrp string
- System Configuration.
- Utmgrp string
- Administrator access to Security Profiles.
- Vpngrp string
- Administrator access to IPsec, SSL, PPTP, and L2TP VPN.
- Wanoptgrp string
- Administrator access to WAN Opt & Cache.
- Wifi string
- Administrator access to the WiFi controller and Switch controller.
- admintimeout
Override String - Enable/disable overriding the global administrator idle timeout.
- authgrp String
- Administrator access to Users and Devices.
- comments String
- Comment.
- ftviewgrp String
- FortiView.
- fwgrp String
- Administrator access to the Firewall configuration.
- loggrp String
- Administrator access to Logging and Reporting including viewing log messages.
- name String
- Profile name.
- netgrp String
- Network Configuration.
- scope String
- Scope of admin access.
- secfabgrp String
- Security Fabric.
- sysgrp String
- System Configuration.
- utmgrp String
- Administrator access to Security Profiles.
- vpngrp String
- Administrator access to IPsec, SSL, PPTP, and L2TP VPN.
- wanoptgrp String
- Administrator access to WAN Opt & Cache.
- wifi String
- Administrator access to the WiFi controller and Switch controller.
- admintimeout
Override string - Enable/disable overriding the global administrator idle timeout.
- authgrp string
- Administrator access to Users and Devices.
- comments string
- Comment.
- ftviewgrp string
- FortiView.
- fwgrp string
- Administrator access to the Firewall configuration.
- loggrp string
- Administrator access to Logging and Reporting including viewing log messages.
- name string
- Profile name.
- netgrp string
- Network Configuration.
- scope string
- Scope of admin access.
- secfabgrp string
- Security Fabric.
- sysgrp string
- System Configuration.
- utmgrp string
- Administrator access to Security Profiles.
- vpngrp string
- Administrator access to IPsec, SSL, PPTP, and L2TP VPN.
- wanoptgrp string
- Administrator access to WAN Opt & Cache.
- wifi string
- Administrator access to the WiFi controller and Switch controller.
- admintimeout_
override str - Enable/disable overriding the global administrator idle timeout.
- authgrp str
- Administrator access to Users and Devices.
- comments str
- Comment.
- ftviewgrp str
- FortiView.
- fwgrp str
- Administrator access to the Firewall configuration.
- loggrp str
- Administrator access to Logging and Reporting including viewing log messages.
- name str
- Profile name.
- netgrp str
- Network Configuration.
- scope str
- Scope of admin access.
- secfabgrp str
- Security Fabric.
- sysgrp str
- System Configuration.
- utmgrp str
- Administrator access to Security Profiles.
- vpngrp str
- Administrator access to IPsec, SSL, PPTP, and L2TP VPN.
- wanoptgrp str
- Administrator access to WAN Opt & Cache.
- wifi str
- Administrator access to the WiFi controller and Switch controller.
- admintimeout
Override String - Enable/disable overriding the global administrator idle timeout.
- authgrp String
- Administrator access to Users and Devices.
- comments String
- Comment.
- ftviewgrp String
- FortiView.
- fwgrp String
- Administrator access to the Firewall configuration.
- loggrp String
- Administrator access to Logging and Reporting including viewing log messages.
- name String
- Profile name.
- netgrp String
- Network Configuration.
- scope String
- Scope of admin access.
- secfabgrp String
- Security Fabric.
- sysgrp String
- System Configuration.
- utmgrp String
- Administrator access to Security Profiles.
- vpngrp String
- Administrator access to IPsec, SSL, PPTP, and L2TP VPN.
- wanoptgrp String
- Administrator access to WAN Opt & Cache.
- wifi String
- Administrator access to the WiFi controller and Switch controller.
Outputs
All input properties are implicitly available as output properties. Additionally, the AdminProfiles 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 AdminProfiles Resource
Get an existing AdminProfiles 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?: AdminProfilesState, opts?: CustomResourceOptions): AdminProfiles
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admintimeout_override: Optional[str] = None,
authgrp: Optional[str] = None,
comments: Optional[str] = None,
ftviewgrp: Optional[str] = None,
fwgrp: Optional[str] = None,
loggrp: Optional[str] = None,
name: Optional[str] = None,
netgrp: Optional[str] = None,
scope: Optional[str] = None,
secfabgrp: Optional[str] = None,
sysgrp: Optional[str] = None,
utmgrp: Optional[str] = None,
vpngrp: Optional[str] = None,
wanoptgrp: Optional[str] = None,
wifi: Optional[str] = None) -> AdminProfiles
func GetAdminProfiles(ctx *Context, name string, id IDInput, state *AdminProfilesState, opts ...ResourceOption) (*AdminProfiles, error)
public static AdminProfiles Get(string name, Input<string> id, AdminProfilesState? state, CustomResourceOptions? opts = null)
public static AdminProfiles get(String name, Output<String> id, AdminProfilesState 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.
- Admintimeout
Override string - Enable/disable overriding the global administrator idle timeout.
- Authgrp string
- Administrator access to Users and Devices.
- Comments string
- Comment.
- Ftviewgrp string
- FortiView.
- Fwgrp string
- Administrator access to the Firewall configuration.
- Loggrp string
- Administrator access to Logging and Reporting including viewing log messages.
- Name string
- Profile name.
- Netgrp string
- Network Configuration.
- Scope string
- Scope of admin access.
- Secfabgrp string
- Security Fabric.
- Sysgrp string
- System Configuration.
- Utmgrp string
- Administrator access to Security Profiles.
- Vpngrp string
- Administrator access to IPsec, SSL, PPTP, and L2TP VPN.
- Wanoptgrp string
- Administrator access to WAN Opt & Cache.
- Wifi string
- Administrator access to the WiFi controller and Switch controller.
- Admintimeout
Override string - Enable/disable overriding the global administrator idle timeout.
- Authgrp string
- Administrator access to Users and Devices.
- Comments string
- Comment.
- Ftviewgrp string
- FortiView.
- Fwgrp string
- Administrator access to the Firewall configuration.
- Loggrp string
- Administrator access to Logging and Reporting including viewing log messages.
- Name string
- Profile name.
- Netgrp string
- Network Configuration.
- Scope string
- Scope of admin access.
- Secfabgrp string
- Security Fabric.
- Sysgrp string
- System Configuration.
- Utmgrp string
- Administrator access to Security Profiles.
- Vpngrp string
- Administrator access to IPsec, SSL, PPTP, and L2TP VPN.
- Wanoptgrp string
- Administrator access to WAN Opt & Cache.
- Wifi string
- Administrator access to the WiFi controller and Switch controller.
- admintimeout
Override String - Enable/disable overriding the global administrator idle timeout.
- authgrp String
- Administrator access to Users and Devices.
- comments String
- Comment.
- ftviewgrp String
- FortiView.
- fwgrp String
- Administrator access to the Firewall configuration.
- loggrp String
- Administrator access to Logging and Reporting including viewing log messages.
- name String
- Profile name.
- netgrp String
- Network Configuration.
- scope String
- Scope of admin access.
- secfabgrp String
- Security Fabric.
- sysgrp String
- System Configuration.
- utmgrp String
- Administrator access to Security Profiles.
- vpngrp String
- Administrator access to IPsec, SSL, PPTP, and L2TP VPN.
- wanoptgrp String
- Administrator access to WAN Opt & Cache.
- wifi String
- Administrator access to the WiFi controller and Switch controller.
- admintimeout
Override string - Enable/disable overriding the global administrator idle timeout.
- authgrp string
- Administrator access to Users and Devices.
- comments string
- Comment.
- ftviewgrp string
- FortiView.
- fwgrp string
- Administrator access to the Firewall configuration.
- loggrp string
- Administrator access to Logging and Reporting including viewing log messages.
- name string
- Profile name.
- netgrp string
- Network Configuration.
- scope string
- Scope of admin access.
- secfabgrp string
- Security Fabric.
- sysgrp string
- System Configuration.
- utmgrp string
- Administrator access to Security Profiles.
- vpngrp string
- Administrator access to IPsec, SSL, PPTP, and L2TP VPN.
- wanoptgrp string
- Administrator access to WAN Opt & Cache.
- wifi string
- Administrator access to the WiFi controller and Switch controller.
- admintimeout_
override str - Enable/disable overriding the global administrator idle timeout.
- authgrp str
- Administrator access to Users and Devices.
- comments str
- Comment.
- ftviewgrp str
- FortiView.
- fwgrp str
- Administrator access to the Firewall configuration.
- loggrp str
- Administrator access to Logging and Reporting including viewing log messages.
- name str
- Profile name.
- netgrp str
- Network Configuration.
- scope str
- Scope of admin access.
- secfabgrp str
- Security Fabric.
- sysgrp str
- System Configuration.
- utmgrp str
- Administrator access to Security Profiles.
- vpngrp str
- Administrator access to IPsec, SSL, PPTP, and L2TP VPN.
- wanoptgrp str
- Administrator access to WAN Opt & Cache.
- wifi str
- Administrator access to the WiFi controller and Switch controller.
- admintimeout
Override String - Enable/disable overriding the global administrator idle timeout.
- authgrp String
- Administrator access to Users and Devices.
- comments String
- Comment.
- ftviewgrp String
- FortiView.
- fwgrp String
- Administrator access to the Firewall configuration.
- loggrp String
- Administrator access to Logging and Reporting including viewing log messages.
- name String
- Profile name.
- netgrp String
- Network Configuration.
- scope String
- Scope of admin access.
- secfabgrp String
- Security Fabric.
- sysgrp String
- System Configuration.
- utmgrp String
- Administrator access to Security Profiles.
- vpngrp String
- Administrator access to IPsec, SSL, PPTP, and L2TP VPN.
- wanoptgrp String
- Administrator access to WAN Opt & Cache.
- wifi String
- Administrator access to the WiFi controller and Switch controller.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.