Class: Ansible::Ruby::Modules::Win_domain_computer
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_domain_computer
- Defined in:
- lib/ansible/ruby/modules/generated/windows/win_domain_computer.rb
Overview
Create, read, update and delete computers in Active Directory using a windows bridge computer to launch New-ADComputer, Get-ADComputer, Set-ADComputer, Remove-ADComputer and Move-ADObject powershell commands.
Instance Method Summary collapse
-
#description ⇒ String?
Specifies a description of the object.
-
#dns_hostname ⇒ String?
Specifies the fully qualified domain name (FQDN) of the computer.
-
#enabled ⇒ :yes, ...
Specifies if an account is enabled.
-
#name ⇒ String
Specifies the name of the object.
-
#ou ⇒ Array<String>, ...
Specifies the X.500 path of the Organizational Unit (OU) or container where the new object is created.
-
#sam_account_name ⇒ String?
Specifies the Security Account Manager (SAM) account name of the computer.
-
#state ⇒ :present, ...
Specified whether the computer should be C(present) or C(absent) in Active Directory.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#description ⇒ String?
Returns Specifies a description of the object. This parameter sets the value of the Description property for the object. The LDAP display name (ldapDisplayName) for this property is description.
28 |
# File 'lib/ansible/ruby/modules/generated/windows/win_domain_computer.rb', line 28 attribute :description |
#dns_hostname ⇒ String?
Returns Specifies the fully qualified domain name (FQDN) of the computer. This parameter sets the DNSHostName property for a computer object. The LDAP display name for this property is dNSHostName. Required when I(state=present).
32 |
# File 'lib/ansible/ruby/modules/generated/windows/win_domain_computer.rb', line 32 attribute :dns_hostname |
#enabled ⇒ :yes, ...
Returns Specifies if an account is enabled. An enabled account requires a password. This parameter sets the Enabled property for an account object. This parameter also sets the ADS_UF_ACCOUNTDISABLE flag of the Active Directory User Account Control (UAC) attribute.
20 |
# File 'lib/ansible/ruby/modules/generated/windows/win_domain_computer.rb', line 20 attribute :enabled |
#name ⇒ String
Returns Specifies the name of the object. This parameter sets the Name property of the Active Directory object. The LDAP display name (ldapDisplayName) of this property is name.
12 |
# File 'lib/ansible/ruby/modules/generated/windows/win_domain_computer.rb', line 12 attribute :name |
#ou ⇒ Array<String>, ...
Returns Specifies the X.500 path of the Organizational Unit (OU) or container where the new object is created. Required when I(state=present).
24 |
# File 'lib/ansible/ruby/modules/generated/windows/win_domain_computer.rb', line 24 attribute :ou |
#sam_account_name ⇒ String?
Returns Specifies the Security Account Manager (SAM) account name of the computer. It maximum is 256 characters, 15 is advised for older operating systems compatibility. The LDAP display name (ldapDisplayName) for this property is sAMAccountName. If ommitted the value is the same as C(name). Note. All computer SAMAccountNames needs to end with a $.
16 |
# File 'lib/ansible/ruby/modules/generated/windows/win_domain_computer.rb', line 16 attribute :sam_account_name |
#state ⇒ :present, ...
Returns Specified whether the computer should be C(present) or C(absent) in Active Directory.
36 |
# File 'lib/ansible/ruby/modules/generated/windows/win_domain_computer.rb', line 36 attribute :state |