SelfHelpExtensions.DiscoverSolutions 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.
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.Pageable<Azure.ResourceManager.SelfHelp.Models.SelfHelpSolutionMetadata> DiscoverSolutions (this Azure.ResourceManager.Resources.TenantResource tenantResource, string filter = default, string skiptoken = default, System.Threading.CancellationToken cancellationToken = default);
static member DiscoverSolutions : Azure.ResourceManager.Resources.TenantResource * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SelfHelp.Models.SelfHelpSolutionMetadata>
<Extension()>
Public Function DiscoverSolutions (tenantResource As TenantResource, Optional filter As String = Nothing, Optional skiptoken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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
A collection of SelfHelpSolutionMetadata that may take multiple service requests to iterate over.
Exceptions
tenantResource
is null.