Delen via


ArmHciModelFactory.InstanceViewStatus Method

Definition

Initializes a new instance of InstanceViewStatus.

public static Azure.ResourceManager.Hci.Models.InstanceViewStatus InstanceViewStatus (string code = default, Azure.ResourceManager.Hci.Models.HciStatusLevelType? level = default, string displayStatus = default, string message = default, DateTimeOffset? time = default);
static member InstanceViewStatus : string * Nullable<Azure.ResourceManager.Hci.Models.HciStatusLevelType> * string * string * Nullable<DateTimeOffset> -> Azure.ResourceManager.Hci.Models.InstanceViewStatus
Public Shared Function InstanceViewStatus (Optional code As String = Nothing, Optional level As Nullable(Of HciStatusLevelType) = Nothing, Optional displayStatus As String = Nothing, Optional message As String = Nothing, Optional time As Nullable(Of DateTimeOffset) = Nothing) As InstanceViewStatus

Parameters

code
String

The status code.

level
Nullable<HciStatusLevelType>

The level code.

displayStatus
String

The short localizable label for the status.

message
String

The detailed status message, including for alerts and error messages.

time
Nullable<DateTimeOffset>

The time of the status.

Returns

A new InstanceViewStatus instance for mocking.

Applies to