DeviceProperties Class

Definition

The properties of device

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.DevicePropertiesTypeConverter))]
public class DeviceProperties : Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.DevicePropertiesTypeConverter))>]
type DeviceProperties = class
    interface IDeviceProperties
    interface IJsonSerializable
Public Class DeviceProperties
Implements IDeviceProperties
Inheritance
DeviceProperties
Attributes
Implements

Constructors

Name Description
DeviceProperties()

Creates an new DeviceProperties instance.

Properties

Name Description
ChipSku

SKU of the chip

DeviceId

Device ID

LastAvailableOSVersion

OS version available for installation when update requested

LastInstalledOSVersion

OS version running on device when update requested

LastOSUpdateUtc

Time when update requested and new OS version available

LastUpdateRequestUtc

Time when update was last requested

ProvisioningState

The status of the last operation.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DeviceProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DeviceProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Sphere.Models.IDeviceProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DeviceProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to