import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { Projects } from "../operationsInterfaces"; import { DevCenterClient } from "../devCenterClient"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { Project, ProjectsListBySubscriptionOptionalParams, ProjectsListByResourceGroupOptionalParams, ProjectsGetOptionalParams, ProjectsGetResponse, ProjectsCreateOrUpdateOptionalParams, ProjectsCreateOrUpdateResponse, ProjectUpdate, ProjectsUpdateOptionalParams, ProjectsUpdateResponse, ProjectsDeleteOptionalParams, ProjectsDeleteResponse } from "../models"; /** Class containing Projects operations. */ export declare class ProjectsImpl implements Projects { private readonly client; /** * Initialize a new instance of the class Projects class. * @param client Reference to the service client */ constructor(client: DevCenterClient); /** * Lists all projects in the subscription. * @param options The options parameters. */ listBySubscription(options?: ProjectsListBySubscriptionOptionalParams): PagedAsyncIterableIterator; private listBySubscriptionPagingPage; private listBySubscriptionPagingAll; /** * Lists all projects in the resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ listByResourceGroup(resourceGroupName: string, options?: ProjectsListByResourceGroupOptionalParams): PagedAsyncIterableIterator; private listByResourceGroupPagingPage; private listByResourceGroupPagingAll; /** * Lists all projects in the subscription. * @param options The options parameters. */ private _listBySubscription; /** * Lists all projects in the resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ private _listByResourceGroup; /** * Gets a specific 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. */ get(resourceGroupName: string, projectName: string, options?: ProjectsGetOptionalParams): Promise; /** * Creates or updates a project. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param body Represents a project. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, projectName: string, body: Project, options?: ProjectsCreateOrUpdateOptionalParams): Promise, ProjectsCreateOrUpdateResponse>>; /** * Creates or updates a project. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param body Represents a project. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, projectName: string, body: Project, options?: ProjectsCreateOrUpdateOptionalParams): Promise; /** * Partially updates a project. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param body Updatable project properties. * @param options The options parameters. */ beginUpdate(resourceGroupName: string, projectName: string, body: ProjectUpdate, options?: ProjectsUpdateOptionalParams): Promise, ProjectsUpdateResponse>>; /** * Partially updates a project. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param body Updatable project properties. * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, projectName: string, body: ProjectUpdate, options?: ProjectsUpdateOptionalParams): Promise; /** * Deletes a project resource. * @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. */ beginDelete(resourceGroupName: string, projectName: string, options?: ProjectsDeleteOptionalParams): Promise, ProjectsDeleteResponse>>; /** * Deletes a project resource. * @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. */ beginDeleteAndWait(resourceGroupName: string, projectName: string, options?: ProjectsDeleteOptionalParams): Promise; /** * ListBySubscriptionNext * @param nextLink The nextLink from the previous successful call to the ListBySubscription method. * @param options The options parameters. */ private _listBySubscriptionNext; /** * ListByResourceGroupNext * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method. * @param options The options parameters. */ private _listByResourceGroupNext; } //# sourceMappingURL=projects.d.ts.map