Share via


WorkflowVersionCollection Class

Definition

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

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

Constructors

WorkflowVersionCollection()

Initializes a new instance of the WorkflowVersionCollection 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}/versions/{versionId}
  • Operation Id: WorkflowVersions_Get
  • Default Api Version: 2023-12-01
  • Resource: WorkflowVersionResource
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}/versions/{versionId}
  • Operation Id: WorkflowVersions_Get
  • Default Api Version: 2023-12-01
  • Resource: WorkflowVersionResource
Get(String, CancellationToken)

Gets a workflow version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/versions/{versionId}
  • Operation Id: WorkflowVersions_Get
  • Default Api Version: 2023-12-01
  • Resource: WorkflowVersionResource
GetAll(Nullable<Int32>, CancellationToken)

Gets a list of workflow versions.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/versions
  • Operation Id: WorkflowVersions_List
  • Default Api Version: 2023-12-01
  • Resource: WorkflowVersionResource
GetAllAsync(Nullable<Int32>, CancellationToken)

Gets a list of workflow versions.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/versions
  • Operation Id: WorkflowVersions_List
  • Default Api Version: 2023-12-01
  • Resource: WorkflowVersionResource
GetAsync(String, CancellationToken)

Gets a workflow version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/versions/{versionId}
  • Operation Id: WorkflowVersions_Get
  • Default Api Version: 2023-12-01
  • Resource: WorkflowVersionResource
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}/versions/{versionId}
  • Operation Id: WorkflowVersions_Get
  • Default Api Version: 2023-12-01
  • Resource: WorkflowVersionResource
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}/versions/{versionId}
  • Operation Id: WorkflowVersions_Get
  • Default Api Version: 2023-12-01
  • Resource: WorkflowVersionResource
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<WorkflowVersionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<WorkflowVersionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to