models_v2.active_directory module¶
-
class
models_v2.active_directory.
ActiveDirectory
(machine_accounts=None, id=None, organizational_unit_name=None, work_group_name=None, preferred_domain_controllers=None, ldap_provider_id=None, trusted_domain_params=None, nis_provider_domain_name=None, id_mapping_params=None, domain_name=None, centrify_zones=None, domain_controllers=None, security_principals=None, permissions=None)[source]¶ Bases:
object
Implementation of the ‘ActiveDirectory’ model.
Specifies an Active Directory.
- Attributes:
- machine_accounts (list of MachineAccount): Specifies a list of
computer names used to identify the Cohesity Cluster on the Active Directory domain.
id (long|int): Specifies the id of the Active Directory. organizational_unit_name (string): Specifies an optional
organizational unit name.
work_group_name (string): Specifies an optional work group name. preferred_domain_controllers (list of DomainController): Specifies a
list of preferred domain controllers of this Active Directory.
- ldap_provider_id (long|int): Specifies the LDAP provider id which is
mapped to this Active Directory
- trusted_domain_params (TrustedDomainParams2): Specifies the params of
trusted domain info of an Active Directory.
- nis_provider_domain_name (string): Specifies the name of the NIS
Provider which is mapped to this Active Directory.
- id_mapping_params (IdMappingParams): Specifies the params of the user
id mapping info of an Active Directory.
- domain_name (string): Specifies the domain name of the Active
Directory.
- centrify_zones (list of CentrifyZones): Specifies a list of centrify
zones.
- domain_controllers (list of DomainControllers): A list of domain names
with a list of it’s domain controllers.
- security_principals (list of SecurityPrincipal): Specifies a list of
security principals.
- permissions (list of Tenant): Specifies the list of tenants that have
permissions for this Active Directory.
-
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.