import type { SqlManagementContext } from "../../api/sqlManagementContext.js"; import type { WorkloadGroupsListByDatabaseOptionalParams, WorkloadGroupsDeleteOptionalParams, WorkloadGroupsCreateOrUpdateOptionalParams, WorkloadGroupsGetOptionalParams } from "../../api/workloadGroups/options.js"; import type { WorkloadGroup } 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 WorkloadGroups operations. */ export interface WorkloadGroupsOperations { /** Gets the list of workload groups */ listByDatabase: (resourceGroupName: string, serverName: string, databaseName: string, options?: WorkloadGroupsListByDatabaseOptionalParams) => PagedAsyncIterableIterator; /** Deletes a workload group. */ delete: (resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: WorkloadGroupsDeleteOptionalParams) => PollerLike, void>; /** @deprecated use delete instead */ beginDelete: (resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: WorkloadGroupsDeleteOptionalParams) => Promise, void>>; /** @deprecated use delete instead */ beginDeleteAndWait: (resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: WorkloadGroupsDeleteOptionalParams) => Promise; /** Creates or updates a workload group. */ createOrUpdate: (resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, parameters: WorkloadGroup, options?: WorkloadGroupsCreateOrUpdateOptionalParams) => PollerLike, WorkloadGroup>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdate: (resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, parameters: WorkloadGroup, options?: WorkloadGroupsCreateOrUpdateOptionalParams) => Promise, WorkloadGroup>>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdateAndWait: (resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, parameters: WorkloadGroup, options?: WorkloadGroupsCreateOrUpdateOptionalParams) => Promise; /** Gets a workload group */ get: (resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: WorkloadGroupsGetOptionalParams) => Promise; } export declare function _getWorkloadGroupsOperations(context: SqlManagementContext): WorkloadGroupsOperations; //# sourceMappingURL=index.d.ts.map