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