import type { PagedAsyncIterableIterator } from "@azure/core-paging"; import type { PrivateEndpointConnections } from "../operationsInterfaces/index.js"; import type { CosmosDBManagementClient } from "../cosmosDBManagementClient.js"; import type { SimplePollerLike, OperationState } from "@azure/core-lro"; import type { PrivateEndpointConnection, PrivateEndpointConnectionsListByDatabaseAccountOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models/index.js"; /** Class containing PrivateEndpointConnections operations. */ export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections { private readonly client; /** * Initialize a new instance of the class PrivateEndpointConnections class. * @param client Reference to the service client */ constructor(client: CosmosDBManagementClient); /** * List all private endpoint connections on a Cosmos DB account. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param options The options parameters. */ listByDatabaseAccount(resourceGroupName: string, accountName: string, options?: PrivateEndpointConnectionsListByDatabaseAccountOptionalParams): PagedAsyncIterableIterator; private listByDatabaseAccountPagingPage; private listByDatabaseAccountPagingAll; /** * List all private endpoint connections on a Cosmos DB account. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param options The options parameters. */ private _listByDatabaseAccount; /** * Gets a private endpoint connection. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param options The options parameters. */ get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise; /** * Approve or reject a private endpoint connection with a given name. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param parameters A private endpoint connection * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise, PrivateEndpointConnectionsCreateOrUpdateResponse>>; /** * Approve or reject a private endpoint connection with a given name. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param parameters A private endpoint connection * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise; /** * Deletes a private endpoint connection with a given name. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param options The options parameters. */ beginDelete(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise, void>>; /** * Deletes a private endpoint connection with a given name. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise; } //# sourceMappingURL=privateEndpointConnections.d.ts.map