Show / Hide Table of Contents

Class AccountPasswordPolicy

Inheritance
System.Object
Resource
CustomResource
AccountPasswordPolicy
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Ram
Assembly: Pulumi.AliCloud.dll
Syntax
public class AccountPasswordPolicy : CustomResource

Constructors

View Source

AccountPasswordPolicy(String, AccountPasswordPolicyArgs, CustomResourceOptions)

Create a AccountPasswordPolicy resource with the given unique name, arguments, and options.

Declaration
public AccountPasswordPolicy(string name, AccountPasswordPolicyArgs args = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

AccountPasswordPolicyArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

HardExpiry

Specifies if a password can expire in a hard way. Default to false.

Declaration
public Output<bool?> HardExpiry { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

MaxLoginAttempts

Maximum logon attempts with an incorrect password within an hour. Valid value range: [0-32]. Default to 5.

Declaration
public Output<int?> MaxLoginAttempts { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

MaxPasswordAge

The number of days after which password expires. A value of 0 indicates that the password never expires. Valid value range: [0-1095]. Default to 0.

Declaration
public Output<int?> MaxPasswordAge { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

MinimumPasswordLength

Minimal required length of password for a user. Valid value range: [8-32]. Default to 12.

Declaration
public Output<int?> MinimumPasswordLength { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

PasswordReusePrevention

User is not allowed to use the latest number of passwords specified in this parameter. A value of 0 indicates the password history check policy is disabled. Valid value range: [0-24]. Default to 0.

Declaration
public Output<int?> PasswordReusePrevention { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

RequireLowercaseCharacters

Specifies if the occurrence of a lowercase character in the password is mandatory. Default to true.

Declaration
public Output<bool?> RequireLowercaseCharacters { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

RequireNumbers

Specifies if the occurrence of a number in the password is mandatory. Default to true.

Declaration
public Output<bool?> RequireNumbers { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

RequireSymbols

(Optional Specifies if the occurrence of a special character in the password is mandatory. Default to true.

Declaration
public Output<bool?> RequireSymbols { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

RequireUppercaseCharacters

Specifies if the occurrence of an uppercase character in the password is mandatory. Default to true.

Declaration
public Output<bool?> RequireUppercaseCharacters { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>

Methods

View Source

Get(String, Input<String>, AccountPasswordPolicyState, CustomResourceOptions)

Get an existing AccountPasswordPolicy resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static AccountPasswordPolicy Get(string name, Input<string> id, AccountPasswordPolicyState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

AccountPasswordPolicyState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
AccountPasswordPolicy
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.