import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { Catalogs } from "../operationsInterfaces"; import { DevCenterClient } from "../devCenterClient"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { Catalog, CatalogsListByDevCenterOptionalParams, CatalogsGetOptionalParams, CatalogsGetResponse, CatalogsCreateOrUpdateOptionalParams, CatalogsCreateOrUpdateResponse, CatalogUpdate, CatalogsUpdateOptionalParams, CatalogsUpdateResponse, CatalogsDeleteOptionalParams, CatalogsDeleteResponse, CatalogsGetSyncErrorDetailsOptionalParams, CatalogsGetSyncErrorDetailsResponse, CatalogsSyncOptionalParams, CatalogsSyncResponse, CatalogsConnectOptionalParams, CatalogsConnectResponse } from "../models"; /** Class containing Catalogs operations. */ export declare class CatalogsImpl implements Catalogs { private readonly client; /** * Initialize a new instance of the class Catalogs class. * @param client Reference to the service client */ constructor(client: DevCenterClient); /** * Lists catalogs for a devcenter. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param options The options parameters. */ listByDevCenter(resourceGroupName: string, devCenterName: string, options?: CatalogsListByDevCenterOptionalParams): PagedAsyncIterableIterator; private listByDevCenterPagingPage; private listByDevCenterPagingAll; /** * Lists catalogs for a devcenter. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param options The options parameters. */ private _listByDevCenter; /** * Gets a catalog * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param options The options parameters. */ get(resourceGroupName: string, devCenterName: string, catalogName: string, options?: CatalogsGetOptionalParams): Promise; /** * Creates or updates a catalog. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param body Represents a catalog. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, devCenterName: string, catalogName: string, body: Catalog, options?: CatalogsCreateOrUpdateOptionalParams): Promise, CatalogsCreateOrUpdateResponse>>; /** * Creates or updates a catalog. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param body Represents a catalog. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, devCenterName: string, catalogName: string, body: Catalog, options?: CatalogsCreateOrUpdateOptionalParams): Promise; /** * Partially updates a catalog. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param body Updatable catalog properties. * @param options The options parameters. */ beginUpdate(resourceGroupName: string, devCenterName: string, catalogName: string, body: CatalogUpdate, options?: CatalogsUpdateOptionalParams): Promise, CatalogsUpdateResponse>>; /** * Partially updates a catalog. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param body Updatable catalog properties. * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, devCenterName: string, catalogName: string, body: CatalogUpdate, options?: CatalogsUpdateOptionalParams): Promise; /** * Deletes a catalog resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param options The options parameters. */ beginDelete(resourceGroupName: string, devCenterName: string, catalogName: string, options?: CatalogsDeleteOptionalParams): Promise, CatalogsDeleteResponse>>; /** * Deletes a catalog resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, devCenterName: string, catalogName: string, options?: CatalogsDeleteOptionalParams): Promise; /** * Gets catalog synchronization error details * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param options The options parameters. */ getSyncErrorDetails(resourceGroupName: string, devCenterName: string, catalogName: string, options?: CatalogsGetSyncErrorDetailsOptionalParams): Promise; /** * Syncs templates for a template source. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param options The options parameters. */ beginSync(resourceGroupName: string, devCenterName: string, catalogName: string, options?: CatalogsSyncOptionalParams): Promise, CatalogsSyncResponse>>; /** * Syncs templates for a template source. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param options The options parameters. */ beginSyncAndWait(resourceGroupName: string, devCenterName: string, catalogName: string, options?: CatalogsSyncOptionalParams): Promise; /** * Connects a catalog to enable syncing. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param options The options parameters. */ beginConnect(resourceGroupName: string, devCenterName: string, catalogName: string, options?: CatalogsConnectOptionalParams): Promise, CatalogsConnectResponse>>; /** * Connects a catalog to enable syncing. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param options The options parameters. */ beginConnectAndWait(resourceGroupName: string, devCenterName: string, catalogName: string, options?: CatalogsConnectOptionalParams): Promise; /** * ListByDevCenterNext * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param nextLink The nextLink from the previous successful call to the ListByDevCenter method. * @param options The options parameters. */ private _listByDevCenterNext; } //# sourceMappingURL=catalogs.d.ts.map