ResourceIdentity Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.models.ResourceIdentity

public final class ResourceIdentity

Msi identity details of the resource.

Constructor Summary

Constructor Description
ResourceIdentity()

Creates an instance of ResourceIdentity class.

Method Summary

Modifier and Type Method and Description
String principalId()

Get the principalId property: Service Principal Id backing the Msi.

String tenantId()

Get the tenantId property: Home Tenant Id.

String type()

Get the type property: Identity type.

Map<String,UserAssignedIdentity> userAssignedIdentities()

Get the userAssignedIdentities property: User Assigned Identities.

void validate()

Validates the instance.

ResourceIdentity withType(String type)

Set the type property: Identity type.

ResourceIdentity withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)

Set the userAssignedIdentities property: User Assigned Identities.

Methods inherited from java.lang.Object

Constructor Details

ResourceIdentity

public ResourceIdentity()

Creates an instance of ResourceIdentity class.

Method Details

principalId

public String principalId()

Get the principalId property: Service Principal Id backing the Msi.

Returns:

the principalId value.

tenantId

public String tenantId()

Get the tenantId property: Home Tenant Id.

Returns:

the tenantId value.

type

public String type()

Get the type property: Identity type.

Returns:

the type value.

userAssignedIdentities

public Map userAssignedIdentities()

Get the userAssignedIdentities property: User Assigned Identities.

Returns:

the userAssignedIdentities value.

validate

public void validate()

Validates the instance.

withType

public ResourceIdentity withType(String type)

Set the type property: Identity type.

Parameters:

type - the type value to set.

Returns:

the ResourceIdentity object itself.

withUserAssignedIdentities

public ResourceIdentity withUserAssignedIdentities(Map userAssignedIdentities)

Set the userAssignedIdentities property: User Assigned Identities.

Parameters:

userAssignedIdentities - the userAssignedIdentities value to set.

Returns:

the ResourceIdentity object itself.

Applies to