/*
* 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 { PagedAsyncIterableIterator } from "@azure/core-paging";
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";
///
/** Interface representing a StreamingEndpoints. */
export interface StreamingEndpoints {
/**
* 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;
/**
* 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<
PollerLike<
PollOperationState,
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<
PollerLike<
PollOperationState,
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;
}