Class ManagedInstanceAdministratorInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.sql.fluent.models.ManagedInstanceAdministratorInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class ManagedInstanceAdministratorInner
extends com.azure.core.management.ProxyResource
An Azure SQL managed instance administrator.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedInstanceAdministratorInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the administratorType property: Type of the managed instance administrator.login()Get the login property: Login name of the managed instance administrator.sid()Get the sid property: SID (object ID) of the managed instance administrator.tenantId()Get the tenantId property: Tenant ID of the managed instance administrator.voidvalidate()Validates the instance.withAdministratorType(ManagedInstanceAdministratorType administratorType) Set the administratorType property: Type of the managed instance administrator.Set the login property: Login name of the managed instance administrator.Set the sid property: SID (object ID) of the managed instance administrator.withTenantId(UUID tenantId) Set the tenantId property: Tenant ID of the managed instance administrator.Methods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
ManagedInstanceAdministratorInner
public ManagedInstanceAdministratorInner()Creates an instance of ManagedInstanceAdministratorInner class.
-
-
Method Details
-
administratorType
Get the administratorType property: Type of the managed instance administrator.- Returns:
- the administratorType value.
-
withAdministratorType
public ManagedInstanceAdministratorInner withAdministratorType(ManagedInstanceAdministratorType administratorType) Set the administratorType property: Type of the managed instance administrator.- Parameters:
administratorType- the administratorType value to set.- Returns:
- the ManagedInstanceAdministratorInner object itself.
-
login
Get the login property: Login name of the managed instance administrator.- Returns:
- the login value.
-
withLogin
Set the login property: Login name of the managed instance administrator.- Parameters:
login- the login value to set.- Returns:
- the ManagedInstanceAdministratorInner object itself.
-
sid
Get the sid property: SID (object ID) of the managed instance administrator.- Returns:
- the sid value.
-
withSid
Set the sid property: SID (object ID) of the managed instance administrator.- Parameters:
sid- the sid value to set.- Returns:
- the ManagedInstanceAdministratorInner object itself.
-
tenantId
Get the tenantId property: Tenant ID of the managed instance administrator.- Returns:
- the tenantId value.
-
withTenantId
Set the tenantId property: Tenant ID of the managed instance administrator.- Parameters:
tenantId- the tenantId value to set.- Returns:
- the ManagedInstanceAdministratorInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-