/* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { PollerLike, PollOperationState } from "@azure/core-lro"; import { PrivateEndpointConnection, PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse } from "../models"; /// /** Interface representing a PrivateEndpointConnections. */ export interface PrivateEndpointConnections { /** * Gets the available PrivateEndpointConnections within a namespace. * @param resourceGroupName Name of the resource group within the azure subscription. * @param namespaceName The Namespace name * @param options The options parameters. */ list( resourceGroupName: string, namespaceName: string, options?: PrivateEndpointConnectionsListOptionalParams ): PagedAsyncIterableIterator; /** * Creates or updates PrivateEndpointConnections of service namespace. * @param resourceGroupName Name of the resource group within the azure subscription. * @param namespaceName The Namespace name * @param privateEndpointConnectionName The PrivateEndpointConnection name * @param parameters Parameters supplied to update Status of PrivateEndPoint Connection to namespace * resource. * @param options The options parameters. */ createOrUpdate( resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams ): Promise; /** * Deletes an existing namespace. This operation also removes all associated resources under the * namespace. * @param resourceGroupName Name of the resource group within the azure subscription. * @param namespaceName The Namespace name * @param privateEndpointConnectionName The PrivateEndpointConnection name * @param options The options parameters. */ beginDelete( resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams ): Promise, void>>; /** * Deletes an existing namespace. This operation also removes all associated resources under the * namespace. * @param resourceGroupName Name of the resource group within the azure subscription. * @param namespaceName The Namespace name * @param privateEndpointConnectionName The PrivateEndpointConnection name * @param options The options parameters. */ beginDeleteAndWait( resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams ): Promise; /** * Gets a description for the specified Private Endpoint Connection name. * @param resourceGroupName Name of the resource group within the azure subscription. * @param namespaceName The Namespace name * @param privateEndpointConnectionName The PrivateEndpointConnection name * @param options The options parameters. */ get( resourceGroupName: string, namespaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams ): Promise; }