ArmSelfHelpModelFactory.SelfHelpDiagnosticInfo Method

Definition

Initializes a new instance of SelfHelpDiagnosticInfo.

public static Azure.ResourceManager.SelfHelp.Models.SelfHelpDiagnosticInfo SelfHelpDiagnosticInfo (string solutionId = default, Azure.ResourceManager.SelfHelp.Models.SelfHelpDiagnosticStatus? status = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SelfHelp.Models.SelfHelpDiagnosticInsight> insights = default, Azure.ResourceManager.SelfHelp.Models.SelfHelpError error = default);
static member SelfHelpDiagnosticInfo : string * Nullable<Azure.ResourceManager.SelfHelp.Models.SelfHelpDiagnosticStatus> * seq<Azure.ResourceManager.SelfHelp.Models.SelfHelpDiagnosticInsight> * Azure.ResourceManager.SelfHelp.Models.SelfHelpError -> Azure.ResourceManager.SelfHelp.Models.SelfHelpDiagnosticInfo
Public Shared Function SelfHelpDiagnosticInfo (Optional solutionId As String = Nothing, Optional status As Nullable(Of SelfHelpDiagnosticStatus) = Nothing, Optional insights As IEnumerable(Of SelfHelpDiagnosticInsight) = Nothing, Optional error As SelfHelpError = Nothing) As SelfHelpDiagnosticInfo

Parameters

solutionId
String

Solution Id.

status
Nullable<SelfHelpDiagnosticStatus>

Denotes the status of the diagnostic resource.

insights
IEnumerable<SelfHelpDiagnosticInsight>

The problems (if any) detected by this insight.

error
SelfHelpError

Error definition.

Returns

A new SelfHelpDiagnosticInfo instance for mocking.

Applies to