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

fortios.system.Passwordpolicyguestadmin

Explore with Pulumi AI

Configure the password policy for guest administrators.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as fortios from "@pulumiverse/fortios";

const trname = new fortios.system.Passwordpolicyguestadmin("trname", {
    applyTo: "guest-admin-password",
    change4Characters: "disable",
    expireDay: 90,
    expireStatus: "disable",
    minLowerCaseLetter: 0,
    minNonAlphanumeric: 0,
    minNumber: 0,
    minUpperCaseLetter: 0,
    minimumLength: 8,
    reusePassword: "enable",
    status: "disable",
});
Copy
import pulumi
import pulumiverse_fortios as fortios

trname = fortios.system.Passwordpolicyguestadmin("trname",
    apply_to="guest-admin-password",
    change4_characters="disable",
    expire_day=90,
    expire_status="disable",
    min_lower_case_letter=0,
    min_non_alphanumeric=0,
    min_number=0,
    min_upper_case_letter=0,
    minimum_length=8,
    reuse_password="enable",
    status="disable")
Copy
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.NewPasswordpolicyguestadmin(ctx, "trname", &system.PasswordpolicyguestadminArgs{
			ApplyTo:            pulumi.String("guest-admin-password"),
			Change4Characters:  pulumi.String("disable"),
			ExpireDay:          pulumi.Int(90),
			ExpireStatus:       pulumi.String("disable"),
			MinLowerCaseLetter: pulumi.Int(0),
			MinNonAlphanumeric: pulumi.Int(0),
			MinNumber:          pulumi.Int(0),
			MinUpperCaseLetter: pulumi.Int(0),
			MinimumLength:      pulumi.Int(8),
			ReusePassword:      pulumi.String("enable"),
			Status:             pulumi.String("disable"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fortios = Pulumiverse.Fortios;

return await Deployment.RunAsync(() => 
{
    var trname = new Fortios.System.Passwordpolicyguestadmin("trname", new()
    {
        ApplyTo = "guest-admin-password",
        Change4Characters = "disable",
        ExpireDay = 90,
        ExpireStatus = "disable",
        MinLowerCaseLetter = 0,
        MinNonAlphanumeric = 0,
        MinNumber = 0,
        MinUpperCaseLetter = 0,
        MinimumLength = 8,
        ReusePassword = "enable",
        Status = "disable",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fortios.system.Passwordpolicyguestadmin;
import com.pulumi.fortios.system.PasswordpolicyguestadminArgs;
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 Passwordpolicyguestadmin("trname", PasswordpolicyguestadminArgs.builder()
            .applyTo("guest-admin-password")
            .change4Characters("disable")
            .expireDay(90)
            .expireStatus("disable")
            .minLowerCaseLetter(0)
            .minNonAlphanumeric(0)
            .minNumber(0)
            .minUpperCaseLetter(0)
            .minimumLength(8)
            .reusePassword("enable")
            .status("disable")
            .build());

    }
}
Copy
resources:
  trname:
    type: fortios:system:Passwordpolicyguestadmin
    properties:
      applyTo: guest-admin-password
      change4Characters: disable
      expireDay: 90
      expireStatus: disable
      minLowerCaseLetter: 0
      minNonAlphanumeric: 0
      minNumber: 0
      minUpperCaseLetter: 0
      minimumLength: 8
      reusePassword: enable
      status: disable
Copy

Create Passwordpolicyguestadmin Resource

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

Constructor syntax

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

@overload
def Passwordpolicyguestadmin(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             apply_to: Optional[str] = None,
                             change4_characters: Optional[str] = None,
                             expire_day: Optional[int] = None,
                             expire_status: Optional[str] = None,
                             min_change_characters: Optional[int] = None,
                             min_lower_case_letter: Optional[int] = None,
                             min_non_alphanumeric: Optional[int] = None,
                             min_number: Optional[int] = None,
                             min_upper_case_letter: Optional[int] = None,
                             minimum_length: Optional[int] = None,
                             reuse_password: Optional[str] = None,
                             status: Optional[str] = None,
                             vdomparam: Optional[str] = None)
func NewPasswordpolicyguestadmin(ctx *Context, name string, args *PasswordpolicyguestadminArgs, opts ...ResourceOption) (*Passwordpolicyguestadmin, error)
public Passwordpolicyguestadmin(string name, PasswordpolicyguestadminArgs? args = null, CustomResourceOptions? opts = null)
public Passwordpolicyguestadmin(String name, PasswordpolicyguestadminArgs args)
public Passwordpolicyguestadmin(String name, PasswordpolicyguestadminArgs args, CustomResourceOptions options)
type: fortios:system:Passwordpolicyguestadmin
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 PasswordpolicyguestadminArgs
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 PasswordpolicyguestadminArgs
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 PasswordpolicyguestadminArgs
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 PasswordpolicyguestadminArgs
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. PasswordpolicyguestadminArgs
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 passwordpolicyguestadminResource = new Fortios.System.Passwordpolicyguestadmin("passwordpolicyguestadminResource", new()
{
    ApplyTo = "string",
    Change4Characters = "string",
    ExpireDay = 0,
    ExpireStatus = "string",
    MinChangeCharacters = 0,
    MinLowerCaseLetter = 0,
    MinNonAlphanumeric = 0,
    MinNumber = 0,
    MinUpperCaseLetter = 0,
    MinimumLength = 0,
    ReusePassword = "string",
    Status = "string",
    Vdomparam = "string",
});
Copy
example, err := system.NewPasswordpolicyguestadmin(ctx, "passwordpolicyguestadminResource", &system.PasswordpolicyguestadminArgs{
	ApplyTo:             pulumi.String("string"),
	Change4Characters:   pulumi.String("string"),
	ExpireDay:           pulumi.Int(0),
	ExpireStatus:        pulumi.String("string"),
	MinChangeCharacters: pulumi.Int(0),
	MinLowerCaseLetter:  pulumi.Int(0),
	MinNonAlphanumeric:  pulumi.Int(0),
	MinNumber:           pulumi.Int(0),
	MinUpperCaseLetter:  pulumi.Int(0),
	MinimumLength:       pulumi.Int(0),
	ReusePassword:       pulumi.String("string"),
	Status:              pulumi.String("string"),
	Vdomparam:           pulumi.String("string"),
})
Copy
var passwordpolicyguestadminResource = new Passwordpolicyguestadmin("passwordpolicyguestadminResource", PasswordpolicyguestadminArgs.builder()
    .applyTo("string")
    .change4Characters("string")
    .expireDay(0)
    .expireStatus("string")
    .minChangeCharacters(0)
    .minLowerCaseLetter(0)
    .minNonAlphanumeric(0)
    .minNumber(0)
    .minUpperCaseLetter(0)
    .minimumLength(0)
    .reusePassword("string")
    .status("string")
    .vdomparam("string")
    .build());
Copy
passwordpolicyguestadmin_resource = fortios.system.Passwordpolicyguestadmin("passwordpolicyguestadminResource",
    apply_to="string",
    change4_characters="string",
    expire_day=0,
    expire_status="string",
    min_change_characters=0,
    min_lower_case_letter=0,
    min_non_alphanumeric=0,
    min_number=0,
    min_upper_case_letter=0,
    minimum_length=0,
    reuse_password="string",
    status="string",
    vdomparam="string")
Copy
const passwordpolicyguestadminResource = new fortios.system.Passwordpolicyguestadmin("passwordpolicyguestadminResource", {
    applyTo: "string",
    change4Characters: "string",
    expireDay: 0,
    expireStatus: "string",
    minChangeCharacters: 0,
    minLowerCaseLetter: 0,
    minNonAlphanumeric: 0,
    minNumber: 0,
    minUpperCaseLetter: 0,
    minimumLength: 0,
    reusePassword: "string",
    status: "string",
    vdomparam: "string",
});
Copy
type: fortios:system:Passwordpolicyguestadmin
properties:
    applyTo: string
    change4Characters: string
    expireDay: 0
    expireStatus: string
    minChangeCharacters: 0
    minLowerCaseLetter: 0
    minNonAlphanumeric: 0
    minNumber: 0
    minUpperCaseLetter: 0
    minimumLength: 0
    reusePassword: string
    status: string
    vdomparam: string
Copy

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

ApplyTo string
Guest administrator to which this password policy applies. Valid values: guest-admin-password.
Change4Characters string
Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values: enable, disable.
ExpireDay int
Number of days after which passwords expire (1 - 999 days, default = 90).
ExpireStatus string
Enable/disable password expiration. Valid values: enable, disable.
MinChangeCharacters int
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
MinLowerCaseLetter int
Minimum number of lowercase characters in password (0 - 128, default = 0).
MinNonAlphanumeric int
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
MinNumber int
Minimum number of numeric characters in password (0 - 128, default = 0).
MinUpperCaseLetter int
Minimum number of uppercase characters in password (0 - 128, default = 0).
MinimumLength int
Minimum password length (8 - 128, default = 8).
ReusePassword string
Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values: enable, disable.
Status string
Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values: enable, disable.
Vdomparam Changes to this property will trigger replacement. 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.
ApplyTo string
Guest administrator to which this password policy applies. Valid values: guest-admin-password.
Change4Characters string
Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values: enable, disable.
ExpireDay int
Number of days after which passwords expire (1 - 999 days, default = 90).
ExpireStatus string
Enable/disable password expiration. Valid values: enable, disable.
MinChangeCharacters int
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
MinLowerCaseLetter int
Minimum number of lowercase characters in password (0 - 128, default = 0).
MinNonAlphanumeric int
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
MinNumber int
Minimum number of numeric characters in password (0 - 128, default = 0).
MinUpperCaseLetter int
Minimum number of uppercase characters in password (0 - 128, default = 0).
MinimumLength int
Minimum password length (8 - 128, default = 8).
ReusePassword string
Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values: enable, disable.
Status string
Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values: enable, disable.
Vdomparam Changes to this property will trigger replacement. 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.
applyTo String
Guest administrator to which this password policy applies. Valid values: guest-admin-password.
change4Characters String
Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values: enable, disable.
expireDay Integer
Number of days after which passwords expire (1 - 999 days, default = 90).
expireStatus String
Enable/disable password expiration. Valid values: enable, disable.
minChangeCharacters Integer
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
minLowerCaseLetter Integer
Minimum number of lowercase characters in password (0 - 128, default = 0).
minNonAlphanumeric Integer
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
minNumber Integer
Minimum number of numeric characters in password (0 - 128, default = 0).
minUpperCaseLetter Integer
Minimum number of uppercase characters in password (0 - 128, default = 0).
minimumLength Integer
Minimum password length (8 - 128, default = 8).
reusePassword String
Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values: enable, disable.
status String
Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values: enable, disable.
vdomparam Changes to this property will trigger replacement. 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.
applyTo string
Guest administrator to which this password policy applies. Valid values: guest-admin-password.
change4Characters string
Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values: enable, disable.
expireDay number
Number of days after which passwords expire (1 - 999 days, default = 90).
expireStatus string
Enable/disable password expiration. Valid values: enable, disable.
minChangeCharacters number
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
minLowerCaseLetter number
Minimum number of lowercase characters in password (0 - 128, default = 0).
minNonAlphanumeric number
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
minNumber number
Minimum number of numeric characters in password (0 - 128, default = 0).
minUpperCaseLetter number
Minimum number of uppercase characters in password (0 - 128, default = 0).
minimumLength number
Minimum password length (8 - 128, default = 8).
reusePassword string
Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values: enable, disable.
status string
Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values: enable, disable.
vdomparam Changes to this property will trigger replacement. 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.
apply_to str
Guest administrator to which this password policy applies. Valid values: guest-admin-password.
change4_characters str
Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values: enable, disable.
expire_day int
Number of days after which passwords expire (1 - 999 days, default = 90).
expire_status str
Enable/disable password expiration. Valid values: enable, disable.
min_change_characters int
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
min_lower_case_letter int
Minimum number of lowercase characters in password (0 - 128, default = 0).
min_non_alphanumeric int
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
min_number int
Minimum number of numeric characters in password (0 - 128, default = 0).
min_upper_case_letter int
Minimum number of uppercase characters in password (0 - 128, default = 0).
minimum_length int
Minimum password length (8 - 128, default = 8).
reuse_password str
Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values: enable, disable.
status str
Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values: enable, disable.
vdomparam Changes to this property will trigger replacement. 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.
applyTo String
Guest administrator to which this password policy applies. Valid values: guest-admin-password.
change4Characters String
Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values: enable, disable.
expireDay Number
Number of days after which passwords expire (1 - 999 days, default = 90).
expireStatus String
Enable/disable password expiration. Valid values: enable, disable.
minChangeCharacters Number
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
minLowerCaseLetter Number
Minimum number of lowercase characters in password (0 - 128, default = 0).
minNonAlphanumeric Number
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
minNumber Number
Minimum number of numeric characters in password (0 - 128, default = 0).
minUpperCaseLetter Number
Minimum number of uppercase characters in password (0 - 128, default = 0).
minimumLength Number
Minimum password length (8 - 128, default = 8).
reusePassword String
Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values: enable, disable.
status String
Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values: enable, disable.
vdomparam Changes to this property will trigger replacement. 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 Passwordpolicyguestadmin 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 Passwordpolicyguestadmin Resource

Get an existing Passwordpolicyguestadmin 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?: PasswordpolicyguestadminState, opts?: CustomResourceOptions): Passwordpolicyguestadmin
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        apply_to: Optional[str] = None,
        change4_characters: Optional[str] = None,
        expire_day: Optional[int] = None,
        expire_status: Optional[str] = None,
        min_change_characters: Optional[int] = None,
        min_lower_case_letter: Optional[int] = None,
        min_non_alphanumeric: Optional[int] = None,
        min_number: Optional[int] = None,
        min_upper_case_letter: Optional[int] = None,
        minimum_length: Optional[int] = None,
        reuse_password: Optional[str] = None,
        status: Optional[str] = None,
        vdomparam: Optional[str] = None) -> Passwordpolicyguestadmin
func GetPasswordpolicyguestadmin(ctx *Context, name string, id IDInput, state *PasswordpolicyguestadminState, opts ...ResourceOption) (*Passwordpolicyguestadmin, error)
public static Passwordpolicyguestadmin Get(string name, Input<string> id, PasswordpolicyguestadminState? state, CustomResourceOptions? opts = null)
public static Passwordpolicyguestadmin get(String name, Output<String> id, PasswordpolicyguestadminState state, CustomResourceOptions options)
resources:  _:    type: fortios:system:Passwordpolicyguestadmin    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:
ApplyTo string
Guest administrator to which this password policy applies. Valid values: guest-admin-password.
Change4Characters string
Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values: enable, disable.
ExpireDay int
Number of days after which passwords expire (1 - 999 days, default = 90).
ExpireStatus string
Enable/disable password expiration. Valid values: enable, disable.
MinChangeCharacters int
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
MinLowerCaseLetter int
Minimum number of lowercase characters in password (0 - 128, default = 0).
MinNonAlphanumeric int
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
MinNumber int
Minimum number of numeric characters in password (0 - 128, default = 0).
MinUpperCaseLetter int
Minimum number of uppercase characters in password (0 - 128, default = 0).
MinimumLength int
Minimum password length (8 - 128, default = 8).
ReusePassword string
Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values: enable, disable.
Status string
Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values: enable, disable.
Vdomparam Changes to this property will trigger replacement. 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.
ApplyTo string
Guest administrator to which this password policy applies. Valid values: guest-admin-password.
Change4Characters string
Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values: enable, disable.
ExpireDay int
Number of days after which passwords expire (1 - 999 days, default = 90).
ExpireStatus string
Enable/disable password expiration. Valid values: enable, disable.
MinChangeCharacters int
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
MinLowerCaseLetter int
Minimum number of lowercase characters in password (0 - 128, default = 0).
MinNonAlphanumeric int
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
MinNumber int
Minimum number of numeric characters in password (0 - 128, default = 0).
MinUpperCaseLetter int
Minimum number of uppercase characters in password (0 - 128, default = 0).
MinimumLength int
Minimum password length (8 - 128, default = 8).
ReusePassword string
Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values: enable, disable.
Status string
Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values: enable, disable.
Vdomparam Changes to this property will trigger replacement. 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.
applyTo String
Guest administrator to which this password policy applies. Valid values: guest-admin-password.
change4Characters String
Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values: enable, disable.
expireDay Integer
Number of days after which passwords expire (1 - 999 days, default = 90).
expireStatus String
Enable/disable password expiration. Valid values: enable, disable.
minChangeCharacters Integer
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
minLowerCaseLetter Integer
Minimum number of lowercase characters in password (0 - 128, default = 0).
minNonAlphanumeric Integer
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
minNumber Integer
Minimum number of numeric characters in password (0 - 128, default = 0).
minUpperCaseLetter Integer
Minimum number of uppercase characters in password (0 - 128, default = 0).
minimumLength Integer
Minimum password length (8 - 128, default = 8).
reusePassword String
Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values: enable, disable.
status String
Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values: enable, disable.
vdomparam Changes to this property will trigger replacement. 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.
applyTo string
Guest administrator to which this password policy applies. Valid values: guest-admin-password.
change4Characters string
Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values: enable, disable.
expireDay number
Number of days after which passwords expire (1 - 999 days, default = 90).
expireStatus string
Enable/disable password expiration. Valid values: enable, disable.
minChangeCharacters number
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
minLowerCaseLetter number
Minimum number of lowercase characters in password (0 - 128, default = 0).
minNonAlphanumeric number
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
minNumber number
Minimum number of numeric characters in password (0 - 128, default = 0).
minUpperCaseLetter number
Minimum number of uppercase characters in password (0 - 128, default = 0).
minimumLength number
Minimum password length (8 - 128, default = 8).
reusePassword string
Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values: enable, disable.
status string
Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values: enable, disable.
vdomparam Changes to this property will trigger replacement. 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.
apply_to str
Guest administrator to which this password policy applies. Valid values: guest-admin-password.
change4_characters str
Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values: enable, disable.
expire_day int
Number of days after which passwords expire (1 - 999 days, default = 90).
expire_status str
Enable/disable password expiration. Valid values: enable, disable.
min_change_characters int
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
min_lower_case_letter int
Minimum number of lowercase characters in password (0 - 128, default = 0).
min_non_alphanumeric int
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
min_number int
Minimum number of numeric characters in password (0 - 128, default = 0).
min_upper_case_letter int
Minimum number of uppercase characters in password (0 - 128, default = 0).
minimum_length int
Minimum password length (8 - 128, default = 8).
reuse_password str
Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values: enable, disable.
status str
Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values: enable, disable.
vdomparam Changes to this property will trigger replacement. 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.
applyTo String
Guest administrator to which this password policy applies. Valid values: guest-admin-password.
change4Characters String
Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). Valid values: enable, disable.
expireDay Number
Number of days after which passwords expire (1 - 999 days, default = 90).
expireStatus String
Enable/disable password expiration. Valid values: enable, disable.
minChangeCharacters Number
Minimum number of unique characters in new password which do not exist in old password (0 - 128, default = 0. This attribute overrides reuse-password if both are enabled).
minLowerCaseLetter Number
Minimum number of lowercase characters in password (0 - 128, default = 0).
minNonAlphanumeric Number
Minimum number of non-alphanumeric characters in password (0 - 128, default = 0).
minNumber Number
Minimum number of numeric characters in password (0 - 128, default = 0).
minUpperCaseLetter Number
Minimum number of uppercase characters in password (0 - 128, default = 0).
minimumLength Number
Minimum password length (8 - 128, default = 8).
reusePassword String
Enable/disable reuse of password. On FortiOS versions 6.2.0-7.0.0: If both reuse-password and change-4-characters are enabled, change-4-characters overrides.. On FortiOS versions >= 7.0.1: If both reuse-password and min-change-characters are enabled, min-change-characters overrides.. Valid values: enable, disable.
status String
Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. Valid values: enable, disable.
vdomparam Changes to this property will trigger replacement. 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.

Import

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

$ pulumi import fortios:system/passwordpolicyguestadmin:Passwordpolicyguestadmin labelname SystemPasswordPolicyGuestAdmin
Copy

If you do not want to import arguments of block:

$ export “FORTIOS_IMPORT_TABLE”=“false”

$ pulumi import fortios:system/passwordpolicyguestadmin:Passwordpolicyguestadmin labelname SystemPasswordPolicyGuestAdmin
Copy

$ 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.