models.active_directory_entry module¶
-
class
models.active_directory_entry.
ActiveDirectoryEntry
(domain_name=None, fallback_user_id_mapping_info=None, ignored_trusted_domains=None, ldap_provider_id=None, machine_accounts=None, ou_name=None, password=None, preferred_domain_controllers=None, task_path=None, tenant_id=None, trusted_domains=None, trusted_domains_enabled=None, unix_root_sid=None, user_id_mapping_info=None, user_name=None, workgroup=None)[source]¶ Bases:
object
Implementation of the ‘ActiveDirectoryEntry’ model.
Specifies the join settings for a Microsoft Active Directory domain.
- Attributes:
- domain_name (string): Specifies the fully qualified domain name (FQDN)
of an Active Directory.
- fallback_user_id_mapping_info (UserIdMapping): Specifies how the Unix
and Windows users are mapped in an Active Directory.
- ignored_trusted_domains (list of string): Specifies the list of
trusted domains that were set by the user to be ignored during trusted domain discovery.
- ldap_provider_id (long|int): Specifies the LDAP provider id which is
map to this Active Directory
- machine_accounts (list of string): Array of Machine Accounts.
Specifies an array of computer names used to identify the Cohesity Cluster on the domain.
ou_name (string): Specifies an optional Organizational Unit name. password (string): Specifies the password for the specified userName. preferred_domain_controllers (list of PreferredDomainController):
Specifies Map of Active Directory domain names to its preferred domain controllers.
task_path (string): Specifies the task path for AD joining task. tenant_id (string): Specifies the unique id of the tenant. trusted_domains (list of string): Specifies the trusted domains of the
Active Directory domain.
- trusted_domains_enabled (bool): Specifies whether Trusted Domain
discovery is disabled.
- unix_root_sid (string): Specifies the SID of the Active Directory
domain user to be mapped to Unix root user.
- user_id_mapping_info (UserIdMapping): Specifies how the Unix and
Windows users are mapped in an Active Directory.
- user_name (string): Specifies a userName that has administrative
privileges in the domain.
workgroup (string): Specifies an optional Workgroup name.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.