Share via


ArmSelfHelpModelFactory.TroubleshooterStepInput Method

Definition

Initializes a new instance of TroubleshooterStepInput.

public static Azure.ResourceManager.SelfHelp.Models.TroubleshooterStepInput TroubleshooterStepInput (string questionId = default, Azure.ResourceManager.SelfHelp.Models.TroubleshooterQuestionType? questionType = default, string questionTitle = default, string questionContent = default, Azure.ResourceManager.SelfHelp.Models.TroubleshooterQuestionContentType? questionContentType = default, string responseHint = default, string recommendedOption = default, string selectedOptionValue = default, Azure.ResourceManager.SelfHelp.Models.ResponseValidationProperties responseValidationProperties = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SelfHelp.Models.ResponseConfig> responseOptions = default);
static member TroubleshooterStepInput : string * Nullable<Azure.ResourceManager.SelfHelp.Models.TroubleshooterQuestionType> * string * string * Nullable<Azure.ResourceManager.SelfHelp.Models.TroubleshooterQuestionContentType> * string * string * string * Azure.ResourceManager.SelfHelp.Models.ResponseValidationProperties * seq<Azure.ResourceManager.SelfHelp.Models.ResponseConfig> -> Azure.ResourceManager.SelfHelp.Models.TroubleshooterStepInput
Public Shared Function TroubleshooterStepInput (Optional questionId As String = Nothing, Optional questionType As Nullable(Of TroubleshooterQuestionType) = Nothing, Optional questionTitle As String = Nothing, Optional questionContent As String = Nothing, Optional questionContentType As Nullable(Of TroubleshooterQuestionContentType) = Nothing, Optional responseHint As String = Nothing, Optional recommendedOption As String = Nothing, Optional selectedOptionValue As String = Nothing, Optional responseValidationProperties As ResponseValidationProperties = Nothing, Optional responseOptions As IEnumerable(Of ResponseConfig) = Nothing) As TroubleshooterStepInput

Parameters

questionId
String

Use Index as QuestionId.

questionType
Nullable<TroubleshooterQuestionType>

Type of Question.

questionTitle
String

Question title.

questionContent
String

User question content.

questionContentType
Nullable<TroubleshooterQuestionContentType>

Default is Text.

responseHint
String

Place holder text for response hints.

recommendedOption
String

Result of Automate step.

selectedOptionValue
String

Text of response that was selected.

responseValidationProperties
ResponseValidationProperties

Troubleshooter step input response validation properties.

responseOptions
IEnumerable<ResponseConfig>

Returns

A new TroubleshooterStepInput instance for mocking.

Applies to