import type { SqlManagementContext } from "../../api/sqlManagementContext.js"; import type { JobAgentsListByServerOptionalParams, JobAgentsDeleteOptionalParams, JobAgentsUpdateOptionalParams, JobAgentsCreateOrUpdateOptionalParams, JobAgentsGetOptionalParams } from "../../api/jobAgents/options.js"; import type { JobAgent, JobAgentUpdate } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { SimplePollerLike } from "../../static-helpers/simplePollerHelpers.js"; import type { PollerLike, OperationState } from "@azure/core-lro"; /** Interface representing a JobAgents operations. */ export interface JobAgentsOperations { /** Gets a list of job agents in a server. */ listByServer: (resourceGroupName: string, serverName: string, options?: JobAgentsListByServerOptionalParams) => PagedAsyncIterableIterator; /** Deletes a job agent. */ delete: (resourceGroupName: string, serverName: string, jobAgentName: string, options?: JobAgentsDeleteOptionalParams) => PollerLike, void>; /** @deprecated use delete instead */ beginDelete: (resourceGroupName: string, serverName: string, jobAgentName: string, options?: JobAgentsDeleteOptionalParams) => Promise, void>>; /** @deprecated use delete instead */ beginDeleteAndWait: (resourceGroupName: string, serverName: string, jobAgentName: string, options?: JobAgentsDeleteOptionalParams) => Promise; /** Updates a job agent. */ update: (resourceGroupName: string, serverName: string, jobAgentName: string, parameters: JobAgentUpdate, options?: JobAgentsUpdateOptionalParams) => PollerLike, JobAgent>; /** @deprecated use update instead */ beginUpdate: (resourceGroupName: string, serverName: string, jobAgentName: string, parameters: JobAgentUpdate, options?: JobAgentsUpdateOptionalParams) => Promise, JobAgent>>; /** @deprecated use update instead */ beginUpdateAndWait: (resourceGroupName: string, serverName: string, jobAgentName: string, parameters: JobAgentUpdate, options?: JobAgentsUpdateOptionalParams) => Promise; /** Creates or updates a job agent. */ createOrUpdate: (resourceGroupName: string, serverName: string, jobAgentName: string, parameters: JobAgent, options?: JobAgentsCreateOrUpdateOptionalParams) => PollerLike, JobAgent>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdate: (resourceGroupName: string, serverName: string, jobAgentName: string, parameters: JobAgent, options?: JobAgentsCreateOrUpdateOptionalParams) => Promise, JobAgent>>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdateAndWait: (resourceGroupName: string, serverName: string, jobAgentName: string, parameters: JobAgent, options?: JobAgentsCreateOrUpdateOptionalParams) => Promise; /** Gets a job agent. */ get: (resourceGroupName: string, serverName: string, jobAgentName: string, options?: JobAgentsGetOptionalParams) => Promise; } export declare function _getJobAgentsOperations(context: SqlManagementContext): JobAgentsOperations; //# sourceMappingURL=index.d.ts.map