Class: Ansible::Ruby::Modules::Win_domain_computer

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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

#descriptionString?

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.

Returns:

  • (String, nil)

    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_hostnameString?

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).

Returns:

  • (String, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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

#nameString

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.

Returns:

  • (String)

    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

#ouArray<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).

Returns:

  • (Array<String>, String, nil)

    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_nameString?

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 $.

Returns:

  • (String, nil)

    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.

Returns:

  • (:present, :absent, nil)

    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