다음을 통해 공유


UserAssignedManagedIdentity Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.UserAssignedManagedIdentity

Implements

public final class UserAssignedManagedIdentity
implements JsonSerializable<UserAssignedManagedIdentity>

The details of the user-assigned managed identity assigned to an App.

Constructor Summary

Constructor Description
UserAssignedManagedIdentity()

Creates an instance of UserAssignedManagedIdentity class.

Method Summary

Modifier and Type Method and Description
String clientId()

Get the clientId property: Client Id of user-assigned managed identity.

static UserAssignedManagedIdentity fromJson(JsonReader jsonReader)

Reads an instance of UserAssignedManagedIdentity from the JsonReader.

String principalId()

Get the principalId property: Principal Id of user-assigned managed identity.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

UserAssignedManagedIdentity

public UserAssignedManagedIdentity()

Creates an instance of UserAssignedManagedIdentity class.

Method Details

clientId

public String clientId()

Get the clientId property: Client Id of user-assigned managed identity.

Returns:

the clientId value.

fromJson

public static UserAssignedManagedIdentity fromJson(JsonReader jsonReader)

Reads an instance of UserAssignedManagedIdentity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of UserAssignedManagedIdentity 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 UserAssignedManagedIdentity.

principalId

public String principalId()

Get the principalId property: Principal Id of user-assigned managed identity.

Returns:

the principalId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to