ArmComputeModelFactory.ResourceInstanceViewStatus Method

Definition

Initializes a new instance of ResourceInstanceViewStatus.

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

Parameters

code
String

The status 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.

level
Nullable<ComputeStatusLevelType>

The level code.

Returns

A new ResourceInstanceViewStatus instance for mocking.

Applies to