import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ManagedInstances } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { ManagedInstance, ManagedInstancesListOptionalParams, ManagedInstancesListByInstancePoolOptionalParams, ManagedInstancesListByResourceGroupOptionalParams, OutboundEnvironmentEndpoint, ManagedInstancesListOutboundNetworkDependenciesByManagedInstanceOptionalParams, TopQueries, ManagedInstancesListByManagedInstanceOptionalParams, ManagedInstancesGetOptionalParams, ManagedInstancesGetResponse, ManagedInstancesCreateOrUpdateOptionalParams, ManagedInstancesCreateOrUpdateResponse, ManagedInstancesDeleteOptionalParams, ManagedInstanceUpdate, ManagedInstancesUpdateOptionalParams, ManagedInstancesUpdateResponse, ManagedInstancesFailoverOptionalParams, ManagedInstancesStartOptionalParams, ManagedInstancesStopOptionalParams } from "../models"; /** Class containing ManagedInstances operations. */ export declare class ManagedInstancesImpl implements ManagedInstances { private readonly client; /** * Initialize a new instance of the class ManagedInstances class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Gets a list of all managed instances in the subscription. * @param options The options parameters. */ list(options?: ManagedInstancesListOptionalParams): PagedAsyncIterableIterator; private listPagingPage; private listPagingAll; /** * Gets a list of all managed instances in an instance pool. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param instancePoolName The instance pool name. * @param options The options parameters. */ listByInstancePool(resourceGroupName: string, instancePoolName: string, options?: ManagedInstancesListByInstancePoolOptionalParams): PagedAsyncIterableIterator; private listByInstancePoolPagingPage; private listByInstancePoolPagingAll; /** * Gets a list of managed instances in a resource group. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param options The options parameters. */ listByResourceGroup(resourceGroupName: string, options?: ManagedInstancesListByResourceGroupOptionalParams): PagedAsyncIterableIterator; private listByResourceGroupPagingPage; private listByResourceGroupPagingAll; /** * Gets the collection of outbound network dependencies for the given managed instance. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param options The options parameters. */ listOutboundNetworkDependenciesByManagedInstance(resourceGroupName: string, managedInstanceName: string, options?: ManagedInstancesListOutboundNetworkDependenciesByManagedInstanceOptionalParams): PagedAsyncIterableIterator; private listOutboundNetworkDependenciesByManagedInstancePagingPage; private listOutboundNetworkDependenciesByManagedInstancePagingAll; /** * Get top resource consuming queries of a managed instance. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param options The options parameters. */ listByManagedInstance(resourceGroupName: string, managedInstanceName: string, options?: ManagedInstancesListByManagedInstanceOptionalParams): PagedAsyncIterableIterator; private listByManagedInstancePagingPage; private listByManagedInstancePagingAll; /** * Gets a list of all managed instances in the subscription. * @param options The options parameters. */ private _list; /** * Gets a list of all managed instances in an instance pool. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param instancePoolName The instance pool name. * @param options The options parameters. */ private _listByInstancePool; /** * Gets a list of managed instances in a resource group. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param options The options parameters. */ private _listByResourceGroup; /** * Gets a managed instance. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param options The options parameters. */ get(resourceGroupName: string, managedInstanceName: string, options?: ManagedInstancesGetOptionalParams): Promise; /** * Creates or updates a managed instance. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param parameters The requested managed instance resource state. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, parameters: ManagedInstance, options?: ManagedInstancesCreateOrUpdateOptionalParams): Promise, ManagedInstancesCreateOrUpdateResponse>>; /** * Creates or updates a managed instance. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param parameters The requested managed instance resource state. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, managedInstanceName: string, parameters: ManagedInstance, options?: ManagedInstancesCreateOrUpdateOptionalParams): Promise; /** * Deletes a managed instance. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param options The options parameters. */ beginDelete(resourceGroupName: string, managedInstanceName: string, options?: ManagedInstancesDeleteOptionalParams): Promise, void>>; /** * Deletes a managed instance. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, managedInstanceName: string, options?: ManagedInstancesDeleteOptionalParams): Promise; /** * Updates a managed instance. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param parameters The requested managed instance resource state. * @param options The options parameters. */ beginUpdate(resourceGroupName: string, managedInstanceName: string, parameters: ManagedInstanceUpdate, options?: ManagedInstancesUpdateOptionalParams): Promise, ManagedInstancesUpdateResponse>>; /** * Updates a managed instance. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param parameters The requested managed instance resource state. * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, managedInstanceName: string, parameters: ManagedInstanceUpdate, options?: ManagedInstancesUpdateOptionalParams): Promise; /** * Failovers a managed instance. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance to failover. * @param options The options parameters. */ beginFailover(resourceGroupName: string, managedInstanceName: string, options?: ManagedInstancesFailoverOptionalParams): Promise, void>>; /** * Failovers a managed instance. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance to failover. * @param options The options parameters. */ beginFailoverAndWait(resourceGroupName: string, managedInstanceName: string, options?: ManagedInstancesFailoverOptionalParams): Promise; /** * Gets the collection of outbound network dependencies for the given managed instance. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param options The options parameters. */ private _listOutboundNetworkDependenciesByManagedInstance; /** * Starts the managed instance. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param options The options parameters. */ beginStart(resourceGroupName: string, managedInstanceName: string, options?: ManagedInstancesStartOptionalParams): Promise, void>>; /** * Starts the managed instance. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param options The options parameters. */ beginStartAndWait(resourceGroupName: string, managedInstanceName: string, options?: ManagedInstancesStartOptionalParams): Promise; /** * Stops the managed instance. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param options The options parameters. */ beginStop(resourceGroupName: string, managedInstanceName: string, options?: ManagedInstancesStopOptionalParams): Promise, void>>; /** * Stops the managed instance. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param options The options parameters. */ beginStopAndWait(resourceGroupName: string, managedInstanceName: string, options?: ManagedInstancesStopOptionalParams): Promise; /** * Get top resource consuming queries of a managed instance. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param options The options parameters. */ private _listByManagedInstance; /** * ListNext * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ private _listNext; /** * ListByInstancePoolNext * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param instancePoolName The instance pool name. * @param nextLink The nextLink from the previous successful call to the ListByInstancePool method. * @param options The options parameters. */ private _listByInstancePoolNext; /** * ListByResourceGroupNext * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method. * @param options The options parameters. */ private _listByResourceGroupNext; /** * ListOutboundNetworkDependenciesByManagedInstanceNext * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param nextLink The nextLink from the previous successful call to the * ListOutboundNetworkDependenciesByManagedInstance method. * @param options The options parameters. */ private _listOutboundNetworkDependenciesByManagedInstanceNext; /** * ListByManagedInstanceNext * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param nextLink The nextLink from the previous successful call to the ListByManagedInstance method. * @param options The options parameters. */ private _listByManagedInstanceNext; } //# sourceMappingURL=managedInstances.d.ts.map