DigitalTwinsIdentity Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
| Name | Description |
|---|---|
| DigitalTwinsIdentity() |
Creates an new DigitalTwinsIdentity 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 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() | |