ExternalResource Class

Definition

Definition of a resource.

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

Constructors

Name Description
ExternalResource()

Creates an new ExternalResource instance.

Properties

Name Description
Id

The resource identifier.

Name

Extension 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.

Type

The resource type.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ExternalResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ExternalResource.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ExternalResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to