DigitalTwinsIdentity1 Class

Definition

The managed identity for the DigitalTwinsInstance.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DigitalTwins.Models.DigitalTwinsIdentity1TypeConverter))]
public class DigitalTwinsIdentity1 : Microsoft.Azure.PowerShell.Cmdlets.DigitalTwins.Models.IDigitalTwinsIdentity1
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DigitalTwins.Models.DigitalTwinsIdentity1TypeConverter))>]
type DigitalTwinsIdentity1 = class
    interface IDigitalTwinsIdentity1
    interface IJsonSerializable
Public Class DigitalTwinsIdentity1
Implements IDigitalTwinsIdentity1
Inheritance
DigitalTwinsIdentity1
Attributes
Implements

Constructors

Name Description
DigitalTwinsIdentity1()

Creates an new DigitalTwinsIdentity1 instance.

Properties

Name Description
PrincipalId

The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity

TenantId

The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity

Type

The type of Managed Identity used by the DigitalTwinsInstance. Only SystemAssigned is supported.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DigitalTwinsIdentity1.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DigitalTwinsIdentity1.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DigitalTwins.Models.IDigitalTwinsIdentity1.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DigitalTwinsIdentity1 into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to