EdgeSolutionVersionCollection.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}/versions/{solutionVersionName}.
  • Operation Id. : SolutionVersions_Get.
  • Default Api Version. : 2025-06-01.
public virtual Azure.NullableResponse<Azure.ResourceManager.WorkloadOrchestration.EdgeSolutionVersionResource> GetIfExists(string solutionVersionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.WorkloadOrchestration.EdgeSolutionVersionResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.WorkloadOrchestration.EdgeSolutionVersionResource>
Public Overridable Function GetIfExists (solutionVersionName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of EdgeSolutionVersionResource)

Parameters

solutionVersionName
String

Name of the solution version.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

solutionVersionName is null.

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

Applies to