SelfHelpExtensions.GetSelfHelpSolutionResultAsync 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. <item> Mocking. To mock this method, please mock GetSelfHelpSolutionResultAsync(String, CancellationToken) instead. </item>

public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SelfHelp.SelfHelpSolutionResultResource>> GetSelfHelpSolutionResultAsync(this Azure.ResourceManager.Resources.TenantResource tenantResource, string solutionId, System.Threading.CancellationToken cancellationToken = default);
static member GetSelfHelpSolutionResultAsync : Azure.ResourceManager.Resources.TenantResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SelfHelp.SelfHelpSolutionResultResource>>
<Extension()>
Public Function GetSelfHelpSolutionResultAsync (tenantResource As TenantResource, solutionId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SelfHelpSolutionResultResource))

Parameters

tenantResource
TenantResource

The TenantResource 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

tenantResource is null.

Applies to