import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { JobSteps } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { JobStep, JobStepsListByVersionOptionalParams, JobStepsListByJobOptionalParams, JobStepsGetByVersionOptionalParams, JobStepsGetByVersionResponse, JobStepsGetOptionalParams, JobStepsGetResponse, JobStepsCreateOrUpdateOptionalParams, JobStepsCreateOrUpdateResponse, JobStepsDeleteOptionalParams } from "../models"; /** Class containing JobSteps operations. */ export declare class JobStepsImpl implements JobSteps { private readonly client; /** * Initialize a new instance of the class JobSteps class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Gets all job steps in the specified job version. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. * @param jobAgentName The name of the job agent. * @param jobName The name of the job to get. * @param jobVersion The version of the job to get. * @param options The options parameters. */ listByVersion(resourceGroupName: string, serverName: string, jobAgentName: string, jobName: string, jobVersion: number, options?: JobStepsListByVersionOptionalParams): PagedAsyncIterableIterator; private listByVersionPagingPage; private listByVersionPagingAll; /** * Gets all job steps for a job's current version. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. * @param jobAgentName The name of the job agent. * @param jobName The name of the job to get. * @param options The options parameters. */ listByJob(resourceGroupName: string, serverName: string, jobAgentName: string, jobName: string, options?: JobStepsListByJobOptionalParams): PagedAsyncIterableIterator; private listByJobPagingPage; private listByJobPagingAll; /** * Gets all job steps in the specified job version. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. * @param jobAgentName The name of the job agent. * @param jobName The name of the job to get. * @param jobVersion The version of the job to get. * @param options The options parameters. */ private _listByVersion; /** * Gets the specified version of a job step. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. * @param jobAgentName The name of the job agent. * @param jobName The name of the job. * @param jobVersion The version of the job to get. * @param stepName The name of the job step. * @param options The options parameters. */ getByVersion(resourceGroupName: string, serverName: string, jobAgentName: string, jobName: string, jobVersion: number, stepName: string, options?: JobStepsGetByVersionOptionalParams): Promise; /** * Gets all job steps for a job's current version. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. * @param jobAgentName The name of the job agent. * @param jobName The name of the job to get. * @param options The options parameters. */ private _listByJob; /** * Gets a job step in a job's current version. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. * @param jobAgentName The name of the job agent. * @param jobName The name of the job. * @param stepName The name of the job step. * @param options The options parameters. */ get(resourceGroupName: string, serverName: string, jobAgentName: string, jobName: string, stepName: string, options?: JobStepsGetOptionalParams): Promise; /** * Creates or updates a job step. This will implicitly create a new job version. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. * @param jobAgentName The name of the job agent. * @param jobName The name of the job. * @param stepName The name of the job step. * @param parameters The requested state of the job step. * @param options The options parameters. */ createOrUpdate(resourceGroupName: string, serverName: string, jobAgentName: string, jobName: string, stepName: string, parameters: JobStep, options?: JobStepsCreateOrUpdateOptionalParams): Promise; /** * Deletes a job step. This will implicitly create a new job version. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. * @param jobAgentName The name of the job agent. * @param jobName The name of the job. * @param stepName The name of the job step to delete. * @param options The options parameters. */ delete(resourceGroupName: string, serverName: string, jobAgentName: string, jobName: string, stepName: string, options?: JobStepsDeleteOptionalParams): Promise; /** * ListByVersionNext * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. * @param jobAgentName The name of the job agent. * @param jobName The name of the job to get. * @param jobVersion The version of the job to get. * @param nextLink The nextLink from the previous successful call to the ListByVersion method. * @param options The options parameters. */ private _listByVersionNext; /** * ListByJobNext * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param serverName The name of the server. * @param jobAgentName The name of the job agent. * @param jobName The name of the job to get. * @param nextLink The nextLink from the previous successful call to the ListByJob method. * @param options The options parameters. */ private _listByJobNext; } //# sourceMappingURL=jobSteps.d.ts.map