你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IIdentity Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IdentityTypeConverter))]
public interface IIdentity : Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IdentityTypeConverter))>]
type IIdentity = interface
interface IJsonSerializable
Public Interface IIdentity
Implements IJsonSerializable
- Derived
- Attributes
- Implements
Properties
PrincipalId |
The principal ID of the resource identity. This property will only be provided for a system assigned identity |
TenantId |
The tenant ID of the resource identity. This property will only be provided for a system assigned identity |
Type |
The identity type. This is the only required field when adding a system or user assigned identity to a resource. |
UserAssignedIdentity |
The user identity associated with the policy. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. |
Methods
ToJson(JsonObject, SerializationMode) | (Inherited from IJsonSerializable) |