Compartilhar via


ManagedServiceIdentity Class

Definition

Managed service identity (system assigned and/or user assigned identities)

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.ManagedServiceIdentityTypeConverter))]
public class ManagedServiceIdentity : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentity
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.ManagedServiceIdentityTypeConverter))>]
type ManagedServiceIdentity = class
    interface IManagedServiceIdentity
    interface IJsonSerializable
Public Class ManagedServiceIdentity
Implements IManagedServiceIdentity
Inheritance
ManagedServiceIdentity
Attributes
Implements

Constructors

ManagedServiceIdentity()

Creates an new ManagedServiceIdentity instance.

Properties

PrincipalId

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

TenantId

The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.

Type

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

UserAssignedIdentity

The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ManagedServiceIdentity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ManagedServiceIdentity.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.IManagedServiceIdentity.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ManagedServiceIdentity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to