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

ManagedServiceIdentity Class

Managed service identity (system assigned and/or user assigned identities).

Constructor

ManagedServiceIdentity(*args: Any, **kwargs: Any)

Variables

Name Description
principal_id
str

The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.

tenant_id
str

The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.

type

The type of managed identity assigned to this resource. Required. Known values are: "None", "SystemAssigned", "UserAssigned", and "SystemAssigned,UserAssigned".

user_assigned_identities

The identities assigned to this resource by the user.

Attributes

principal_id

The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.

principal_id: str | None

tenant_id

The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.

tenant_id: str | None

type

"None", "SystemAssigned", "UserAssigned", and "SystemAssigned,UserAssigned".

type: str | _models.ManagedServiceIdentityType

user_assigned_identities

The identities assigned to this resource by the user.

user_assigned_identities: dict[str, '_models.UserAssignedIdentity'] | None