import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ServiceFabrics } from "../operationsInterfaces"; import { DevTestLabsClient } from "../devTestLabsClient"; import { PollerLike, PollOperationState } from "@azure/core-lro"; import { ServiceFabric, ServiceFabricsListOptionalParams, ServiceFabricsGetOptionalParams, ServiceFabricsGetResponse, ServiceFabricsCreateOrUpdateOptionalParams, ServiceFabricsCreateOrUpdateResponse, ServiceFabricsDeleteOptionalParams, ServiceFabricFragment, ServiceFabricsUpdateOptionalParams, ServiceFabricsUpdateResponse, ServiceFabricsListApplicableSchedulesOptionalParams, ServiceFabricsListApplicableSchedulesResponse, ServiceFabricsStartOptionalParams, ServiceFabricsStopOptionalParams } from "../models"; /** Class containing ServiceFabrics operations. */ export declare class ServiceFabricsImpl implements ServiceFabrics { private readonly client; /** * Initialize a new instance of the class ServiceFabrics class. * @param client Reference to the service client */ constructor(client: DevTestLabsClient); /** * List service fabrics in a given user profile. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. * @param options The options parameters. */ list(resourceGroupName: string, labName: string, userName: string, options?: ServiceFabricsListOptionalParams): PagedAsyncIterableIterator; private listPagingPage; private listPagingAll; /** * List service fabrics in a given user profile. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. * @param options The options parameters. */ private _list; /** * Get service fabric. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. * @param name The name of the service fabric. * @param options The options parameters. */ get(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsGetOptionalParams): Promise; /** * Create or replace an existing service fabric. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. * @param name The name of the service fabric. * @param serviceFabric A Service Fabric. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, labName: string, userName: string, name: string, serviceFabric: ServiceFabric, options?: ServiceFabricsCreateOrUpdateOptionalParams): Promise, ServiceFabricsCreateOrUpdateResponse>>; /** * Create or replace an existing service fabric. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. * @param name The name of the service fabric. * @param serviceFabric A Service Fabric. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, labName: string, userName: string, name: string, serviceFabric: ServiceFabric, options?: ServiceFabricsCreateOrUpdateOptionalParams): Promise; /** * Delete service fabric. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. * @param name The name of the service fabric. * @param options The options parameters. */ beginDelete(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsDeleteOptionalParams): Promise, void>>; /** * Delete service fabric. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. * @param name The name of the service fabric. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsDeleteOptionalParams): Promise; /** * Allows modifying tags of service fabrics. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. * @param name The name of the service fabric. * @param serviceFabric A Service Fabric. * @param options The options parameters. */ update(resourceGroupName: string, labName: string, userName: string, name: string, serviceFabric: ServiceFabricFragment, options?: ServiceFabricsUpdateOptionalParams): Promise; /** * Lists the applicable start/stop schedules, if any. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. * @param name The name of the service fabric. * @param options The options parameters. */ listApplicableSchedules(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsListApplicableSchedulesOptionalParams): Promise; /** * Start a service fabric. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. * @param name The name of the service fabric. * @param options The options parameters. */ beginStart(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsStartOptionalParams): Promise, void>>; /** * Start a service fabric. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. * @param name The name of the service fabric. * @param options The options parameters. */ beginStartAndWait(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsStartOptionalParams): Promise; /** * Stop a service fabric This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. * @param name The name of the service fabric. * @param options The options parameters. */ beginStop(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsStopOptionalParams): Promise, void>>; /** * Stop a service fabric This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. * @param name The name of the service fabric. * @param options The options parameters. */ beginStopAndWait(resourceGroupName: string, labName: string, userName: string, name: string, options?: ServiceFabricsStopOptionalParams): Promise; /** * ListNext * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param userName The name of the user profile. * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ private _listNext; } //# sourceMappingURL=serviceFabrics.d.ts.map