Share via


ArmDevCenterModelFactory.DevCenterHealthCheck Method

Definition

Initializes a new instance of DevCenterHealthCheck.

public static Azure.ResourceManager.DevCenter.Models.DevCenterHealthCheck DevCenterHealthCheck(Azure.ResourceManager.DevCenter.Models.DevCenterHealthCheckStatus? status = default, string displayName = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, string errorType = default, string recommendedAction = default, string additionalDetails = default);
static member DevCenterHealthCheck : Nullable<Azure.ResourceManager.DevCenter.Models.DevCenterHealthCheckStatus> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * string -> Azure.ResourceManager.DevCenter.Models.DevCenterHealthCheck
Public Shared Function DevCenterHealthCheck (Optional status As Nullable(Of DevCenterHealthCheckStatus) = Nothing, Optional displayName As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional errorType As String = Nothing, Optional recommendedAction As String = Nothing, Optional additionalDetails As String = Nothing) As DevCenterHealthCheck

Parameters

status
Nullable<DevCenterHealthCheckStatus>

The status of the health check item.

displayName
String

The display name of this health check item.

startOn
Nullable<DateTimeOffset>

Start time of health check item.

endOn
Nullable<DateTimeOffset>

End time of the health check item.

errorType
String

The type of error that occurred during this health check.

recommendedAction
String

The recommended action to fix the corresponding error.

additionalDetails
String

Additional details about the health check or the recommended action.

Returns

A new DevCenterHealthCheck instance for mocking.

Applies to