SelfHelpSolutionResultCollection.Exists(String, CancellationToken) Method

Definition

Checks to see if the resource exists in azure.

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

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