Share via


WorkflowRunCollection Class

Definition

A class representing a collection of WorkflowRunResource and their operations. Each WorkflowRunResource in the collection will belong to the same instance of WebSiteResource. To get a WorkflowRunCollection instance call the GetWorkflowRuns method from an instance of WebSiteResource.

public class WorkflowRunCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.AppService.WorkflowRunResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.WorkflowRunResource>
type WorkflowRunCollection = class
    inherit ArmCollection
    interface seq<WorkflowRunResource>
    interface IEnumerable
    interface IAsyncEnumerable<WorkflowRunResource>
Public Class WorkflowRunCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of WorkflowRunResource), IEnumerable(Of WorkflowRunResource)
Inheritance
WorkflowRunCollection
Implements

Constructors

WorkflowRunCollection()

Initializes a new instance of the WorkflowRunCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}
  • Operation Id: WorkflowRuns_Get
  • Default Api Version: 2024-04-01
  • Resource: WorkflowRunResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}
  • Operation Id: WorkflowRuns_Get
  • Default Api Version: 2024-04-01
  • Resource: WorkflowRunResource
Get(String, CancellationToken)

Gets a workflow run.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}
  • Operation Id: WorkflowRuns_Get
  • Default Api Version: 2024-04-01
  • Resource: WorkflowRunResource
GetAll(Nullable<Int32>, String, CancellationToken)

Gets a list of workflow runs.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs
  • Operation Id: WorkflowRuns_List
  • Default Api Version: 2024-04-01
  • Resource: WorkflowRunResource
GetAllAsync(Nullable<Int32>, String, CancellationToken)

Gets a list of workflow runs.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs
  • Operation Id: WorkflowRuns_List
  • Default Api Version: 2024-04-01
  • Resource: WorkflowRunResource
GetAsync(String, CancellationToken)

Gets a workflow run.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}
  • Operation Id: WorkflowRuns_Get
  • Default Api Version: 2024-04-01
  • Resource: WorkflowRunResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}
  • Operation Id: WorkflowRuns_Get
  • Default Api Version: 2024-04-01
  • Resource: WorkflowRunResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/runs/{runName}
  • Operation Id: WorkflowRuns_Get
  • Default Api Version: 2024-04-01
  • Resource: WorkflowRunResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<WorkflowRunResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<WorkflowRunResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to