UNPKG

@azure/arm-automation

Version:

AutomationClient Library with typescript type definitions for node.js and browser.

82 lines 4.62 kB
import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import { AutomationClientContext } from "../automationClientContext"; /** Class representing a TestJobStreams. */ export declare class TestJobStreams { private readonly client; /** * Create a TestJobStreams. * @param {AutomationClientContext} client Reference to the service client. */ constructor(client: AutomationClientContext); /** * Retrieve a test job stream of the test job identified by runbook name and stream id. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param runbookName The runbook name. * @param jobStreamId The job stream id. * @param [options] The optional parameters * @returns Promise<Models.TestJobStreamsGetResponse> */ get(resourceGroupName: string, automationAccountName: string, runbookName: string, jobStreamId: string, options?: msRest.RequestOptionsBase): Promise<Models.TestJobStreamsGetResponse>; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param runbookName The runbook name. * @param jobStreamId The job stream id. * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, runbookName: string, jobStreamId: string, callback: msRest.ServiceCallback<Models.JobStream>): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param runbookName The runbook name. * @param jobStreamId The job stream id. * @param options The optional parameters * @param callback The callback */ get(resourceGroupName: string, automationAccountName: string, runbookName: string, jobStreamId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.JobStream>): void; /** * Retrieve a list of test job streams identified by runbook name. * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param runbookName The runbook name. * @param [options] The optional parameters * @returns Promise<Models.TestJobStreamsListByTestJobResponse> */ listByTestJob(resourceGroupName: string, automationAccountName: string, runbookName: string, options?: Models.TestJobStreamsListByTestJobOptionalParams): Promise<Models.TestJobStreamsListByTestJobResponse>; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param runbookName The runbook name. * @param callback The callback */ listByTestJob(resourceGroupName: string, automationAccountName: string, runbookName: string, callback: msRest.ServiceCallback<Models.JobStreamListResult>): void; /** * @param resourceGroupName Name of an Azure Resource group. * @param automationAccountName The name of the automation account. * @param runbookName The runbook name. * @param options The optional parameters * @param callback The callback */ listByTestJob(resourceGroupName: string, automationAccountName: string, runbookName: string, options: Models.TestJobStreamsListByTestJobOptionalParams, callback: msRest.ServiceCallback<Models.JobStreamListResult>): void; /** * Retrieve a list of test job streams identified by runbook name. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns Promise<Models.TestJobStreamsListByTestJobNextResponse> */ listByTestJobNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.TestJobStreamsListByTestJobNextResponse>; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param callback The callback */ listByTestJobNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.JobStreamListResult>): void; /** * @param nextPageLink The NextLink from the previous successful call to List operation. * @param options The optional parameters * @param callback The callback */ listByTestJobNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.JobStreamListResult>): void; } //# sourceMappingURL=testJobStreams.d.ts.map