Freigeben über


EdgeWorkflowVersionCollection.GetIfExists(String, CancellationToken) Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Edge/contexts/{contextName}/workflows/{workflowName}/versions/{versionName}
  • Operation Id: WorkflowVersion_Get
  • Default Api Version: 2025-06-01
  • Resource: EdgeWorkflowVersionResource
public virtual Azure.NullableResponse<Azure.ResourceManager.WorkloadOrchestration.EdgeWorkflowVersionResource> GetIfExists(string versionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.WorkloadOrchestration.EdgeWorkflowVersionResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.WorkloadOrchestration.EdgeWorkflowVersionResource>
Public Overridable Function GetIfExists (versionName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of EdgeWorkflowVersionResource)

Parameters

versionName
String

The name of the workflowVersion.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

versionName is null.

Applies to