你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Identity 类
用于配置“创建自己的密钥”的标识的属性。
- 继承
-
azure.mgmt.eventhub._serialization.ModelIdentity
构造函数
Identity(*, principal_id: str | None = None, tenant_id: str | None = None, type: Literal['SystemAssigned'] = 'SystemAssigned', **kwargs: Any)
仅限关键字的参数
名称 | 说明 |
---|---|
principal_id
|
KeyVault 中的 ObjectId。 |
tenant_id
|
KeyVault 中的 TenantId。 |
type
|
枚举可能的值 Identity 类型,它当前仅支持“SystemAssigned”。 默认值为“SystemAssigned”。 默认值: SystemAssigned
|
变量
名称 | 说明 |
---|---|
principal_id
|
KeyVault 中的 ObjectId。 |
tenant_id
|
KeyVault 中的 TenantId。 |
type
|
枚举可能的值 Identity 类型,它当前仅支持“SystemAssigned”。 默认值为“SystemAssigned”。 |