Class ActiveDirectory
java.lang.Object
com.azure.resourcemanager.netapp.models.ActiveDirectory
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ActiveDirectory>
public final class ActiveDirectory
extends Object
implements com.azure.json.JsonSerializable<ActiveDirectory>
Active Directory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the activeDirectoryId property: Id of the Active Directory.Get the administrators property: Users to be added to the Built-in Administrators active directory group.adName()
Get the adName property: Name of the active directory machine.Get the aesEncryption property: If enabled, AES encryption will be enabled for SMB communication.Get the allowLocalNfsUsersWithLdap property: If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes.Get the backupOperators property: Users to be added to the Built-in Backup Operator active directory group.dns()
Get the dns property: Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain.domain()
Get the domain property: Name of the Active Directory domain.Get the encryptDCConnections property: If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted.static ActiveDirectory
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ActiveDirectory from the JsonReader.kdcIp()
Get the kdcIp property: kdc server IP address for the active directory machine.Get the ldapOverTls property: Specifies whether or not the LDAP traffic needs to be secured via TLS.Get the ldapSearchScope property: LDAP Search scope options.Get the ldapSigning property: Specifies whether or not the LDAP traffic needs to be signed.Get the organizationalUnit property: The Organizational Unit (OU) within the Windows Active Directory.password()
Get the password property: Plain text password of Active Directory domain administrator, value is masked in the response.Get the preferredServersForLdapClient property: Comma separated list of IPv4 addresses of preferred servers for LDAP client.Get the securityOperators property: Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL).Get the serverRootCACertificate property: When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes.site()
Get the site property: The Active Directory site the service will limit Domain Controller discovery to.Get the smbServerName property: NetBIOS name of the SMB server.status()
Get the status property: Status of the Active Directory.Get the statusDetails property: Any details in regards to the Status of the Active Directory.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) username()
Get the username property: A domain user account with permission to create machine accounts.void
validate()
Validates the instance.withActiveDirectoryId
(String activeDirectoryId) Set the activeDirectoryId property: Id of the Active Directory.withAdministrators
(List<String> administrators) Set the administrators property: Users to be added to the Built-in Administrators active directory group.withAdName
(String adName) Set the adName property: Name of the active directory machine.withAesEncryption
(Boolean aesEncryption) Set the aesEncryption property: If enabled, AES encryption will be enabled for SMB communication.withAllowLocalNfsUsersWithLdap
(Boolean allowLocalNfsUsersWithLdap) Set the allowLocalNfsUsersWithLdap property: If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes.withBackupOperators
(List<String> backupOperators) Set the backupOperators property: Users to be added to the Built-in Backup Operator active directory group.Set the dns property: Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain.withDomain
(String domain) Set the domain property: Name of the Active Directory domain.withEncryptDCConnections
(Boolean encryptDCConnections) Set the encryptDCConnections property: If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted.Set the kdcIp property: kdc server IP address for the active directory machine.withLdapOverTls
(Boolean ldapOverTls) Set the ldapOverTls property: Specifies whether or not the LDAP traffic needs to be secured via TLS.withLdapSearchScope
(LdapSearchScopeOpt ldapSearchScope) Set the ldapSearchScope property: LDAP Search scope options.withLdapSigning
(Boolean ldapSigning) Set the ldapSigning property: Specifies whether or not the LDAP traffic needs to be signed.withOrganizationalUnit
(String organizationalUnit) Set the organizationalUnit property: The Organizational Unit (OU) within the Windows Active Directory.withPassword
(String password) Set the password property: Plain text password of Active Directory domain administrator, value is masked in the response.withPreferredServersForLdapClient
(String preferredServersForLdapClient) Set the preferredServersForLdapClient property: Comma separated list of IPv4 addresses of preferred servers for LDAP client.withSecurityOperators
(List<String> securityOperators) Set the securityOperators property: Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL).withServerRootCACertificate
(String serverRootCACertificate) Set the serverRootCACertificate property: When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes.Set the site property: The Active Directory site the service will limit Domain Controller discovery to.withSmbServerName
(String smbServerName) Set the smbServerName property: NetBIOS name of the SMB server.withUsername
(String username) Set the username property: A domain user account with permission to create machine accounts.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ActiveDirectory
public ActiveDirectory()Creates an instance of ActiveDirectory class.
-
-
Method Details
-
activeDirectoryId
Get the activeDirectoryId property: Id of the Active Directory.- Returns:
- the activeDirectoryId value.
-
withActiveDirectoryId
Set the activeDirectoryId property: Id of the Active Directory.- Parameters:
activeDirectoryId
- the activeDirectoryId value to set.- Returns:
- the ActiveDirectory object itself.
-
username
Get the username property: A domain user account with permission to create machine accounts.- Returns:
- the username value.
-
withUsername
Set the username property: A domain user account with permission to create machine accounts.- Parameters:
username
- the username value to set.- Returns:
- the ActiveDirectory object itself.
-
password
Get the password property: Plain text password of Active Directory domain administrator, value is masked in the response.- Returns:
- the password value.
-
withPassword
Set the password property: Plain text password of Active Directory domain administrator, value is masked in the response.- Parameters:
password
- the password value to set.- Returns:
- the ActiveDirectory object itself.
-
domain
Get the domain property: Name of the Active Directory domain.- Returns:
- the domain value.
-
withDomain
Set the domain property: Name of the Active Directory domain.- Parameters:
domain
- the domain value to set.- Returns:
- the ActiveDirectory object itself.
-
dns
Get the dns property: Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain.- Returns:
- the dns value.
-
withDns
Set the dns property: Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain.- Parameters:
dns
- the dns value to set.- Returns:
- the ActiveDirectory object itself.
-
status
Get the status property: Status of the Active Directory.- Returns:
- the status value.
-
statusDetails
Get the statusDetails property: Any details in regards to the Status of the Active Directory.- Returns:
- the statusDetails value.
-
smbServerName
Get the smbServerName property: NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes.- Returns:
- the smbServerName value.
-
withSmbServerName
Set the smbServerName property: NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes.- Parameters:
smbServerName
- the smbServerName value to set.- Returns:
- the ActiveDirectory object itself.
-
organizationalUnit
Get the organizationalUnit property: The Organizational Unit (OU) within the Windows Active Directory.- Returns:
- the organizationalUnit value.
-
withOrganizationalUnit
Set the organizationalUnit property: The Organizational Unit (OU) within the Windows Active Directory.- Parameters:
organizationalUnit
- the organizationalUnit value to set.- Returns:
- the ActiveDirectory object itself.
-
site
Get the site property: The Active Directory site the service will limit Domain Controller discovery to.- Returns:
- the site value.
-
withSite
Set the site property: The Active Directory site the service will limit Domain Controller discovery to.- Parameters:
site
- the site value to set.- Returns:
- the ActiveDirectory object itself.
-
backupOperators
Get the backupOperators property: Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier.- Returns:
- the backupOperators value.
-
withBackupOperators
Set the backupOperators property: Users to be added to the Built-in Backup Operator active directory group. A list of unique usernames without domain specifier.- Parameters:
backupOperators
- the backupOperators value to set.- Returns:
- the ActiveDirectory object itself.
-
administrators
Get the administrators property: Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier.- Returns:
- the administrators value.
-
withAdministrators
Set the administrators property: Users to be added to the Built-in Administrators active directory group. A list of unique usernames without domain specifier.- Parameters:
administrators
- the administrators value to set.- Returns:
- the ActiveDirectory object itself.
-
kdcIp
Get the kdcIp property: kdc server IP address for the active directory machine. This optional parameter is used only while creating kerberos volume.- Returns:
- the kdcIp value.
-
withKdcIp
Set the kdcIp property: kdc server IP address for the active directory machine. This optional parameter is used only while creating kerberos volume.- Parameters:
kdcIp
- the kdcIp value to set.- Returns:
- the ActiveDirectory object itself.
-
adName
Get the adName property: Name of the active directory machine. This optional parameter is used only while creating kerberos volume.- Returns:
- the adName value.
-
withAdName
Set the adName property: Name of the active directory machine. This optional parameter is used only while creating kerberos volume.- Parameters:
adName
- the adName value to set.- Returns:
- the ActiveDirectory object itself.
-
serverRootCACertificate
Get the serverRootCACertificate property: When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes.- Returns:
- the serverRootCACertificate value.
-
withServerRootCACertificate
Set the serverRootCACertificate property: When LDAP over SSL/TLS is enabled, the LDAP client is required to have base64 encoded Active Directory Certificate Service's self-signed root CA certificate, this optional parameter is used only for dual protocol with LDAP user-mapping volumes.- Parameters:
serverRootCACertificate
- the serverRootCACertificate value to set.- Returns:
- the ActiveDirectory object itself.
-
aesEncryption
Get the aesEncryption property: If enabled, AES encryption will be enabled for SMB communication.- Returns:
- the aesEncryption value.
-
withAesEncryption
Set the aesEncryption property: If enabled, AES encryption will be enabled for SMB communication.- Parameters:
aesEncryption
- the aesEncryption value to set.- Returns:
- the ActiveDirectory object itself.
-
ldapSigning
Get the ldapSigning property: Specifies whether or not the LDAP traffic needs to be signed.- Returns:
- the ldapSigning value.
-
withLdapSigning
Set the ldapSigning property: Specifies whether or not the LDAP traffic needs to be signed.- Parameters:
ldapSigning
- the ldapSigning value to set.- Returns:
- the ActiveDirectory object itself.
-
securityOperators
Get the securityOperators property: Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier.- Returns:
- the securityOperators value.
-
withSecurityOperators
Set the securityOperators property: Domain Users in the Active directory to be given SeSecurityPrivilege privilege (Needed for SMB Continuously available shares for SQL). A list of unique usernames without domain specifier.- Parameters:
securityOperators
- the securityOperators value to set.- Returns:
- the ActiveDirectory object itself.
-
ldapOverTls
Get the ldapOverTls property: Specifies whether or not the LDAP traffic needs to be secured via TLS.- Returns:
- the ldapOverTls value.
-
withLdapOverTls
Set the ldapOverTls property: Specifies whether or not the LDAP traffic needs to be secured via TLS.- Parameters:
ldapOverTls
- the ldapOverTls value to set.- Returns:
- the ActiveDirectory object itself.
-
allowLocalNfsUsersWithLdap
Get the allowLocalNfsUsersWithLdap property: If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes.- Returns:
- the allowLocalNfsUsersWithLdap value.
-
withAllowLocalNfsUsersWithLdap
Set the allowLocalNfsUsersWithLdap property: If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes.- Parameters:
allowLocalNfsUsersWithLdap
- the allowLocalNfsUsersWithLdap value to set.- Returns:
- the ActiveDirectory object itself.
-
encryptDCConnections
Get the encryptDCConnections property: If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted.- Returns:
- the encryptDCConnections value.
-
withEncryptDCConnections
Set the encryptDCConnections property: If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted.- Parameters:
encryptDCConnections
- the encryptDCConnections value to set.- Returns:
- the ActiveDirectory object itself.
-
ldapSearchScope
Get the ldapSearchScope property: LDAP Search scope options.- Returns:
- the ldapSearchScope value.
-
withLdapSearchScope
Set the ldapSearchScope property: LDAP Search scope options.- Parameters:
ldapSearchScope
- the ldapSearchScope value to set.- Returns:
- the ActiveDirectory object itself.
-
preferredServersForLdapClient
Get the preferredServersForLdapClient property: Comma separated list of IPv4 addresses of preferred servers for LDAP client. At most two comma separated IPv4 addresses can be passed.- Returns:
- the preferredServersForLdapClient value.
-
withPreferredServersForLdapClient
Set the preferredServersForLdapClient property: Comma separated list of IPv4 addresses of preferred servers for LDAP client. At most two comma separated IPv4 addresses can be passed.- Parameters:
preferredServersForLdapClient
- the preferredServersForLdapClient value to set.- Returns:
- the ActiveDirectory object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<ActiveDirectory>
- Throws:
IOException
-
fromJson
Reads an instance of ActiveDirectory from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of ActiveDirectory if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the ActiveDirectory.
-