Udostępnij za pośrednictwem


SelfHelpSimplifiedSolutionCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

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

Parameters

simplifiedSolutionsResourceName
String

Simplified Solutions Resource Name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

simplifiedSolutionsResourceName is null.

Applies to