UNPKG

@pulumiverse/fortios

Version:

A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0

86 lines (85 loc) 3.37 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get information on fortios system passwordpolicy */ export declare function getPasswordpolicy(args?: GetPasswordpolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetPasswordpolicyResult>; /** * A collection of arguments for invoking getPasswordpolicy. */ export interface GetPasswordpolicyArgs { /** * Specifies the vdom to which the data source 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. */ vdomparam?: string; } /** * A collection of values returned by getPasswordpolicy. */ export interface GetPasswordpolicyResult { /** * Apply password policy to administrator passwords or IPsec pre-shared keys or both. Separate entries with a space. */ readonly applyTo: string; /** * Enable/disable changing at least 4 characters for a new password (This attribute overrides reuse-password if both are enabled). */ readonly change4Characters: string; /** * Number of days after which passwords expire (1 - 999 days, default = 90). */ readonly expireDay: number; /** * Enable/disable password expiration. */ readonly expireStatus: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Minimum number of unique characters in new password which do not exist in old password (This attribute overrides reuse-password if both are enabled). */ readonly minChangeCharacters: number; /** * Minimum number of lowercase characters in password (0 - 128, default = 0). */ readonly minLowerCaseLetter: number; /** * Minimum number of non-alphanumeric characters in password (0 - 128, default = 0). */ readonly minNonAlphanumeric: number; /** * Minimum number of numeric characters in password (0 - 128, default = 0). */ readonly minNumber: number; /** * Minimum number of uppercase characters in password (0 - 128, default = 0). */ readonly minUpperCaseLetter: number; /** * Minimum password length (8 - 128, default = 8). */ readonly minimumLength: number; /** * Enable/disable reusing of password (if both reuse-password and change-4-characters are enabled, change-4-characters overrides). */ readonly reusePassword: string; /** * Enable/disable setting a password policy for locally defined administrator passwords and IPsec VPN pre-shared keys. */ readonly status: string; readonly vdomparam?: string; } /** * Use this data source to get information on fortios system passwordpolicy */ export declare function getPasswordpolicyOutput(args?: GetPasswordpolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPasswordpolicyResult>; /** * A collection of arguments for invoking getPasswordpolicy. */ export interface GetPasswordpolicyOutputArgs { /** * Specifies the vdom to which the data source 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. */ vdomparam?: pulumi.Input<string>; }