@azure/arm-appservice
Version:
A generated SDK for WebSiteManagementClient.
59 lines • 2.8 kB
TypeScript
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
import type { WorkflowRuns } from "../operationsInterfaces/index.js";
import type { WebSiteManagementClient } from "../webSiteManagementClient.js";
import type { WorkflowRun, WorkflowRunsListOptionalParams, WorkflowRunsGetOptionalParams, WorkflowRunsGetResponse, WorkflowRunsCancelOptionalParams } from "../models/index.js";
/** Class containing WorkflowRuns operations. */
export declare class WorkflowRunsImpl implements WorkflowRuns {
private readonly client;
/**
* Initialize a new instance of the class WorkflowRuns class.
* @param client Reference to the service client
*/
constructor(client: WebSiteManagementClient);
/**
* Gets a list of workflow runs.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param options The options parameters.
*/
list(resourceGroupName: string, name: string, workflowName: string, options?: WorkflowRunsListOptionalParams): PagedAsyncIterableIterator<WorkflowRun>;
private listPagingPage;
private listPagingAll;
/**
* Gets a list of workflow runs.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param options The options parameters.
*/
private _list;
/**
* Gets a workflow run.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param runName The workflow run name.
* @param options The options parameters.
*/
get(resourceGroupName: string, name: string, workflowName: string, runName: string, options?: WorkflowRunsGetOptionalParams): Promise<WorkflowRunsGetResponse>;
/**
* Cancels a workflow run.
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param runName The workflow run name.
* @param options The options parameters.
*/
cancel(resourceGroupName: string, name: string, workflowName: string, runName: string, options?: WorkflowRunsCancelOptionalParams): Promise<void>;
/**
* ListNext
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Site name.
* @param workflowName The workflow name.
* @param nextLink The nextLink from the previous successful call to the List method.
* @param options The options parameters.
*/
private _listNext;
}
//# sourceMappingURL=workflowRuns.d.ts.map