ServerAzureADAdministratorInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. ServerAzureADAdministratorInner
- com.
- com.
public final class ServerAzureADAdministratorInner
extends ProxyResource
Azure Active Directory administrator.
Constructor Summary
Constructor | Description |
---|---|
ServerAzureADAdministratorInner() |
Creates an instance of Server |
Method Summary
Modifier and Type | Method and Description |
---|---|
Administrator |
administratorType()
Get the administrator |
Boolean |
azureADOnlyAuthentication()
Get the azure |
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
login()
Get the login property: Login name of the server administrator. |
String |
name()
Get the name property: The name of the resource. |
UUID |
sid()
Get the sid property: SID (object ID) of the server administrator. |
UUID |
tenantId()
Get the tenant |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Server |
withAdministratorType(AdministratorType administratorType)
Set the administrator |
Server |
withLogin(String login)
Set the login property: Login name of the server administrator. |
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 ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ServerAzureADAdministratorInner
public ServerAzureADAdministratorInner()
Creates an instance of ServerAzureADAdministratorInner 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 ServerAzureADAdministratorInner fromJson(JsonReader jsonReader)
Reads an instance of ServerAzureADAdministratorInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ServerAzureADAdministratorInner.id()Returns:
login
public String login()
Get the login property: Login name of the server administrator.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ServerAzureADAdministratorInner.name()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
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ServerAzureADAdministratorInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ServerAzureADAdministratorInner.type()Returns:
validate
public void validate()
Validates the instance.
withAdministratorType
public ServerAzureADAdministratorInner withAdministratorType(AdministratorType administratorType)
Set the administratorType property: Type of the sever administrator.
Parameters:
Returns:
withLogin
public ServerAzureADAdministratorInner withLogin(String login)
Set the login property: Login name of the server administrator.
Parameters:
Returns:
withSid
public ServerAzureADAdministratorInner withSid(UUID sid)
Set the sid property: SID (object ID) of the server administrator.
Parameters:
Returns:
withTenantId
public ServerAzureADAdministratorInner withTenantId(UUID tenantId)
Set the tenantId property: Tenant ID of the administrator.
Parameters:
Returns:
Applies to
Azure SDK for Java