# Class ActiveDirectory (0.10.1)

0.10.1 (latest) 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.24 0.2.0 0.1.0

    ActiveDirectory(mapping=None, *, ignore_unknown_fields=False, **kwargs)

ActiveDirectory is the public representation of the active
directory config.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Identifier. The resource name of the active directory. Format: `projects/{project_number}/locations/{location_id}/activeDirectories/{active_directory_id}`. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Create time of the active directory. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/netapp/latest/google.cloud.netapp_v1.types.ActiveDirectory.State` Output only. The state of the AD. |
| `domain` | `str` Required. Name of the Active Directory domain |
| `site` | `str` The Active Directory site the service will limit Domain Controller discovery too. |
| `dns` | `str` Required. Comma separated list of DNS server IP addresses for the Active Directory domain. |
| `net_bios_prefix` | `str` Required. NetBIOSPrefix is used as a prefix for SMB server name. |
| `organizational_unit` | `str` The Organizational Unit (OU) within the Windows Active Directory the user belongs to. |
| `aes_encryption` | `bool` If enabled, AES encryption will be enabled for SMB communication. |
| `username` | `str` Required. Username of the Active Directory domain administrator. |
| `password` | `str` Required. Password of the Active Directory domain administrator. |
| `backup_operators` | `MutableSequence[str]` Optional. Users to be added to the Built-in Backup Operator active directory group. |
| `administrators` | `MutableSequence[str]` Optional. Users to be added to the Built-in Admininstrators group. |
| `security_operators` | `MutableSequence[str]` Optional. Domain users to be given the SeSecurityPrivilege. |
| `kdc_hostname` | `str` Name of the active directory machine. This optional parameter is used only while creating kerberos volume |
| `kdc_ip` | `str` KDC server IP address for the active directory machine. |
| `nfs_users_with_ldap` | `bool` If enabled, will allow access to local users and LDAP users. If access is needed for only LDAP users, it has to be disabled. |
| `description` | `str` Description of the active directory. |
| `ldap_signing` | `bool` Specifies whether or not the LDAP traffic needs to be signed. |
| `encrypt_dc_connections` | `bool` If enabled, traffic between the SMB server to Domain Controller (DC) will be encrypted. |
| `labels` | `MutableMapping[str, str]` Labels for the active directory. |
| `state_details` | `str` Output only. The state details of the Active Directory. |

## Classes

### LabelsEntry

    LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### State

    State(value)

The Active Directory States