Class: Fog::Compute::Ecloud::PasswordComplexityRule

Inherits:
Ecloud::Model
  • Object
show all
Defined in:
lib/fog/ecloud/models/compute/password_complexity_rule.rb

Instance Attribute Summary

Attributes inherited from Ecloud::Model

#loaded

Instance Method Summary collapse

Methods inherited from Ecloud::Model

#load_unless_loaded!, #reload

Instance Method Details

#idObject



43
44
45
# File 'lib/fog/ecloud/models/compute/password_complexity_rule.rb', line 43

def id
  href.scan(/\d+/)[0]
end

#maximum_consecutive_characters_from_prior_passwordObject



31
32
33
# File 'lib/fog/ecloud/models/compute/password_complexity_rule.rb', line 31

def maximum_consecutive_characters_from_prior_password
  custom_rules[:MaximumConsecutiveCharactersFromPriorPassword]
end

#minimum_charactersObject



11
12
13
# File 'lib/fog/ecloud/models/compute/password_complexity_rule.rb', line 11

def minimum_characters
  custom_rules[:MinimumCharacters]
end

#minimum_generations_before_reuseObject



39
40
41
# File 'lib/fog/ecloud/models/compute/password_complexity_rule.rb', line 39

def minimum_generations_before_reuse
  custom_rules[:MinimumGenerationsBeforeReuse]
end

#minimum_lifetime_restrictionObject



35
36
37
# File 'lib/fog/ecloud/models/compute/password_complexity_rule.rb', line 35

def minimum_lifetime_restriction
  custom_rules[:MinimumLifetimeRestriction]
end

#minimum_lower_case_charactersObject



19
20
21
# File 'lib/fog/ecloud/models/compute/password_complexity_rule.rb', line 19

def minimum_lower_case_characters
  custom_rules[:MinimumLowerCaseCharacters]
end

#minimum_numeric_charactersObject



23
24
25
# File 'lib/fog/ecloud/models/compute/password_complexity_rule.rb', line 23

def minimum_numeric_characters
  custom_rules[:MinimumNumericCharacters]
end

#minimum_special_charactersObject



27
28
29
# File 'lib/fog/ecloud/models/compute/password_complexity_rule.rb', line 27

def minimum_special_characters
  custom_rules[:MinimumSpecialCharacters]
end

#minimum_upper_case_charactersObject



15
16
17
# File 'lib/fog/ecloud/models/compute/password_complexity_rule.rb', line 15

def minimum_upper_case_characters
  custom_rules[:MinimumUpperCaseCharacters]
end