UNPKG

@azure/arm-monitor

Version:
81 lines 5.69 kB
import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { PrivateEndpointConnections } from "../operationsInterfaces"; import { MonitorClient } from "../monitorClient"; import { PollerLike, PollOperationState } from "@azure/core-lro"; import { PrivateEndpointConnection, PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models"; /** 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: MonitorClient); /** * Gets all private endpoint connections on a private link scope. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param scopeName The name of the Azure Monitor PrivateLinkScope resource. * @param options The options parameters. */ listByPrivateLinkScope(resourceGroupName: string, scopeName: string, options?: PrivateEndpointConnectionsListByPrivateLinkScopeOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>; private listByPrivateLinkScopePagingPage; private listByPrivateLinkScopePagingAll; /** * Gets a private endpoint connection. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param scopeName The name of the Azure Monitor PrivateLinkScope resource. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param options The options parameters. */ get(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>; /** * 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 scopeName The name of the Azure Monitor PrivateLinkScope resource. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param parameters A private endpoint connection * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, 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 scopeName The name of the Azure Monitor PrivateLinkScope resource. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param parameters A private endpoint connection * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>; /** * Deletes a private endpoint connection with a given name. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param scopeName The name of the Azure Monitor PrivateLinkScope resource. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param options The options parameters. */ beginDelete(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>; /** * Deletes a private endpoint connection with a given name. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param scopeName The name of the Azure Monitor PrivateLinkScope resource. * @param privateEndpointConnectionName The name of the private endpoint connection. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, scopeName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>; /** * Gets all private endpoint connections on a private link scope. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param scopeName The name of the Azure Monitor PrivateLinkScope resource. * @param options The options parameters. */ private _listByPrivateLinkScope; /** * ListByPrivateLinkScopeNext * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param scopeName The name of the Azure Monitor PrivateLinkScope resource. * @param nextLink The nextLink from the previous successful call to the ListByPrivateLinkScope method. * @param options The options parameters. */ private _listByPrivateLinkScopeNext; } //# sourceMappingURL=privateEndpointConnections.d.ts.map