Sdílet prostřednictvím


SiteWorkflowCollection Class

Definition

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

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

Constructors

SiteWorkflowCollection()

Initializes a new instance of the SiteWorkflowCollection 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}/workflows/{workflowName}
  • Operation Id: WebApps_GetWorkflow
  • Default Api Version: 2023-12-01
  • Resource: SiteWorkflowResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/workflows/{workflowName}
  • Operation Id: WebApps_GetWorkflow
  • Default Api Version: 2023-12-01
  • Resource: SiteWorkflowResource
Get(String, CancellationToken)

Get workflow information by its ID for web site, or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/workflows/{workflowName}
  • Operation Id: WebApps_GetWorkflow
  • Default Api Version: 2023-12-01
  • Resource: SiteWorkflowResource
GetAll(CancellationToken)

List the workflows for a web site, or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/workflows
  • Operation Id: WebApps_ListWorkflows
  • Default Api Version: 2023-12-01
  • Resource: SiteWorkflowResource
GetAllAsync(CancellationToken)

List the workflows for a web site, or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/workflows
  • Operation Id: WebApps_ListWorkflows
  • Default Api Version: 2023-12-01
  • Resource: SiteWorkflowResource
GetAsync(String, CancellationToken)

Get workflow information by its ID for web site, or a deployment slot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/workflows/{workflowName}
  • Operation Id: WebApps_GetWorkflow
  • Default Api Version: 2023-12-01
  • Resource: SiteWorkflowResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/workflows/{workflowName}
  • Operation Id: WebApps_GetWorkflow
  • Default Api Version: 2023-12-01
  • Resource: SiteWorkflowResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/workflows/{workflowName}
  • Operation Id: WebApps_GetWorkflow
  • Default Api Version: 2023-12-01
  • Resource: SiteWorkflowResource
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<SiteWorkflowResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteWorkflowResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to