Language

Identity Class

Definition

For user assigned identity resource property.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Discovery.Models.IdentityTypeConverter))]
public class Identity : Microsoft.Azure.PowerShell.Cmdlets.Discovery.Models.IIdentity
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Discovery.Models.IdentityTypeConverter))>]
type Identity = class
    interface IIdentity
    interface IJsonSerializable
Public Class Identity
Implements IIdentity
Inheritance
Identity
Attributes
Implements

Constructors

Name Description
Identity()

Creates an new Identity instance.

Properties

Name Description
ClientId

The client ID of the assigned identity.

Id

The resource ID of the user assigned identity.

PrincipalId

The principal ID of the assigned identity.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Identity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Identity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Discovery.Models.IIdentity.

FromJsonString(String)

Creates a new instance of Identity, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Identity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to