Freigeben über


ArmSphereModelFactory.SphereDeviceInsight Method

Definition

Initializes a new instance of SphereDeviceInsight.

public static Azure.ResourceManager.Sphere.Models.SphereDeviceInsight SphereDeviceInsight (string deviceId = default, string description = default, DateTimeOffset startTimestampUtc = default, DateTimeOffset endTimestampUtc = default, string eventCategory = default, string eventClass = default, string eventType = default, int eventCount = 0);
static member SphereDeviceInsight : string * string * DateTimeOffset * DateTimeOffset * string * string * string * int -> Azure.ResourceManager.Sphere.Models.SphereDeviceInsight
Public Shared Function SphereDeviceInsight (Optional deviceId As String = Nothing, Optional description As String = Nothing, Optional startTimestampUtc As DateTimeOffset = Nothing, Optional endTimestampUtc As DateTimeOffset = Nothing, Optional eventCategory As String = Nothing, Optional eventClass As String = Nothing, Optional eventType As String = Nothing, Optional eventCount As Integer = 0) As SphereDeviceInsight

Parameters

deviceId
String

Device ID.

description
String

Event description.

startTimestampUtc
DateTimeOffset

Event start timestamp.

endTimestampUtc
DateTimeOffset

Event end timestamp.

eventCategory
String

Event category.

eventClass
String

Event class.

eventType
String

Event type.

eventCount
Int32

Event count.

Returns

A new SphereDeviceInsight instance for mocking.

Exceptions

deviceId, description, eventCategory, eventClass or eventType is null.

Applies to