DatabaseUserIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. DatabaseUserIdentity
- com.
Implements
public final class DatabaseUserIdentity
implements JsonSerializable<DatabaseUserIdentity>
Azure Active Directory identity configuration for a resource.
Constructor Summary
Constructor | Description |
---|---|
DatabaseUserIdentity() |
Creates an instance of Database |
Method Summary
Modifier and Type | Method and Description |
---|---|
UUID |
clientId()
Get the client |
static
Database |
fromJson(JsonReader jsonReader)
Reads an instance of Database |
UUID |
principalId()
Get the principal |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
DatabaseUserIdentity
public DatabaseUserIdentity()
Creates an instance of DatabaseUserIdentity class.
Method Details
clientId
public UUID clientId()
Get the clientId property: The Azure Active Directory client id.
Returns:
fromJson
public static DatabaseUserIdentity fromJson(JsonReader jsonReader)
Reads an instance of DatabaseUserIdentity from the JsonReader.
Parameters:
Returns:
Throws:
principalId
public UUID principalId()
Get the principalId property: The Azure Active Directory principal id.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java