SelfHelpExtensions.GetSelfHelpSolutionByIdAsync 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.
Gets Self Help Solutions for a given solutionId. Self Help Solutions consist of rich instructional video tutorials, links and guides to public documentation related to a specific problem that enables users to troubleshoot Azure issues.
- Request Path: /providers/Microsoft.Help/selfHelp/{solutionId}
- Operation Id: SolutionSelfHelp_Get
- Default Api Version: 2024-03-01-preview
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SelfHelp.Models.SelfHelpSolutionResult>> GetSelfHelpSolutionByIdAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, string solutionId, System.Threading.CancellationToken cancellationToken = default);
static member GetSelfHelpSolutionByIdAsync : Azure.ResourceManager.Resources.TenantResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SelfHelp.Models.SelfHelpSolutionResult>>
<Extension()>
Public Function GetSelfHelpSolutionByIdAsync (tenantResource As TenantResource, solutionId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SelfHelpSolutionResult))
Parameters
- tenantResource
- TenantResource
The TenantResource instance the method will execute against.
- solutionId
- String
SolutionId is a unique id to identify a solution. You can retrieve the solution id using the Discovery api - https://learn.microsoft.com/en-us/rest/api/help/discovery-solution/list?view=rest-help-2023-09-01-preview&tabs=HTTP.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
solutionId
is an empty string, and was expected to be non-empty.
tenantResource
or solutionId
is null.
Applies to
Azure SDK for .NET