你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Identity 类
资源的标识。
变量仅由服务器填充,在发送请求时将被忽略。
- 继承
-
azure.mgmt.resource.resources._serialization.ModelIdentity
构造函数
Identity(*, type: Literal['SystemAssigned'] | None = None, **kwargs: Any)
仅限关键字的参数
名称 | 说明 |
---|---|
type
|
标识类型。 默认值为“SystemAssigned”。 |
变量
名称 | 说明 |
---|---|
principal_id
|
资源标识的主体 ID。 |
tenant_id
|
资源的租户 ID。 |
type
|
标识类型。 默认值为“SystemAssigned”。 |