Share via


SelfHelpExtensions.GetSelfHelpDiscoverySolutionsAsync 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 static Azure.AsyncPageable<Azure.ResourceManager.SelfHelp.Models.SelfHelpSolutionMetadata> GetSelfHelpDiscoverySolutionsAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, string filter = default, string skiptoken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetSelfHelpDiscoverySolutionsAsync : Azure.ResourceManager.Resources.TenantResource * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SelfHelp.Models.SelfHelpSolutionMetadata>
<Extension()>
Public Function GetSelfHelpDiscoverySolutionsAsync (tenantResource As TenantResource, Optional filter As String = Nothing, Optional skiptoken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SelfHelpSolutionMetadata)

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

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.

Exceptions

tenantResource is null.

Applies to