Partager via


Identity Class

Definition

Identity for the resource.

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

Constructors

Identity()

Creates an new Identity instance.

Properties

PrincipalId

The principal ID of resource identity.

TenantId

The tenant ID of resource.

Type

The identity type.

UserAssignedIdentity

Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this storage account. The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is permitted here.

Methods

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.Storage.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