import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { Jobs } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { Job, JobsListByAgentOptionalParams, JobsGetOptionalParams, JobsGetResponse, JobsCreateOrUpdateOptionalParams, JobsCreateOrUpdateResponse, JobsDeleteOptionalParams } from "../models"; /** Class containing Jobs operations. */ export declare class JobsImpl implements Jobs { private readonly client; /** * Initialize a new instance of the class Jobs class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Gets a list of jobs. * @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 options The options parameters. */ listByAgent(resourceGroupName: string, serverName: string, jobAgentName: string, options?: JobsListByAgentOptionalParams): PagedAsyncIterableIterator; private listByAgentPagingPage; private listByAgentPagingAll; /** * Gets a list of jobs. * @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 options The options parameters. */ private _listByAgent; /** * Gets a job. * @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. */ get(resourceGroupName: string, serverName: string, jobAgentName: string, jobName: string, options?: JobsGetOptionalParams): Promise; /** * Creates or updates a job. * @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 parameters The requested job state. * @param options The options parameters. */ createOrUpdate(resourceGroupName: string, serverName: string, jobAgentName: string, jobName: string, parameters: Job, options?: JobsCreateOrUpdateOptionalParams): Promise; /** * Deletes a job. * @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 delete. * @param options The options parameters. */ delete(resourceGroupName: string, serverName: string, jobAgentName: string, jobName: string, options?: JobsDeleteOptionalParams): Promise; /** * ListByAgentNext * @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 nextLink The nextLink from the previous successful call to the ListByAgent method. * @param options The options parameters. */ private _listByAgentNext; } //# sourceMappingURL=jobs.d.ts.map