import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { StreamingEndpoints } from "../operationsInterfaces"; import { AzureMediaServices } from "../azureMediaServices"; import { PollerLike, PollOperationState } from "@azure/core-lro"; import { StreamingEndpoint, StreamingEndpointsListOptionalParams, StreamingEndpointsGetOptionalParams, StreamingEndpointsGetResponse, StreamingEndpointsCreateOptionalParams, StreamingEndpointsCreateResponse, StreamingEndpointsUpdateOptionalParams, StreamingEndpointsUpdateResponse, StreamingEndpointsDeleteOptionalParams, StreamingEndpointsSkusOptionalParams, StreamingEndpointsSkusResponse, StreamingEndpointsStartOptionalParams, StreamingEndpointsStopOptionalParams, StreamingEntityScaleUnit, StreamingEndpointsScaleOptionalParams, StreamingEndpointsAsyncOperationOptionalParams, StreamingEndpointsAsyncOperationResponse, StreamingEndpointsOperationLocationOptionalParams, StreamingEndpointsOperationLocationResponse } from "../models"; /** Class containing StreamingEndpoints operations. */ export declare class StreamingEndpointsImpl implements StreamingEndpoints { private readonly client; /** * Initialize a new instance of the class StreamingEndpoints class. * @param client Reference to the service client */ constructor(client: AzureMediaServices); /** * Lists the streaming endpoints in the account. * @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?: StreamingEndpointsListOptionalParams): PagedAsyncIterableIterator; private listPagingPage; private listPagingAll; /** * Lists the streaming endpoints in the account. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param options The options parameters. */ private _list; /** * Gets a streaming endpoint. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param streamingEndpointName The name of the streaming endpoint, maximum length is 24. * @param options The options parameters. */ get(resourceGroupName: string, accountName: string, streamingEndpointName: string, options?: StreamingEndpointsGetOptionalParams): Promise; /** * Creates a streaming endpoint. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param streamingEndpointName The name of the streaming endpoint, maximum length is 24. * @param parameters Streaming endpoint properties needed for creation. * @param options The options parameters. */ beginCreate(resourceGroupName: string, accountName: string, streamingEndpointName: string, parameters: StreamingEndpoint, options?: StreamingEndpointsCreateOptionalParams): Promise, StreamingEndpointsCreateResponse>>; /** * Creates a streaming endpoint. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param streamingEndpointName The name of the streaming endpoint, maximum length is 24. * @param parameters Streaming endpoint properties needed for creation. * @param options The options parameters. */ beginCreateAndWait(resourceGroupName: string, accountName: string, streamingEndpointName: string, parameters: StreamingEndpoint, options?: StreamingEndpointsCreateOptionalParams): Promise; /** * Updates a existing streaming endpoint. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param streamingEndpointName The name of the streaming endpoint, maximum length is 24. * @param parameters Streaming endpoint properties needed for creation. * @param options The options parameters. */ beginUpdate(resourceGroupName: string, accountName: string, streamingEndpointName: string, parameters: StreamingEndpoint, options?: StreamingEndpointsUpdateOptionalParams): Promise, StreamingEndpointsUpdateResponse>>; /** * Updates a existing streaming endpoint. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param streamingEndpointName The name of the streaming endpoint, maximum length is 24. * @param parameters Streaming endpoint properties needed for creation. * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, accountName: string, streamingEndpointName: string, parameters: StreamingEndpoint, options?: StreamingEndpointsUpdateOptionalParams): Promise; /** * Deletes a streaming endpoint. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param streamingEndpointName The name of the streaming endpoint, maximum length is 24. * @param options The options parameters. */ beginDelete(resourceGroupName: string, accountName: string, streamingEndpointName: string, options?: StreamingEndpointsDeleteOptionalParams): Promise, void>>; /** * Deletes a streaming endpoint. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param streamingEndpointName The name of the streaming endpoint, maximum length is 24. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, accountName: string, streamingEndpointName: string, options?: StreamingEndpointsDeleteOptionalParams): Promise; /** * List streaming endpoint supported skus. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param streamingEndpointName The name of the streaming endpoint, maximum length is 24. * @param options The options parameters. */ skus(resourceGroupName: string, accountName: string, streamingEndpointName: string, options?: StreamingEndpointsSkusOptionalParams): Promise; /** * Starts an existing streaming endpoint. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param streamingEndpointName The name of the streaming endpoint, maximum length is 24. * @param options The options parameters. */ beginStart(resourceGroupName: string, accountName: string, streamingEndpointName: string, options?: StreamingEndpointsStartOptionalParams): Promise, void>>; /** * Starts an existing streaming endpoint. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param streamingEndpointName The name of the streaming endpoint, maximum length is 24. * @param options The options parameters. */ beginStartAndWait(resourceGroupName: string, accountName: string, streamingEndpointName: string, options?: StreamingEndpointsStartOptionalParams): Promise; /** * Stops an existing streaming endpoint. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param streamingEndpointName The name of the streaming endpoint, maximum length is 24. * @param options The options parameters. */ beginStop(resourceGroupName: string, accountName: string, streamingEndpointName: string, options?: StreamingEndpointsStopOptionalParams): Promise, void>>; /** * Stops an existing streaming endpoint. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param streamingEndpointName The name of the streaming endpoint, maximum length is 24. * @param options The options parameters. */ beginStopAndWait(resourceGroupName: string, accountName: string, streamingEndpointName: string, options?: StreamingEndpointsStopOptionalParams): Promise; /** * Scales an existing streaming endpoint. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param streamingEndpointName The name of the streaming endpoint, maximum length is 24. * @param parameters Streaming endpoint scale parameters * @param options The options parameters. */ beginScale(resourceGroupName: string, accountName: string, streamingEndpointName: string, parameters: StreamingEntityScaleUnit, options?: StreamingEndpointsScaleOptionalParams): Promise, void>>; /** * Scales an existing streaming endpoint. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param streamingEndpointName The name of the streaming endpoint, maximum length is 24. * @param parameters Streaming endpoint scale parameters * @param options The options parameters. */ beginScaleAndWait(resourceGroupName: string, accountName: string, streamingEndpointName: string, parameters: StreamingEntityScaleUnit, options?: StreamingEndpointsScaleOptionalParams): Promise; /** * Get a streaming endpoint operation status. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param operationId The ID of an ongoing async operation. * @param options The options parameters. */ asyncOperation(resourceGroupName: string, accountName: string, operationId: string, options?: StreamingEndpointsAsyncOperationOptionalParams): Promise; /** * Get a streaming endpoint operation status. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param streamingEndpointName The name of the streaming endpoint, maximum length is 24. * @param operationId The ID of an ongoing async operation. * @param options The options parameters. */ operationLocation(resourceGroupName: string, accountName: string, streamingEndpointName: string, operationId: string, options?: StreamingEndpointsOperationLocationOptionalParams): Promise; /** * ListNext * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param nextLink The nextLink from the previous successful call to the List method. * @param options The options parameters. */ private _listNext; } //# sourceMappingURL=streamingEndpoints.d.ts.map