ContainerGroupIdentityUserAssignedIdentities Class

  • java.lang.Object
    • com.azure.resourcemanager.containerinstance.models.ContainerGroupIdentityUserAssignedIdentities

Implements

public final class ContainerGroupIdentityUserAssignedIdentities
implements JsonSerializable<ContainerGroupIdentityUserAssignedIdentities>

The list of user identities associated with the container group. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

Constructor Summary

Constructor Description
ContainerGroupIdentityUserAssignedIdentities()

Creates an instance of ContainerGroupIdentityUserAssignedIdentities class.

Method Summary

Modifier and Type Method and Description
String clientId()

Get the clientId property: The client id of user assigned identity.

static ContainerGroupIdentityUserAssignedIdentities fromJson(JsonReader jsonReader)

Reads an instance of ContainerGroupIdentityUserAssignedIdentities from the JsonReader.

String principalId()

Get the principalId property: The principal id of user assigned identity.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ContainerGroupIdentityUserAssignedIdentities

public ContainerGroupIdentityUserAssignedIdentities()

Creates an instance of ContainerGroupIdentityUserAssignedIdentities class.

Method Details

clientId

public String clientId()

Get the clientId property: The client id of user assigned identity.

Returns:

the clientId value.

fromJson

public static ContainerGroupIdentityUserAssignedIdentities fromJson(JsonReader jsonReader)

Reads an instance of ContainerGroupIdentityUserAssignedIdentities from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

principalId

public String principalId()

Get the principalId property: The principal id of user assigned identity.

Returns:

the principalId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to