ResourceIdentity Class

Definition

An identity that can be associated with a resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.ResourceIdentityTypeConverter))]
public class ResourceIdentity : Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.IResourceIdentity
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.ResourceIdentityTypeConverter))>]
type ResourceIdentity = class
    interface IResourceIdentity
    interface IJsonSerializable
Public Class ResourceIdentity
Implements IResourceIdentity
Inheritance
ResourceIdentity
Attributes
Implements

Constructors

ResourceIdentity()

Creates an new ResourceIdentity instance.

Properties

PrincipalId

The principal id of the identity. This property will only be provided for a system-assigned identity.

TenantId

The tenant id associated with the resource's identity. This property will only be provided for a system-assigned identity.

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

UserAssignedIdentity

The list of user-assigned identities associated with the resource. The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceIdentity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceIdentity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.AppConfiguration.Models.Api20220501.IResourceIdentity.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceIdentity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to