UNPKG

@pulumi/meraki

Version:

A Pulumi package for creating and managing Cisco Meraki resources. Based on terraform-provider-meraki: version v0.2.0

216 lines (215 loc) 10.1 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * ## Example Usage * * ## Import * * ```sh * $ pulumi import meraki:organizations/loginSecurity:LoginSecurity example "organization_id" * ``` */ export declare class LoginSecurity extends pulumi.CustomResource { /** * Get an existing LoginSecurity resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LoginSecurityState, opts?: pulumi.CustomResourceOptions): LoginSecurity; /** * Returns true if the given object is an instance of LoginSecurity. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is LoginSecurity; /** * Number of consecutive failed login attempts after which users' accounts will be locked. */ readonly accountLockoutAttempts: pulumi.Output<number>; /** * Details for indicating whether organization will restrict access to API (but not Dashboard) to certain IP addresses. */ readonly apiAuthentication: pulumi.Output<outputs.organizations.LoginSecurityApiAuthentication>; /** * Boolean indicating whether users' Dashboard accounts will be locked out after a specified number of consecutive failed login attempts. */ readonly enforceAccountLockout: pulumi.Output<boolean>; /** * Boolean indicating whether users, when setting a new password, are forced to choose a new password that is different from any past passwords. */ readonly enforceDifferentPasswords: pulumi.Output<boolean>; /** * Boolean indicating whether users will be logged out after being idle for the specified number of minutes. */ readonly enforceIdleTimeout: pulumi.Output<boolean>; /** * Boolean indicating whether organization will restrict access to Dashboard (including the API) from certain IP addresses. */ readonly enforceLoginIpRanges: pulumi.Output<boolean>; /** * Boolean indicating whether users are forced to change their password every X number of days. */ readonly enforcePasswordExpiration: pulumi.Output<boolean>; /** * Boolean indicating whether users will be forced to choose strong passwords for their accounts. Strong passwords are at least 8 characters that contain 3 of the following: number, uppercase letter, lowercase letter, and symbol */ readonly enforceStrongPasswords: pulumi.Output<boolean>; /** * Boolean indicating whether users in this organization will be required to use an extra verification code when logging in to Dashboard. This code will be sent to their mobile phone via SMS, or can be generated by the authenticator application. */ readonly enforceTwoFactorAuth: pulumi.Output<boolean>; /** * Number of minutes users can remain idle before being logged out of their accounts. */ readonly idleTimeoutMinutes: pulumi.Output<number>; /** * List of acceptable IP ranges. Entries can be single IP addresses, IP address ranges, and CIDR subnets. */ readonly loginIpRanges: pulumi.Output<string[]>; /** * Number of recent passwords that new password must be distinct from. */ readonly numDifferentPasswords: pulumi.Output<number>; /** * organizationId path parameter. Organization ID */ readonly organizationId: pulumi.Output<string>; /** * Number of days after which users will be forced to change their password. */ readonly passwordExpirationDays: pulumi.Output<number>; /** * Create a LoginSecurity resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: LoginSecurityArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LoginSecurity resources. */ export interface LoginSecurityState { /** * Number of consecutive failed login attempts after which users' accounts will be locked. */ accountLockoutAttempts?: pulumi.Input<number>; /** * Details for indicating whether organization will restrict access to API (but not Dashboard) to certain IP addresses. */ apiAuthentication?: pulumi.Input<inputs.organizations.LoginSecurityApiAuthentication>; /** * Boolean indicating whether users' Dashboard accounts will be locked out after a specified number of consecutive failed login attempts. */ enforceAccountLockout?: pulumi.Input<boolean>; /** * Boolean indicating whether users, when setting a new password, are forced to choose a new password that is different from any past passwords. */ enforceDifferentPasswords?: pulumi.Input<boolean>; /** * Boolean indicating whether users will be logged out after being idle for the specified number of minutes. */ enforceIdleTimeout?: pulumi.Input<boolean>; /** * Boolean indicating whether organization will restrict access to Dashboard (including the API) from certain IP addresses. */ enforceLoginIpRanges?: pulumi.Input<boolean>; /** * Boolean indicating whether users are forced to change their password every X number of days. */ enforcePasswordExpiration?: pulumi.Input<boolean>; /** * Boolean indicating whether users will be forced to choose strong passwords for their accounts. Strong passwords are at least 8 characters that contain 3 of the following: number, uppercase letter, lowercase letter, and symbol */ enforceStrongPasswords?: pulumi.Input<boolean>; /** * Boolean indicating whether users in this organization will be required to use an extra verification code when logging in to Dashboard. This code will be sent to their mobile phone via SMS, or can be generated by the authenticator application. */ enforceTwoFactorAuth?: pulumi.Input<boolean>; /** * Number of minutes users can remain idle before being logged out of their accounts. */ idleTimeoutMinutes?: pulumi.Input<number>; /** * List of acceptable IP ranges. Entries can be single IP addresses, IP address ranges, and CIDR subnets. */ loginIpRanges?: pulumi.Input<pulumi.Input<string>[]>; /** * Number of recent passwords that new password must be distinct from. */ numDifferentPasswords?: pulumi.Input<number>; /** * organizationId path parameter. Organization ID */ organizationId?: pulumi.Input<string>; /** * Number of days after which users will be forced to change their password. */ passwordExpirationDays?: pulumi.Input<number>; } /** * The set of arguments for constructing a LoginSecurity resource. */ export interface LoginSecurityArgs { /** * Number of consecutive failed login attempts after which users' accounts will be locked. */ accountLockoutAttempts?: pulumi.Input<number>; /** * Details for indicating whether organization will restrict access to API (but not Dashboard) to certain IP addresses. */ apiAuthentication?: pulumi.Input<inputs.organizations.LoginSecurityApiAuthentication>; /** * Boolean indicating whether users' Dashboard accounts will be locked out after a specified number of consecutive failed login attempts. */ enforceAccountLockout?: pulumi.Input<boolean>; /** * Boolean indicating whether users, when setting a new password, are forced to choose a new password that is different from any past passwords. */ enforceDifferentPasswords?: pulumi.Input<boolean>; /** * Boolean indicating whether users will be logged out after being idle for the specified number of minutes. */ enforceIdleTimeout?: pulumi.Input<boolean>; /** * Boolean indicating whether organization will restrict access to Dashboard (including the API) from certain IP addresses. */ enforceLoginIpRanges?: pulumi.Input<boolean>; /** * Boolean indicating whether users are forced to change their password every X number of days. */ enforcePasswordExpiration?: pulumi.Input<boolean>; /** * Boolean indicating whether users will be forced to choose strong passwords for their accounts. Strong passwords are at least 8 characters that contain 3 of the following: number, uppercase letter, lowercase letter, and symbol */ enforceStrongPasswords?: pulumi.Input<boolean>; /** * Boolean indicating whether users in this organization will be required to use an extra verification code when logging in to Dashboard. This code will be sent to their mobile phone via SMS, or can be generated by the authenticator application. */ enforceTwoFactorAuth?: pulumi.Input<boolean>; /** * Number of minutes users can remain idle before being logged out of their accounts. */ idleTimeoutMinutes?: pulumi.Input<number>; /** * List of acceptable IP ranges. Entries can be single IP addresses, IP address ranges, and CIDR subnets. */ loginIpRanges?: pulumi.Input<pulumi.Input<string>[]>; /** * Number of recent passwords that new password must be distinct from. */ numDifferentPasswords?: pulumi.Input<number>; /** * organizationId path parameter. Organization ID */ organizationId: pulumi.Input<string>; /** * Number of days after which users will be forced to change their password. */ passwordExpirationDays?: pulumi.Input<number>; }