UNPKG

@azure/arm-appservice

Version:
60 lines 3.63 kB
import type { PagedAsyncIterableIterator } from "@azure/core-paging"; import type { SimplePollerLike, OperationState } from "@azure/core-lro"; import type { WorkflowTrigger, WorkflowTriggersListOptionalParams, WorkflowTriggersGetOptionalParams, WorkflowTriggersGetResponse, WorkflowTriggersListCallbackUrlOptionalParams, WorkflowTriggersListCallbackUrlResponse, WorkflowTriggersRunOptionalParams, WorkflowTriggersGetSchemaJsonOptionalParams, WorkflowTriggersGetSchemaJsonResponse } from "../models/index.js"; /** Interface representing a WorkflowTriggers. */ export interface WorkflowTriggers { /** * 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>; /** * 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>; } //# sourceMappingURL=workflowTriggers.d.ts.map