import * as $dara from '@darabonba/typescript'; export declare class SetPasswordPolicyRequest extends $dara.Model { /** * @remarks * Specifies whether a password will expire. Valid values: `true` and `false`. Default value: `false`. If you leave this parameter unspecified, the default value false is used. * * * If you set this parameter to `true`, the Alibaba Cloud account to which the RAM users belong must reset the passwords before the RAM users can log on to the Alibaba Cloud Management Console. * * If you set this parameter to `false`, the RAM users can change the passwords after the passwords expire and then log on to the Alibaba Cloud Management Console. * * @example * false */ hardExpiry?: boolean; /** * @remarks * The maximum number of permitted logon attempts within one hour. The number of logon attempts is reset to zero if a RAM user changes the password. * * @example * 5 */ maxLoginAttemps?: number; /** * @remarks * The number of days for which a password is valid. If you reset a password, the password validity period restarts. Default value: 0. The default value indicates that the password never expires. * * @example * 0 */ maxPasswordAge?: number; /** * @remarks * The minimum number of characters in a password. * * Valid values: 8 to 32. Default value: 8. * * @example * 12 */ minimumPasswordLength?: number; /** * @remarks * The number of previous passwords that a RAM user is prevented from reusing. Default value: 0. The default value indicates that the RAM user can reuse previous passwords. * * @example * 0 */ passwordReusePrevention?: number; /** * @remarks * Specifies whether a password must contain one or more lowercase letters. * * @example * true */ requireLowercaseCharacters?: boolean; /** * @remarks * Specifies whether a password must contain one or more digits. * * @example * true */ requireNumbers?: boolean; /** * @remarks * Specifies whether a password must contain one or more special characters. * * @example * true */ requireSymbols?: boolean; /** * @remarks * Specifies whether a password must contain one or more uppercase letters. * * @example * true */ requireUppercaseCharacters?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }