ActiveDirectory Class
- java.
lang. Object - com.
azure. resourcemanager. netapp. models. ActiveDirectory
- com.
public final class ActiveDirectory
Active Directory.
Constructor Summary
Constructor | Description |
---|---|
ActiveDirectory() |
Creates an instance of Active |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
activeDirectoryId()
Get the active |
String |
adName()
Get the ad |
List<String> |
administrators()
Get the administrators property: Users to be added to the Built-in Administrators active directory group. |
Boolean |
aesEncryption()
Get the aes |
Boolean |
allowLocalNfsUsersWithLdap()
Get the allow |
List<String> |
backupOperators()
Get the backup |
String |
dns()
Get the dns property: Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain. |
String |
domain()
Get the domain property: Name of the Active Directory domain. |
Boolean |
encryptDCConnections()
Get the encrypt |
String |
kdcIp()
Get the kdc |
Boolean |
ldapOverTls()
Get the ldap |
Ldap |
ldapSearchScope()
Get the ldap |
Boolean |
ldapSigning()
Get the ldap |
String |
organizationalUnit()
Get the organizational |
String |
password()
Get the password property: Plain text password of Active Directory domain administrator, value is masked in the response. |
String |
preferredServersForLdapClient()
Get the preferred |
List<String> |
securityOperators()
Get the security |
String |
serverRootCACertificate()
Get the server |
String |
site()
Get the site property: The Active Directory site the service will limit Domain Controller discovery to. |
String |
smbServerName()
Get the smb |
Active |
status()
Get the status property: Status of the Active Directory. |
String |
statusDetails()
Get the status |
String |
username()
Get the username property: A domain user account with permission to create machine accounts. |
void |
validate()
Validates the instance. |
Active |
withActiveDirectoryId(String activeDirectoryId)
Set the active |
Active |
withAdName(String adName)
Set the ad |
Active |
withAdministrators(List<String> administrators)
Set the administrators property: Users to be added to the Built-in Administrators active directory group. |
Active |
withAesEncryption(Boolean aesEncryption)
Set the aes |
Active |
withAllowLocalNfsUsersWithLdap(Boolean allowLocalNfsUsersWithLdap)
Set the allow |
Active |
withBackupOperators(List<String> backupOperators)
Set the backup |
Active |
withDns(String dns)
Set the dns property: Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain. |
Active |
withDomain(String domain)
Set the domain property: Name of the Active Directory domain. |
Active |
withEncryptDCConnections(Boolean encryptDCConnections)
Set the encrypt |
Active |
withKdcIp(String kdcIp)
Set the kdc |
Active |
withLdapOverTls(Boolean ldapOverTls)
Set the ldap |
Active |
withLdapSearchScope(LdapSearchScopeOpt ldapSearchScope)
Set the ldap |
Active |
withLdapSigning(Boolean ldapSigning)
Set the ldap |
Active |
withOrganizationalUnit(String organizationalUnit)
Set the organizational |
Active |
withPassword(String password)
Set the password property: Plain text password of Active Directory domain administrator, value is masked in the response. |
Active |
withPreferredServersForLdapClient(String preferredServersForLdapClient)
Set the preferred |
Active |
withSecurityOperators(List<String> securityOperators)
Set the security |
Active |
withServerRootCACertificate(String serverRootCACertificate)
Set the server |
Active |
withSite(String site)
Set the site property: The Active Directory site the service will limit Domain Controller discovery to. |
Active |
withSmbServerName(String smbServerName)
Set the smb |
Active |
withUsername(String username)
Set the username property: A domain user account with permission to create machine accounts. |
Methods inherited from java.lang.Object
Constructor Details
ActiveDirectory
public ActiveDirectory()
Creates an instance of ActiveDirectory class.
Method Details
activeDirectoryId
public String activeDirectoryId()
Get the activeDirectoryId property: Id of the Active Directory.
Returns:
adName
public String adName()
Get the adName property: Name of the active directory machine. This optional parameter is used only while creating kerberos volume.
Returns:
administrators
public List
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:
aesEncryption
public Boolean aesEncryption()
Get the aesEncryption property: If enabled, AES encryption will be enabled for SMB communication.
Returns:
allowLocalNfsUsersWithLdap
public Boolean allowLocalNfsUsersWithLdap()
Get the allowLocalNfsUsersWithLdap property: If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes.
Returns:
backupOperators
public List
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:
dns
public String dns()
Get the dns property: Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain.
Returns:
domain
public String domain()
Get the domain property: Name of the Active Directory domain.
Returns:
encryptDCConnections
public Boolean encryptDCConnections()
Get the encryptDCConnections property: If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted.
Returns:
kdcIp
public String kdcIp()
Get the kdcIp property: kdc server IP addresses for the active directory machine. This optional parameter is used only while creating kerberos volume.
Returns:
ldapOverTls
public Boolean ldapOverTls()
Get the ldapOverTls property: Specifies whether or not the LDAP traffic needs to be secured via TLS.
Returns:
ldapSearchScope
public LdapSearchScopeOpt ldapSearchScope()
Get the ldapSearchScope property: LDAP Search scope options.
Returns:
ldapSigning
public Boolean ldapSigning()
Get the ldapSigning property: Specifies whether or not the LDAP traffic needs to be signed.
Returns:
organizationalUnit
public String organizationalUnit()
Get the organizationalUnit property: The Organizational Unit (OU) within the Windows Active Directory.
Returns:
password
public String password()
Get the password property: Plain text password of Active Directory domain administrator, value is masked in the response.
Returns:
preferredServersForLdapClient
public String 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:
securityOperators
public List
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:
serverRootCACertificate
public String 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:
site
public String site()
Get the site property: The Active Directory site the service will limit Domain Controller discovery to.
Returns:
smbServerName
public String 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:
status
public ActiveDirectoryStatus status()
Get the status property: Status of the Active Directory.
Returns:
statusDetails
public String statusDetails()
Get the statusDetails property: Any details in regards to the Status of the Active Directory.
Returns:
username
public String username()
Get the username property: A domain user account with permission to create machine accounts.
Returns:
validate
public void validate()
Validates the instance.
withActiveDirectoryId
public ActiveDirectory withActiveDirectoryId(String activeDirectoryId)
Set the activeDirectoryId property: Id of the Active Directory.
Parameters:
Returns:
withAdName
public ActiveDirectory withAdName(String adName)
Set the adName property: Name of the active directory machine. This optional parameter is used only while creating kerberos volume.
Parameters:
Returns:
withAdministrators
public ActiveDirectory withAdministrators(List
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:
Returns:
withAesEncryption
public ActiveDirectory withAesEncryption(Boolean aesEncryption)
Set the aesEncryption property: If enabled, AES encryption will be enabled for SMB communication.
Parameters:
Returns:
withAllowLocalNfsUsersWithLdap
public ActiveDirectory withAllowLocalNfsUsersWithLdap(Boolean allowLocalNfsUsersWithLdap)
Set the allowLocalNfsUsersWithLdap property: If enabled, NFS client local users can also (in addition to LDAP users) access the NFS volumes.
Parameters:
Returns:
withBackupOperators
public ActiveDirectory withBackupOperators(List
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:
Returns:
withDns
public ActiveDirectory withDns(String dns)
Set the dns property: Comma separated list of DNS server IP addresses (IPv4 only) for the Active Directory domain.
Parameters:
Returns:
withDomain
public ActiveDirectory withDomain(String domain)
Set the domain property: Name of the Active Directory domain.
Parameters:
Returns:
withEncryptDCConnections
public ActiveDirectory withEncryptDCConnections(Boolean encryptDCConnections)
Set the encryptDCConnections property: If enabled, Traffic between the SMB server to Domain Controller (DC) will be encrypted.
Parameters:
Returns:
withKdcIp
public ActiveDirectory withKdcIp(String kdcIp)
Set the kdcIp property: kdc server IP addresses for the active directory machine. This optional parameter is used only while creating kerberos volume.
Parameters:
Returns:
withLdapOverTls
public ActiveDirectory withLdapOverTls(Boolean ldapOverTls)
Set the ldapOverTls property: Specifies whether or not the LDAP traffic needs to be secured via TLS.
Parameters:
Returns:
withLdapSearchScope
public ActiveDirectory withLdapSearchScope(LdapSearchScopeOpt ldapSearchScope)
Set the ldapSearchScope property: LDAP Search scope options.
Parameters:
Returns:
withLdapSigning
public ActiveDirectory withLdapSigning(Boolean ldapSigning)
Set the ldapSigning property: Specifies whether or not the LDAP traffic needs to be signed.
Parameters:
Returns:
withOrganizationalUnit
public ActiveDirectory withOrganizationalUnit(String organizationalUnit)
Set the organizationalUnit property: The Organizational Unit (OU) within the Windows Active Directory.
Parameters:
Returns:
withPassword
public ActiveDirectory withPassword(String password)
Set the password property: Plain text password of Active Directory domain administrator, value is masked in the response.
Parameters:
Returns:
withPreferredServersForLdapClient
public ActiveDirectory withPreferredServersForLdapClient(String preferredServersForLdapClient)
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:
Returns:
withSecurityOperators
public ActiveDirectory withSecurityOperators(List
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:
Returns:
withServerRootCACertificate
public ActiveDirectory 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.
Parameters:
Returns:
withSite
public ActiveDirectory withSite(String site)
Set the site property: The Active Directory site the service will limit Domain Controller discovery to.
Parameters:
Returns:
withSmbServerName
public ActiveDirectory withSmbServerName(String smbServerName)
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:
Returns:
withUsername
public ActiveDirectory withUsername(String username)
Set the username property: A domain user account with permission to create machine accounts.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for