Dela via


ArmSphereModelFactory.SphereDeviceData Method

Definition

Initializes a new instance of SphereDeviceData.

public static Azure.ResourceManager.Sphere.SphereDeviceData SphereDeviceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string deviceId = default, string chipSku = default, string lastAvailableOSVersion = default, string lastInstalledOSVersion = default, DateTimeOffset? lastOSUpdateUtc = default, DateTimeOffset? lastUpdateRequestUtc = default, Azure.ResourceManager.Sphere.Models.SphereProvisioningState? provisioningState = default);
static member SphereDeviceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Sphere.Models.SphereProvisioningState> -> Azure.ResourceManager.Sphere.SphereDeviceData
Public Shared Function SphereDeviceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional deviceId As String = Nothing, Optional chipSku As String = Nothing, Optional lastAvailableOSVersion As String = Nothing, Optional lastInstalledOSVersion As String = Nothing, Optional lastOSUpdateUtc As Nullable(Of DateTimeOffset) = Nothing, Optional lastUpdateRequestUtc As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As Nullable(Of SphereProvisioningState) = Nothing) As SphereDeviceData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

deviceId
String

Device ID.

chipSku
String

SKU of the chip.

lastAvailableOSVersion
String

OS version available for installation when update requested.

lastInstalledOSVersion
String

OS version running on device when update requested.

lastOSUpdateUtc
Nullable<DateTimeOffset>

Time when update requested and new OS version available.

lastUpdateRequestUtc
Nullable<DateTimeOffset>

Time when update was last requested.

provisioningState
Nullable<SphereProvisioningState>

The status of the last operation.

Returns

A new SphereDeviceData instance for mocking.

Applies to