你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DigitalTwinsIdentity Class

Definition

The managed identity for the DigitalTwinsInstance.

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

Constructors

DigitalTwinsIdentity()

Creates an new DigitalTwinsIdentity instance.

Properties

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

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DigitalTwinsIdentity.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DigitalTwinsIdentity.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DigitalTwinsIdentity into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to