Share via


ArmAppComplianceAutomationModelFactory.ScopingQuestion Method

Definition

Initializes a new instance of ScopingQuestion.

public static Azure.ResourceManager.AppComplianceAutomation.Models.ScopingQuestion ScopingQuestion (string questionId = default, string superiorQuestionId = default, Azure.ResourceManager.AppComplianceAutomation.Models.ScopingQuestionInputType inputType = default, System.Collections.Generic.IEnumerable<string> optionIds = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppComplianceAutomation.Models.QuestionRuleItem> rules = default, string showSubQuestionsValue = default);
static member ScopingQuestion : string * string * Azure.ResourceManager.AppComplianceAutomation.Models.ScopingQuestionInputType * seq<string> * seq<Azure.ResourceManager.AppComplianceAutomation.Models.QuestionRuleItem> * string -> Azure.ResourceManager.AppComplianceAutomation.Models.ScopingQuestion
Public Shared Function ScopingQuestion (Optional questionId As String = Nothing, Optional superiorQuestionId As String = Nothing, Optional inputType As ScopingQuestionInputType = Nothing, Optional optionIds As IEnumerable(Of String) = Nothing, Optional rules As IEnumerable(Of QuestionRuleItem) = Nothing, Optional showSubQuestionsValue As String = Nothing) As ScopingQuestion

Parameters

questionId
String

Question id.

superiorQuestionId
String

Superior question id.

inputType
ScopingQuestionInputType

Input type of the question answer.

optionIds
IEnumerable<String>

Option id list.

rules
IEnumerable<QuestionRuleItem>

The rule of the question.

showSubQuestionsValue
String

The answer value to show the sub questions.

Returns

A new ScopingQuestion instance for mocking.

Applies to