/* * 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 { PrivateEndpointConnectionsListOptionalParams, PrivateEndpointConnectionsListResponse, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnection, PrivateEndpointConnectionsCreateOrUpdateOptionalParams, PrivateEndpointConnectionsCreateOrUpdateResponse, PrivateEndpointConnectionsDeleteOptionalParams } from "../models"; /** Interface representing a PrivateEndpointConnections. */ export interface PrivateEndpointConnections { /** * List all private endpoint connections. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param options The options parameters. */ list( resourceGroupName: string, accountName: string, options?: PrivateEndpointConnectionsListOptionalParams ): Promise; /** * Get the details of a private endpoint connection. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param name * @param options The options parameters. */ get( resourceGroupName: string, accountName: string, name: string, options?: PrivateEndpointConnectionsGetOptionalParams ): Promise; /** * Update an existing private endpoint connection. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param name * @param parameters The request parameters * @param options The options parameters. */ createOrUpdate( resourceGroupName: string, accountName: string, name: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams ): Promise; /** * Deletes a private endpoint connection. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param name * @param options The options parameters. */ delete( resourceGroupName: string, accountName: string, name: string, options?: PrivateEndpointConnectionsDeleteOptionalParams ): Promise; }