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

Identity Class

Identity for the resource.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.resource.resources._serialization.Model
Identity

Constructor

Identity(*, type: Literal['SystemAssigned'] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
type
str

The identity type. Default value is "SystemAssigned".

Variables

Name Description
principal_id
str

The principal ID of resource identity.

tenant_id
str

The tenant ID of resource.

type
str

The identity type. Default value is "SystemAssigned".