SelfHelpSolutionResultCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • Request Path. : /providers/Microsoft.Help/selfHelp/{solutionId}.
  • Operation Id. : SolutionResourceSelfHelps_Get.
  • Default Api Version. : 2024-03-01-preview.
public virtual Azure.NullableResponse<Azure.ResourceManager.SelfHelp.SelfHelpSolutionResultResource> GetIfExists(string solutionId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.SelfHelp.SelfHelpSolutionResultResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.SelfHelp.SelfHelpSolutionResultResource>
Public Overridable Function GetIfExists (solutionId As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of SelfHelpSolutionResultResource)

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 null.

solutionId is an empty string, and was expected to be non-empty.

Applies to