import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { Tracks } from "../operationsInterfaces"; import { AzureMediaServices } from "../azureMediaServices"; import { PollerLike, PollOperationState } from "@azure/core-lro"; import { AssetTrack, TracksListOptionalParams, TracksGetOptionalParams, TracksGetResponse, TracksCreateOrUpdateOptionalParams, TracksCreateOrUpdateResponse, TracksDeleteOptionalParams, TracksDeleteResponse, TracksUpdateOptionalParams, TracksUpdateResponse, TracksUpdateTrackDataOptionalParams, TracksUpdateTrackDataResponse } from "../models"; /** Class containing Tracks operations. */ export declare class TracksImpl implements Tracks { private readonly client; /** * Initialize a new instance of the class Tracks class. * @param client Reference to the service client */ constructor(client: AzureMediaServices); /** * Lists the Tracks in the asset * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param assetName The Asset name. * @param options The options parameters. */ list(resourceGroupName: string, accountName: string, assetName: string, options?: TracksListOptionalParams): PagedAsyncIterableIterator; private listPagingPage; private listPagingAll; /** * Lists the Tracks in the asset * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param assetName The Asset name. * @param options The options parameters. */ private _list; /** * Get the details of a Track in the Asset * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param assetName The Asset name. * @param trackName The Asset Track name. * @param options The options parameters. */ get(resourceGroupName: string, accountName: string, assetName: string, trackName: string, options?: TracksGetOptionalParams): Promise; /** * Create or update a Track in the asset * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param assetName The Asset name. * @param trackName The Asset Track name. * @param parameters The request parameters * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, accountName: string, assetName: string, trackName: string, parameters: AssetTrack, options?: TracksCreateOrUpdateOptionalParams): Promise, TracksCreateOrUpdateResponse>>; /** * Create or update a Track in the asset * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param assetName The Asset name. * @param trackName The Asset Track name. * @param parameters The request parameters * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, accountName: string, assetName: string, trackName: string, parameters: AssetTrack, options?: TracksCreateOrUpdateOptionalParams): Promise; /** * Deletes a Track in the asset * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param assetName The Asset name. * @param trackName The Asset Track name. * @param options The options parameters. */ beginDelete(resourceGroupName: string, accountName: string, assetName: string, trackName: string, options?: TracksDeleteOptionalParams): Promise, TracksDeleteResponse>>; /** * Deletes a Track in the asset * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param assetName The Asset name. * @param trackName The Asset Track name. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, accountName: string, assetName: string, trackName: string, options?: TracksDeleteOptionalParams): Promise; /** * Updates an existing Track in the asset * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param assetName The Asset name. * @param trackName The Asset Track name. * @param parameters The request parameters * @param options The options parameters. */ beginUpdate(resourceGroupName: string, accountName: string, assetName: string, trackName: string, parameters: AssetTrack, options?: TracksUpdateOptionalParams): Promise, TracksUpdateResponse>>; /** * Updates an existing Track in the asset * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param assetName The Asset name. * @param trackName The Asset Track name. * @param parameters The request parameters * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, accountName: string, assetName: string, trackName: string, parameters: AssetTrack, options?: TracksUpdateOptionalParams): Promise; /** * Update the track data. Call this API after any changes are made to the track data stored in the * asset container. For example, you have modified the WebVTT captions file in the Azure blob storage * container for the asset, viewers will not see the new version of the captions unless this API is * called. Note, the changes may not be reflected immediately. CDN cache may also need to be purged if * applicable. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param assetName The Asset name. * @param trackName The Asset Track name. * @param options The options parameters. */ beginUpdateTrackData(resourceGroupName: string, accountName: string, assetName: string, trackName: string, options?: TracksUpdateTrackDataOptionalParams): Promise, TracksUpdateTrackDataResponse>>; /** * Update the track data. Call this API after any changes are made to the track data stored in the * asset container. For example, you have modified the WebVTT captions file in the Azure blob storage * container for the asset, viewers will not see the new version of the captions unless this API is * called. Note, the changes may not be reflected immediately. CDN cache may also need to be purged if * applicable. * @param resourceGroupName The name of the resource group within the Azure subscription. * @param accountName The Media Services account name. * @param assetName The Asset name. * @param trackName The Asset Track name. * @param options The options parameters. */ beginUpdateTrackDataAndWait(resourceGroupName: string, accountName: string, assetName: string, trackName: string, options?: TracksUpdateTrackDataOptionalParams): Promise; } //# sourceMappingURL=tracks.d.ts.map