Delen via


ArmSelfHelpModelFactory.SelfHelpStep Method

Definition

Initializes a new instance of SelfHelpStep.

public static Azure.ResourceManager.SelfHelp.Models.SelfHelpStep SelfHelpStep (string id = default, string title = default, string description = default, string guidance = default, Azure.ResourceManager.SelfHelp.Models.TroubleshooterExecutionStatus? executionStatus = default, string executionStatusDescription = default, Azure.ResourceManager.SelfHelp.Models.SelfHelpType? stepType = default, bool? isLastStep = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SelfHelp.Models.TroubleshooterStepInput> inputs = default, Azure.ResourceManager.SelfHelp.Models.AutomatedCheckResult automatedCheckResults = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SelfHelp.Models.SelfHelpDiagnosticInsight> insights = default, Azure.ResponseError error = default);
static member SelfHelpStep : string * string * string * string * Nullable<Azure.ResourceManager.SelfHelp.Models.TroubleshooterExecutionStatus> * string * Nullable<Azure.ResourceManager.SelfHelp.Models.SelfHelpType> * Nullable<bool> * seq<Azure.ResourceManager.SelfHelp.Models.TroubleshooterStepInput> * Azure.ResourceManager.SelfHelp.Models.AutomatedCheckResult * seq<Azure.ResourceManager.SelfHelp.Models.SelfHelpDiagnosticInsight> * Azure.ResponseError -> Azure.ResourceManager.SelfHelp.Models.SelfHelpStep
Public Shared Function SelfHelpStep (Optional id As String = Nothing, Optional title As String = Nothing, Optional description As String = Nothing, Optional guidance As String = Nothing, Optional executionStatus As Nullable(Of TroubleshooterExecutionStatus) = Nothing, Optional executionStatusDescription As String = Nothing, Optional stepType As Nullable(Of SelfHelpType) = Nothing, Optional isLastStep As Nullable(Of Boolean) = Nothing, Optional inputs As IEnumerable(Of TroubleshooterStepInput) = Nothing, Optional automatedCheckResults As AutomatedCheckResult = Nothing, Optional insights As IEnumerable(Of SelfHelpDiagnosticInsight) = Nothing, Optional error As ResponseError = Nothing) As SelfHelpStep

Parameters

id
String

Unique step id.

title
String

Step title.

description
String

Step description.

guidance
String

Get or sets the Step guidance.

executionStatus
Nullable<TroubleshooterExecutionStatus>

Status of Troubleshooter Step execution.

executionStatusDescription
String

This field has more detailed status description of the execution status.

stepType
Nullable<SelfHelpType>

Type of Troubleshooting step.

isLastStep
Nullable<Boolean>

is this last step of the workflow.

automatedCheckResults
AutomatedCheckResult

Only for AutomatedStep type.

error
ResponseError

The error detail.

Returns

A new SelfHelpStep instance for mocking.

Applies to