EdgeExecutionCollection.GetAsync(String, CancellationToken) Method

Definition

Get Execution Resource

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

Parameters

executionName
String

The name of the Execution.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

executionName is null.

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

Applies to