MockableSelfHelpTenantResource.DiscoverSolutionsAsync Method

Definition

Lists the relevant Azure Diagnostics, Solutions and Troubleshooters using problemClassification API) AND resourceUri or resourceType.<br/> Discovery Solutions is the initial entry point within Help API, which identifies relevant Azure diagnostics and solutions. <br/><br/> Required Input : problemClassificationId (Use the problemClassification API) <br/>Optional input: resourceUri OR resource Type <br/><br/> <b>Note: </b> ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics and Solutions API.

  • Request Path: /providers/Microsoft.Help/discoverySolutions
  • Operation Id: DiscoverySolution_List
  • Default Api Version: 2024-03-01-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.SelfHelp.Models.SelfHelpSolutionMetadata> DiscoverSolutionsAsync (string filter = default, string skiptoken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DiscoverSolutionsAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SelfHelp.Models.SelfHelpSolutionMetadata>
override this.DiscoverSolutionsAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SelfHelp.Models.SelfHelpSolutionMetadata>
Public Overridable Function DiscoverSolutionsAsync (Optional filter As String = Nothing, Optional skiptoken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SelfHelpSolutionMetadata)

Parameters

filter
String

'ProblemClassificationId' is a mandatory filter to get solutions ids. It also supports optional 'ResourceType' and 'SolutionType' filters. The $filter supports only 'and', 'or' and 'eq' operators. Example: $filter=ProblemClassificationId eq '1ddda5b4-cf6c-4d4f-91ad-bc38ab0e811e'.

skiptoken
String

Skiptoken is only used if a previous operation returned a partial result.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SelfHelpSolutionMetadata that may take multiple service requests to iterate over.

Applies to