SelfHelp.DiscoverySolutionList 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.
Overloads
| Name | Description |
|---|---|
| DiscoverySolutionList(String, String, Func<HttpResponseMessage, Task<IDiscoveryResponse>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync) |
Lists the relevant Azure diagnostics and solutions using problemClassification API)
AND resourceUri or resourceType. |
| DiscoverySolutionList(String, String, Func<HttpResponseMessage, Task<IDiscoveryResponse>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync) |
Lists the relevant Azure diagnostics and solutions using problemClassification API)
AND resourceUri or resourceType. |
DiscoverySolutionList(String, String, Func<HttpResponseMessage, Task<IDiscoveryResponse>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)
Lists the relevant Azure diagnostics and solutions using problemClassification API)
AND resourceUri or resourceType.
Discovery Solutions is the initial entry point within Help API, which identifies
relevant Azure diagnostics and solutions.
Required Input : problemClassificationId (Use the problemClassification
API)
Optional input: resourceUri
OR resource Type
Note: ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’
as an input to Diagnostics and Solutions API.
public System.Threading.Tasks.Task DiscoverySolutionList(string Filter, string Skiptoken, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.IDiscoveryResponse>,System.Threading.Tasks.Task> onOk, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api40.IErrorResponse>,System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Runtime.ISendAsync sender);
member this.DiscoverySolutionList : string * string * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api20240301Preview.IDiscoveryResponse>, System.Threading.Tasks.Task> * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.Api40.IErrorResponse>, System.Threading.Tasks.Task> * Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Runtime.ISendAsync -> System.Threading.Tasks.Task
Public Function DiscoverySolutionList (Filter As String, Skiptoken As String, onOk As Func(Of HttpResponseMessage, Task(Of IDiscoveryResponse), Task), onDefault As Func(Of HttpResponseMessage, Task(Of IErrorResponse), Task), eventListener As IEventListener, sender As ISendAsync) As Task
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.
a delegate that is called when the remote service returns 200 (OK).
- onDefault
- Func<HttpResponseMessage,Task<IErrorResponse>,Task>
a delegate that is called when the remote service returns default (any response code not handled elsewhere).
- eventListener
- IEventListener
an IEventListener instance that will receive events.
- sender
- ISendAsync
an instance of an Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Runtime.ISendAsync pipeline to use to make the request.
Returns
A Task that will be complete when handling of the response is completed.
Applies to
DiscoverySolutionList(String, String, Func<HttpResponseMessage, Task<IDiscoveryResponse>,Task>, Func<HttpResponseMessage,Task<IErrorResponse>, Task>, IEventListener, ISendAsync)
Lists the relevant Azure diagnostics and solutions using problemClassification API)
AND resourceUri or resourceType.
Discovery Solutions is the initial entry point within Help API, which identifies
relevant Azure diagnostics and solutions.
Required Input : problemClassificationId (Use the problemClassification
API)
Optional input: resourceUri
OR resource Type
Note: ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’
as an input to Diagnostics and Solutions API.
public System.Threading.Tasks.Task DiscoverySolutionList(string Filter, string Skiptoken, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.IDiscoveryResponse>,System.Threading.Tasks.Task> onOk, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.IErrorResponse>,System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Runtime.ISendAsync sender);
member this.DiscoverySolutionList : string * string * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.IDiscoveryResponse>, System.Threading.Tasks.Task> * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.IErrorResponse>, System.Threading.Tasks.Task> * Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Runtime.ISendAsync -> System.Threading.Tasks.Task
Public Function DiscoverySolutionList (Filter As String, Skiptoken As String, onOk As Func(Of HttpResponseMessage, Task(Of IDiscoveryResponse), Task), onDefault As Func(Of HttpResponseMessage, Task(Of IErrorResponse), Task), eventListener As IEventListener, sender As ISendAsync) As Task
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.
a delegate that is called when the remote service returns 200 (OK).
- onDefault
- Func<HttpResponseMessage,Task<IErrorResponse>,Task>
a delegate that is called when the remote service returns default (any response code not handled elsewhere).
- eventListener
- IEventListener
an IEventListener instance that will receive events.
- sender
- ISendAsync
an instance of an Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Runtime.ISendAsync pipeline to use to make the request.
Returns
A Task that will be complete when handling of the response is completed.