import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { VirtualNetworks } from "../operationsInterfaces"; import { DevTestLabsClient } from "../devTestLabsClient"; import { PollerLike, PollOperationState } from "@azure/core-lro"; import { VirtualNetwork, VirtualNetworksListOptionalParams, VirtualNetworksGetOptionalParams, VirtualNetworksGetResponse, VirtualNetworksCreateOrUpdateOptionalParams, VirtualNetworksCreateOrUpdateResponse, VirtualNetworksDeleteOptionalParams, VirtualNetworkFragment, VirtualNetworksUpdateOptionalParams, VirtualNetworksUpdateResponse } from "../models"; /** Class containing VirtualNetworks operations. */ export declare class VirtualNetworksImpl implements VirtualNetworks { private readonly client; /** * Initialize a new instance of the class VirtualNetworks class. * @param client Reference to the service client */ constructor(client: DevTestLabsClient); /** * List virtual networks in a given lab. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param options The options parameters. */ list(resourceGroupName: string, labName: string, options?: VirtualNetworksListOptionalParams): PagedAsyncIterableIterator; private listPagingPage; private listPagingAll; /** * List virtual networks in a given lab. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param options The options parameters. */ private _list; /** * Get virtual network. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the virtual network. * @param options The options parameters. */ get(resourceGroupName: string, labName: string, name: string, options?: VirtualNetworksGetOptionalParams): Promise; /** * Create or replace an existing virtual network. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the virtual network. * @param virtualNetwork A virtual network. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, labName: string, name: string, virtualNetwork: VirtualNetwork, options?: VirtualNetworksCreateOrUpdateOptionalParams): Promise, VirtualNetworksCreateOrUpdateResponse>>; /** * Create or replace an existing virtual network. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the virtual network. * @param virtualNetwork A virtual network. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, labName: string, name: string, virtualNetwork: VirtualNetwork, options?: VirtualNetworksCreateOrUpdateOptionalParams): Promise; /** * Delete virtual network. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the virtual network. * @param options The options parameters. */ beginDelete(resourceGroupName: string, labName: string, name: string, options?: VirtualNetworksDeleteOptionalParams): Promise, void>>; /** * Delete virtual network. This operation can take a while to complete. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the virtual network. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, labName: string, name: string, options?: VirtualNetworksDeleteOptionalParams): Promise; /** * Allows modifying tags of virtual networks. All other properties will be ignored. * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param name The name of the virtual network. * @param virtualNetwork A virtual network. * @param options The options parameters. */ update(resourceGroupName: string, labName: string, name: string, virtualNetwork: VirtualNetworkFragment, options?: VirtualNetworksUpdateOptionalParams): Promise; /** * ListNext * @param resourceGroupName The name of the resource group. * @param labName The name of the lab. * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ private _listNext; } //# sourceMappingURL=virtualNetworks.d.ts.map