import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { LiveEvents } from "../operationsInterfaces"; import { AzureMediaServices } from "../azureMediaServices"; import { PollerLike, PollOperationState } from "@azure/core-lro"; import { LiveEvent, LiveEventsListOptionalParams, LiveEventsGetOptionalParams, LiveEventsGetResponse, LiveEventsCreateOptionalParams, LiveEventsCreateResponse, LiveEventsUpdateOptionalParams, LiveEventsUpdateResponse, LiveEventsDeleteOptionalParams, LiveEventsAllocateOptionalParams, LiveEventsStartOptionalParams, LiveEventActionInput, LiveEventsStopOptionalParams, LiveEventsResetOptionalParams, LiveEventsAsyncOperationOptionalParams, LiveEventsAsyncOperationResponse, LiveEventsOperationLocationOptionalParams, LiveEventsOperationLocationResponse } from "../models"; /** Class containing LiveEvents operations. */ export declare class LiveEventsImpl implements LiveEvents { private readonly client; /** * Initialize a new instance of the class LiveEvents class. * @param client Reference to the service client */ constructor(client: AzureMediaServices); /** * Lists all the live events 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?: LiveEventsListOptionalParams): PagedAsyncIterableIterator; private listPagingPage; private listPagingAll; /** * Lists all the live events 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 properties of a live event. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param liveEventName The name of the live event, maximum length is 32. * @param options The options parameters. */ get(resourceGroupName: string, accountName: string, liveEventName: string, options?: LiveEventsGetOptionalParams): Promise; /** * Creates a new live event. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param liveEventName The name of the live event, maximum length is 32. * @param parameters Live event properties needed for creation. * @param options The options parameters. */ beginCreate(resourceGroupName: string, accountName: string, liveEventName: string, parameters: LiveEvent, options?: LiveEventsCreateOptionalParams): Promise, LiveEventsCreateResponse>>; /** * Creates a new live event. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param liveEventName The name of the live event, maximum length is 32. * @param parameters Live event properties needed for creation. * @param options The options parameters. */ beginCreateAndWait(resourceGroupName: string, accountName: string, liveEventName: string, parameters: LiveEvent, options?: LiveEventsCreateOptionalParams): Promise; /** * Updates settings on an existing live event. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param liveEventName The name of the live event, maximum length is 32. * @param parameters Live event properties needed for patch. * @param options The options parameters. */ beginUpdate(resourceGroupName: string, accountName: string, liveEventName: string, parameters: LiveEvent, options?: LiveEventsUpdateOptionalParams): Promise, LiveEventsUpdateResponse>>; /** * Updates settings on an existing live event. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param liveEventName The name of the live event, maximum length is 32. * @param parameters Live event properties needed for patch. * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, accountName: string, liveEventName: string, parameters: LiveEvent, options?: LiveEventsUpdateOptionalParams): Promise; /** * Deletes a live event. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param liveEventName The name of the live event, maximum length is 32. * @param options The options parameters. */ beginDelete(resourceGroupName: string, accountName: string, liveEventName: string, options?: LiveEventsDeleteOptionalParams): Promise, void>>; /** * Deletes a live event. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param liveEventName The name of the live event, maximum length is 32. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, accountName: string, liveEventName: string, options?: LiveEventsDeleteOptionalParams): Promise; /** * A live event is in StandBy state after allocation completes, and is ready to start. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param liveEventName The name of the live event, maximum length is 32. * @param options The options parameters. */ beginAllocate(resourceGroupName: string, accountName: string, liveEventName: string, options?: LiveEventsAllocateOptionalParams): Promise, void>>; /** * A live event is in StandBy state after allocation completes, and is ready to start. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param liveEventName The name of the live event, maximum length is 32. * @param options The options parameters. */ beginAllocateAndWait(resourceGroupName: string, accountName: string, liveEventName: string, options?: LiveEventsAllocateOptionalParams): Promise; /** * A live event in Stopped or StandBy state will be in Running state after the start operation * completes. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param liveEventName The name of the live event, maximum length is 32. * @param options The options parameters. */ beginStart(resourceGroupName: string, accountName: string, liveEventName: string, options?: LiveEventsStartOptionalParams): Promise, void>>; /** * A live event in Stopped or StandBy state will be in Running state after the start operation * completes. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param liveEventName The name of the live event, maximum length is 32. * @param options The options parameters. */ beginStartAndWait(resourceGroupName: string, accountName: string, liveEventName: string, options?: LiveEventsStartOptionalParams): Promise; /** * Stops a running live event. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param liveEventName The name of the live event, maximum length is 32. * @param parameters LiveEvent stop parameters * @param options The options parameters. */ beginStop(resourceGroupName: string, accountName: string, liveEventName: string, parameters: LiveEventActionInput, options?: LiveEventsStopOptionalParams): Promise, void>>; /** * Stops a running live event. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param liveEventName The name of the live event, maximum length is 32. * @param parameters LiveEvent stop parameters * @param options The options parameters. */ beginStopAndWait(resourceGroupName: string, accountName: string, liveEventName: string, parameters: LiveEventActionInput, options?: LiveEventsStopOptionalParams): Promise; /** * Resets an existing live event. All live outputs for the live event are deleted and the live event is * stopped and will be started again. All assets used by the live outputs and streaming locators * created on these assets are unaffected. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param liveEventName The name of the live event, maximum length is 32. * @param options The options parameters. */ beginReset(resourceGroupName: string, accountName: string, liveEventName: string, options?: LiveEventsResetOptionalParams): Promise, void>>; /** * Resets an existing live event. All live outputs for the live event are deleted and the live event is * stopped and will be started again. All assets used by the live outputs and streaming locators * created on these assets are unaffected. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param liveEventName The name of the live event, maximum length is 32. * @param options The options parameters. */ beginResetAndWait(resourceGroupName: string, accountName: string, liveEventName: string, options?: LiveEventsResetOptionalParams): Promise; /** * Get a live event 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?: LiveEventsAsyncOperationOptionalParams): Promise; /** * Get a live event operation status. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param liveEventName The name of the live event, maximum length is 32. * @param operationId The ID of an ongoing async operation. * @param options The options parameters. */ operationLocation(resourceGroupName: string, accountName: string, liveEventName: string, operationId: string, options?: LiveEventsOperationLocationOptionalParams): 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=liveEvents.d.ts.map