JobAgentUserAssignedIdentity Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.JobAgentUserAssignedIdentity

Implements

public final class JobAgentUserAssignedIdentity
implements JsonSerializable<JobAgentUserAssignedIdentity>

Azure Active Directory identity configuration for a resource.

Constructor Summary

Constructor Description
JobAgentUserAssignedIdentity()

Creates an instance of JobAgentUserAssignedIdentity class.

Method Summary

Modifier and Type Method and Description
UUID clientId()

Get the clientId property: The Azure Active Directory client id.

static JobAgentUserAssignedIdentity fromJson(JsonReader jsonReader)

Reads an instance of JobAgentUserAssignedIdentity from the JsonReader.

UUID principalId()

Get the principalId property: The Azure Active Directory principal id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

JobAgentUserAssignedIdentity

public JobAgentUserAssignedIdentity()

Creates an instance of JobAgentUserAssignedIdentity class.

Method Details

clientId

public UUID clientId()

Get the clientId property: The Azure Active Directory client id.

Returns:

the clientId value.

fromJson

public static JobAgentUserAssignedIdentity fromJson(JsonReader jsonReader)

Reads an instance of JobAgentUserAssignedIdentity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of JobAgentUserAssignedIdentity if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the JobAgentUserAssignedIdentity.

principalId

public UUID principalId()

Get the principalId property: The Azure Active Directory principal id.

Returns:

the principalId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to