你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IdentityInfo Class
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.
The identity information for the resource.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IdentityInfoTypeConverter))]
public class IdentityInfo : Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IIdentityInfo
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IdentityInfoTypeConverter))>]
type IdentityInfo = class
interface IIdentityInfo
interface IJsonSerializable
Public Class IdentityInfo
Implements IIdentityInfo
- Inheritance
-
IdentityInfo
- Attributes
- Implements
Constructors
IdentityInfo() |
Creates an new IdentityInfo instance. |
Properties
PrincipalId |
The principal ID of resource identity. |
TenantId |
The tenant ID of resource. |
Type |
The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity. |
UserAssignedIdentity |
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. This property is currently not used and reserved for future usage. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of IdentityInfo. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of IdentityInfo. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventGrid.Models.IIdentityInfo. |
FromJsonString(String) |
Creates a new instance of IdentityInfo, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of IdentityInfo into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |