Identity Class

  • java.lang.Object
    • com.microsoft.azure.management.resources.Identity

public class Identity

Identity for the resource.

Method Summary

Modifier and Type Method and Description
String principalId()

Get the principalId value.

String tenantId()

Get the tenantId value.

ResourceIdentityType type()

Get the type value.

Identity withType(ResourceIdentityType type)

Set the type value.

Method Details

principalId

public String principalId()

Get the principalId value.

Returns:

the principalId value

tenantId

public String tenantId()

Get the tenantId value.

Returns:

the tenantId value

type

public ResourceIdentityType type()

Get the type value.

Returns:

the type value

withType

public Identity withType(ResourceIdentityType type)

Set the type value.

Parameters:

type - the type value to set

Returns:

the Identity object itself.

Applies to