你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Identity Interface

Implements

public interface Identity
extends GroupableResource<MsiManager,IdentityInner>, Refreshable<Identity>, Updatable<Update>

An immutable client-side representation of an Azure Managed Service Identity (MSI) Identity resource.

Method Summary

Modifier and Type Method and Description
abstract String clientId()

Gets the ID of the Azure Active Directory application associated with the identity.

abstract String principalId()

Gets the ID of the Azure Active Directory service principal object associated with the identity.

abstract String tenantId()

Gets the ID of the Azure Active Directory tenant to which the identity belongs to.

Method Details

clientId

public abstract String clientId()

Gets the ID of the Azure Active Directory application associated with the identity.

Returns:

id of the Azure Active Directory application associated with the identity

principalId

public abstract String principalId()

Gets the ID of the Azure Active Directory service principal object associated with the identity.

Returns:

id of the Azure Active Directory service principal object associated with the identity

tenantId

public abstract String tenantId()

Gets the ID of the Azure Active Directory tenant to which the identity belongs to.

Returns:

id of the Azure Active Directory tenant to which the identity belongs to

Applies to