MockableSelfHelpArmClient.GetSolutionResource Method

Definition

Overloads

GetSolutionResource(ResourceIdentifier)

Gets an object representing a SolutionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a SolutionResourceResourceIdentifier from its components.

GetSolutionResource(ResourceIdentifier, String, CancellationToken)

Get the solution using the applicable solutionResourceName while creating the solution.

  • Request Path: /{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}
  • Operation Id: Solution_Get

GetSolutionResource(ResourceIdentifier)

Source:
MockableSelfHelpArmClient.cs

Gets an object representing a SolutionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a SolutionResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.SelfHelp.SolutionResource GetSolutionResource (Azure.Core.ResourceIdentifier id);
abstract member GetSolutionResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.SelfHelp.SolutionResource
override this.GetSolutionResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.SelfHelp.SolutionResource
Public Overridable Function GetSolutionResource (id As ResourceIdentifier) As SolutionResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SolutionResource object.

Applies to

GetSolutionResource(ResourceIdentifier, String, CancellationToken)

Source:
MockableSelfHelpArmClient.cs

Get the solution using the applicable solutionResourceName while creating the solution.

  • Request Path: /{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}
  • Operation Id: Solution_Get
public virtual Azure.Response<Azure.ResourceManager.SelfHelp.SolutionResource> GetSolutionResource (Azure.Core.ResourceIdentifier scope, string solutionResourceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSolutionResource : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SelfHelp.SolutionResource>
override this.GetSolutionResource : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SelfHelp.SolutionResource>
Public Overridable Function GetSolutionResource (scope As ResourceIdentifier, solutionResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SolutionResource)

Parameters

scope
ResourceIdentifier

The scope that the resource will apply against.

solutionResourceName
String

Solution resource Name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

solutionResourceName is null.

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

Applies to