import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { Pools } from "../operationsInterfaces"; import { DevCenterClient } from "../devCenterClient"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { Pool, PoolsListByProjectOptionalParams, PoolsGetOptionalParams, PoolsGetResponse, PoolsCreateOrUpdateOptionalParams, PoolsCreateOrUpdateResponse, PoolUpdate, PoolsUpdateOptionalParams, PoolsUpdateResponse, PoolsDeleteOptionalParams, PoolsDeleteResponse, PoolsRunHealthChecksOptionalParams, PoolsRunHealthChecksResponse } from "../models"; /** Class containing Pools operations. */ export declare class PoolsImpl implements Pools { private readonly client; /** * Initialize a new instance of the class Pools class. * @param client Reference to the service client */ constructor(client: DevCenterClient); /** * Lists pools for a project * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param options The options parameters. */ listByProject(resourceGroupName: string, projectName: string, options?: PoolsListByProjectOptionalParams): PagedAsyncIterableIterator; private listByProjectPagingPage; private listByProjectPagingAll; /** * Lists pools for a project * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param options The options parameters. */ private _listByProject; /** * Gets a machine pool * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param options The options parameters. */ get(resourceGroupName: string, projectName: string, poolName: string, options?: PoolsGetOptionalParams): Promise; /** * Creates or updates a machine pool * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param body Represents a machine pool * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, projectName: string, poolName: string, body: Pool, options?: PoolsCreateOrUpdateOptionalParams): Promise, PoolsCreateOrUpdateResponse>>; /** * Creates or updates a machine pool * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param body Represents a machine pool * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, projectName: string, poolName: string, body: Pool, options?: PoolsCreateOrUpdateOptionalParams): Promise; /** * Partially updates a machine pool * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param body Represents a machine pool * @param options The options parameters. */ beginUpdate(resourceGroupName: string, projectName: string, poolName: string, body: PoolUpdate, options?: PoolsUpdateOptionalParams): Promise, PoolsUpdateResponse>>; /** * Partially updates a machine pool * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param body Represents a machine pool * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, projectName: string, poolName: string, body: PoolUpdate, options?: PoolsUpdateOptionalParams): Promise; /** * Deletes a machine pool * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param options The options parameters. */ beginDelete(resourceGroupName: string, projectName: string, poolName: string, options?: PoolsDeleteOptionalParams): Promise, PoolsDeleteResponse>>; /** * Deletes a machine pool * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, projectName: string, poolName: string, options?: PoolsDeleteOptionalParams): Promise; /** * Triggers a refresh of the pool status. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param options The options parameters. */ beginRunHealthChecks(resourceGroupName: string, projectName: string, poolName: string, options?: PoolsRunHealthChecksOptionalParams): Promise, PoolsRunHealthChecksResponse>>; /** * Triggers a refresh of the pool status. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param options The options parameters. */ beginRunHealthChecksAndWait(resourceGroupName: string, projectName: string, poolName: string, options?: PoolsRunHealthChecksOptionalParams): Promise; /** * ListByProjectNext * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param nextLink The nextLink from the previous successful call to the ListByProject method. * @param options The options parameters. */ private _listByProjectNext; } //# sourceMappingURL=pools.d.ts.map