ServerExternalAdministrator Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. ServerExternalAdministrator
- com.
public final class ServerExternalAdministrator
Properties of a active directory administrator.
Constructor Summary
Constructor | Description |
---|---|
ServerExternalAdministrator() |
Creates an instance of Server |
Method Summary
Modifier and Type | Method and Description |
---|---|
Administrator |
administratorType()
Get the administrator |
Boolean |
azureADOnlyAuthentication()
Get the azure |
String |
login()
Get the login property: Login name of the server administrator. |
Principal |
principalType()
Get the principal |
UUID |
sid()
Get the sid property: SID (object ID) of the server administrator. |
UUID |
tenantId()
Get the tenant |
void |
validate()
Validates the instance. |
Server |
withAdministratorType(AdministratorType administratorType)
Set the administrator |
Server |
withAzureADOnlyAuthentication(Boolean azureADOnlyAuthentication)
Set the azure |
Server |
withLogin(String login)
Set the login property: Login name of the server administrator. |
Server |
withPrincipalType(PrincipalType principalType)
Set the principal |
Server |
withSid(UUID sid)
Set the sid property: SID (object ID) of the server administrator. |
Server |
withTenantId(UUID tenantId)
Set the tenant |
Methods inherited from java.lang.Object
Constructor Details
ServerExternalAdministrator
public ServerExternalAdministrator()
Creates an instance of ServerExternalAdministrator class.
Method Details
administratorType
public AdministratorType administratorType()
Get the administratorType property: Type of the sever administrator.
Returns:
azureADOnlyAuthentication
public Boolean azureADOnlyAuthentication()
Get the azureADOnlyAuthentication property: Azure Active Directory only Authentication enabled.
Returns:
login
public String login()
Get the login property: Login name of the server administrator.
Returns:
principalType
public PrincipalType principalType()
Get the principalType property: Principal Type of the sever administrator.
Returns:
sid
public UUID sid()
Get the sid property: SID (object ID) of the server administrator.
Returns:
tenantId
public UUID tenantId()
Get the tenantId property: Tenant ID of the administrator.
Returns:
validate
public void validate()
Validates the instance.
withAdministratorType
public ServerExternalAdministrator withAdministratorType(AdministratorType administratorType)
Set the administratorType property: Type of the sever administrator.
Parameters:
Returns:
withAzureADOnlyAuthentication
public ServerExternalAdministrator withAzureADOnlyAuthentication(Boolean azureADOnlyAuthentication)
Set the azureADOnlyAuthentication property: Azure Active Directory only Authentication enabled.
Parameters:
Returns:
withLogin
public ServerExternalAdministrator withLogin(String login)
Set the login property: Login name of the server administrator.
Parameters:
Returns:
withPrincipalType
public ServerExternalAdministrator withPrincipalType(PrincipalType principalType)
Set the principalType property: Principal Type of the sever administrator.
Parameters:
Returns:
withSid
public ServerExternalAdministrator withSid(UUID sid)
Set the sid property: SID (object ID) of the server administrator.
Parameters:
Returns:
withTenantId
public ServerExternalAdministrator withTenantId(UUID tenantId)
Set the tenantId property: Tenant ID of the administrator.
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