EdgeSolutionCollection.GetIfExists(String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/targets/{targetName}/solutions/{solutionName}.
  • Operation Id. : Solutions_Get.
  • Default Api Version. : 2025-06-01.
public virtual Azure.NullableResponse<Azure.ResourceManager.WorkloadOrchestration.EdgeSolutionResource> GetIfExists(string solutionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.WorkloadOrchestration.EdgeSolutionResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.WorkloadOrchestration.EdgeSolutionResource>
Public Overridable Function GetIfExists (solutionName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of EdgeSolutionResource)

Parameters

solutionName
String

Name of the solution.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

solutionName is null.

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

Applies to