MockableSelfHelpArmClient.GetSolutionResource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
|
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
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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for