UNPKG

@azure/arm-appservice

Version:
87 lines 4.73 kB
import type { PagedAsyncIterableIterator } from "@azure/core-paging"; import type { WorkflowTriggers } from "../operationsInterfaces/index.js"; import type { WebSiteManagementClient } from "../webSiteManagementClient.js"; import type { SimplePollerLike, OperationState } from "@azure/core-lro"; import type { WorkflowTrigger, WorkflowTriggersListOptionalParams, WorkflowTriggersGetOptionalParams, WorkflowTriggersGetResponse, WorkflowTriggersListCallbackUrlOptionalParams, WorkflowTriggersListCallbackUrlResponse, WorkflowTriggersRunOptionalParams, WorkflowTriggersGetSchemaJsonOptionalParams, WorkflowTriggersGetSchemaJsonResponse } from "../models/index.js"; /** Class containing WorkflowTriggers operations. */ export declare class WorkflowTriggersImpl implements WorkflowTriggers { private readonly client; /** * Initialize a new instance of the class WorkflowTriggers class. * @param client Reference to the service client */ constructor(client: WebSiteManagementClient); /** * Gets a list of workflow triggers. * @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?: WorkflowTriggersListOptionalParams): PagedAsyncIterableIterator<WorkflowTrigger>; private listPagingPage; private listPagingAll; /** * Gets a list of workflow triggers. * @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 trigger. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param workflowName The workflow name. * @param triggerName The workflow trigger name. * @param options The options parameters. */ get(resourceGroupName: string, name: string, workflowName: string, triggerName: string, options?: WorkflowTriggersGetOptionalParams): Promise<WorkflowTriggersGetResponse>; /** * Get the callback URL for a workflow trigger. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param workflowName The workflow name. * @param triggerName The workflow trigger name. * @param options The options parameters. */ listCallbackUrl(resourceGroupName: string, name: string, workflowName: string, triggerName: string, options?: WorkflowTriggersListCallbackUrlOptionalParams): Promise<WorkflowTriggersListCallbackUrlResponse>; /** * Runs a workflow trigger. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param workflowName The workflow name. * @param triggerName The workflow trigger name. * @param options The options parameters. */ beginRun(resourceGroupName: string, name: string, workflowName: string, triggerName: string, options?: WorkflowTriggersRunOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>; /** * Runs a workflow trigger. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param workflowName The workflow name. * @param triggerName The workflow trigger name. * @param options The options parameters. */ beginRunAndWait(resourceGroupName: string, name: string, workflowName: string, triggerName: string, options?: WorkflowTriggersRunOptionalParams): Promise<void>; /** * Get the trigger schema as JSON. * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param workflowName The workflow name. * @param triggerName The workflow trigger name. * @param options The options parameters. */ getSchemaJson(resourceGroupName: string, name: string, workflowName: string, triggerName: string, options?: WorkflowTriggersGetSchemaJsonOptionalParams): Promise<WorkflowTriggersGetSchemaJsonResponse>; /** * 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=workflowTriggers.d.ts.map