ArmSelfHelpModelFactory.KBSearchResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of KBSearchResult.
public static Azure.ResourceManager.SelfHelp.Models.KBSearchResult KBSearchResult (string solutionId = default, string content = default, string title = default, Azure.ResourceManager.SelfHelp.Models.SelfHelpConfidence? confidence = default, string source = default, Azure.ResourceManager.SelfHelp.Models.KBSearchResultType? resultType = default, int? rank = default, string link = default);
static member KBSearchResult : string * string * string * Nullable<Azure.ResourceManager.SelfHelp.Models.SelfHelpConfidence> * string * Nullable<Azure.ResourceManager.SelfHelp.Models.KBSearchResultType> * Nullable<int> * string -> Azure.ResourceManager.SelfHelp.Models.KBSearchResult
Public Shared Function KBSearchResult (Optional solutionId As String = Nothing, Optional content As String = Nothing, Optional title As String = Nothing, Optional confidence As Nullable(Of SelfHelpConfidence) = Nothing, Optional source As String = Nothing, Optional resultType As Nullable(Of KBSearchResultType) = Nothing, Optional rank As Nullable(Of Integer) = Nothing, Optional link As String = Nothing) As KBSearchResult
Parameters
- solutionId
- String
Unique id of the result.
- content
- String
Content of the search result.
- title
- String
Title of the search result.
- confidence
- Nullable<SelfHelpConfidence>
Confidence of the search result.
- source
- String
Source of the search result.
- resultType
- Nullable<KBSearchResultType>
Result type of the search result.
- link
- String
Link to the document.
Returns
A new KBSearchResult instance for mocking.