Share via


IdentityInfo Class

Definition

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()

Applies to