Share via


MockableSelfHelpTenantResource.GetSelfHelpSolutionByIdAsync Method

Definition

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 virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SelfHelp.Models.SelfHelpSolutionResult>> GetSelfHelpSolutionByIdAsync (string solutionId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSelfHelpSolutionByIdAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SelfHelp.Models.SelfHelpSolutionResult>>
override this.GetSelfHelpSolutionByIdAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SelfHelp.Models.SelfHelpSolutionResult>>
Public Overridable Function GetSelfHelpSolutionByIdAsync (solutionId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SelfHelpSolutionResult))

Parameters

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.

solutionId is null.

Applies to