Share via


CacheIdentity Class

Definition

Cache identity properties.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.CacheIdentityTypeConverter))]
public class CacheIdentity : Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.ICacheIdentity
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.CacheIdentityTypeConverter))>]
type CacheIdentity = class
    interface ICacheIdentity
    interface IJsonSerializable
Public Class CacheIdentity
Implements ICacheIdentity
Inheritance
CacheIdentity
Attributes
Implements

Constructors

CacheIdentity()

Creates an new CacheIdentity instance.

Properties

PrincipalId

The principal ID for the system-assigned identity of the cache.

TenantId

The tenant ID associated with the cache.

Type

The type of identity used for the cache

UserAssignedIdentity

A dictionary where each key is a user assigned identity resource ID, and each key's value is an empty dictionary.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CacheIdentity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CacheIdentity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.ICacheIdentity.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CacheIdentity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to