49 lines
1.5 KiB
TypeScript
49 lines
1.5 KiB
TypeScript
/*
|
|
* Copyright (c) Microsoft Corporation.
|
|
* Licensed under the MIT License.
|
|
*
|
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
*/
|
|
|
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
import {
|
|
WorkflowVersion,
|
|
WorkflowVersionsListOptionalParams,
|
|
WorkflowVersionsGetOptionalParams,
|
|
WorkflowVersionsGetResponse
|
|
} from "../models";
|
|
|
|
/// <reference lib="esnext.asynciterable" />
|
|
/** Interface representing a WorkflowVersions. */
|
|
export interface WorkflowVersions {
|
|
/**
|
|
* Gets a list of workflow versions.
|
|
* @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?: WorkflowVersionsListOptionalParams
|
|
): PagedAsyncIterableIterator<WorkflowVersion>;
|
|
/**
|
|
* Gets a workflow version.
|
|
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
* @param name Site name.
|
|
* @param workflowName The workflow name.
|
|
* @param versionId The workflow versionId.
|
|
* @param options The options parameters.
|
|
*/
|
|
get(
|
|
resourceGroupName: string,
|
|
name: string,
|
|
workflowName: string,
|
|
versionId: string,
|
|
options?: WorkflowVersionsGetOptionalParams
|
|
): Promise<WorkflowVersionsGetResponse>;
|
|
}
|