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