DigitalTwinsResource Class

Definition

The common properties of a DigitalTwinsInstance.

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

Constructors

Name Description
DigitalTwinsResource()

Creates an new DigitalTwinsResource instance.

Properties

Name Description
Id

The resource identifier.

IdentityPrincipalId

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

IdentityTenantId

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

IdentityType

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

Location

The resource location.

Name

The resource name.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

The resource tags.

Type

The resource type.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DigitalTwinsResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DigitalTwinsResource.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DigitalTwinsResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to