共用方式為


StreamingEndpoints interface

Interface representing a StreamingEndpoints.

Methods

asyncOperation(string, string, string, StreamingEndpointsAsyncOperationOptionalParams)

Get a streaming endpoint operation status.

beginCreate(string, string, string, StreamingEndpoint, StreamingEndpointsCreateOptionalParams)

Creates a streaming endpoint.

beginCreateAndWait(string, string, string, StreamingEndpoint, StreamingEndpointsCreateOptionalParams)

Creates a streaming endpoint.

beginDelete(string, string, string, StreamingEndpointsDeleteOptionalParams)

Deletes a streaming endpoint.

beginDeleteAndWait(string, string, string, StreamingEndpointsDeleteOptionalParams)

Deletes a streaming endpoint.

beginScale(string, string, string, StreamingEntityScaleUnit, StreamingEndpointsScaleOptionalParams)

Scales an existing streaming endpoint.

beginScaleAndWait(string, string, string, StreamingEntityScaleUnit, StreamingEndpointsScaleOptionalParams)

Scales an existing streaming endpoint.

beginStart(string, string, string, StreamingEndpointsStartOptionalParams)

Starts an existing streaming endpoint.

beginStartAndWait(string, string, string, StreamingEndpointsStartOptionalParams)

Starts an existing streaming endpoint.

beginStop(string, string, string, StreamingEndpointsStopOptionalParams)

Stops an existing streaming endpoint.

beginStopAndWait(string, string, string, StreamingEndpointsStopOptionalParams)

Stops an existing streaming endpoint.

beginUpdate(string, string, string, StreamingEndpoint, StreamingEndpointsUpdateOptionalParams)

Updates a existing streaming endpoint.

beginUpdateAndWait(string, string, string, StreamingEndpoint, StreamingEndpointsUpdateOptionalParams)

Updates a existing streaming endpoint.

get(string, string, string, StreamingEndpointsGetOptionalParams)

Gets a streaming endpoint.

list(string, string, StreamingEndpointsListOptionalParams)

Lists the streaming endpoints in the account.

operationLocation(string, string, string, string, StreamingEndpointsOperationLocationOptionalParams)

Get a streaming endpoint operation status.

skus(string, string, string, StreamingEndpointsSkusOptionalParams)

List streaming endpoint supported skus.

Method Details

asyncOperation(string, string, string, StreamingEndpointsAsyncOperationOptionalParams)

Get a streaming endpoint operation status.

function asyncOperation(resourceGroupName: string, accountName: string, operationId: string, options?: StreamingEndpointsAsyncOperationOptionalParams): Promise<AsyncOperationResult>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

operationId

string

The ID of an ongoing async operation.

options
StreamingEndpointsAsyncOperationOptionalParams

The options parameters.

Returns

beginCreate(string, string, string, StreamingEndpoint, StreamingEndpointsCreateOptionalParams)

Creates a streaming endpoint.

function beginCreate(resourceGroupName: string, accountName: string, streamingEndpointName: string, parameters: StreamingEndpoint, options?: StreamingEndpointsCreateOptionalParams): Promise<PollerLike<PollOperationState<StreamingEndpoint>, StreamingEndpoint>>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingEndpointName

string

The name of the streaming endpoint, maximum length is 24.

parameters
StreamingEndpoint

Streaming endpoint properties needed for creation.

options
StreamingEndpointsCreateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<StreamingEndpoint>, StreamingEndpoint>>

beginCreateAndWait(string, string, string, StreamingEndpoint, StreamingEndpointsCreateOptionalParams)

Creates a streaming endpoint.

function beginCreateAndWait(resourceGroupName: string, accountName: string, streamingEndpointName: string, parameters: StreamingEndpoint, options?: StreamingEndpointsCreateOptionalParams): Promise<StreamingEndpoint>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingEndpointName

string

The name of the streaming endpoint, maximum length is 24.

parameters
StreamingEndpoint

Streaming endpoint properties needed for creation.

options
StreamingEndpointsCreateOptionalParams

The options parameters.

Returns

beginDelete(string, string, string, StreamingEndpointsDeleteOptionalParams)

Deletes a streaming endpoint.

function beginDelete(resourceGroupName: string, accountName: string, streamingEndpointName: string, options?: StreamingEndpointsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingEndpointName

string

The name of the streaming endpoint, maximum length is 24.

options
StreamingEndpointsDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, string, StreamingEndpointsDeleteOptionalParams)

Deletes a streaming endpoint.

function beginDeleteAndWait(resourceGroupName: string, accountName: string, streamingEndpointName: string, options?: StreamingEndpointsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingEndpointName

string

The name of the streaming endpoint, maximum length is 24.

options
StreamingEndpointsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginScale(string, string, string, StreamingEntityScaleUnit, StreamingEndpointsScaleOptionalParams)

Scales an existing streaming endpoint.

function beginScale(resourceGroupName: string, accountName: string, streamingEndpointName: string, parameters: StreamingEntityScaleUnit, options?: StreamingEndpointsScaleOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingEndpointName

string

The name of the streaming endpoint, maximum length is 24.

parameters
StreamingEntityScaleUnit

Streaming endpoint scale parameters

options
StreamingEndpointsScaleOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginScaleAndWait(string, string, string, StreamingEntityScaleUnit, StreamingEndpointsScaleOptionalParams)

Scales an existing streaming endpoint.

function beginScaleAndWait(resourceGroupName: string, accountName: string, streamingEndpointName: string, parameters: StreamingEntityScaleUnit, options?: StreamingEndpointsScaleOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingEndpointName

string

The name of the streaming endpoint, maximum length is 24.

parameters
StreamingEntityScaleUnit

Streaming endpoint scale parameters

options
StreamingEndpointsScaleOptionalParams

The options parameters.

Returns

Promise<void>

beginStart(string, string, string, StreamingEndpointsStartOptionalParams)

Starts an existing streaming endpoint.

function beginStart(resourceGroupName: string, accountName: string, streamingEndpointName: string, options?: StreamingEndpointsStartOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingEndpointName

string

The name of the streaming endpoint, maximum length is 24.

options
StreamingEndpointsStartOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginStartAndWait(string, string, string, StreamingEndpointsStartOptionalParams)

Starts an existing streaming endpoint.

function beginStartAndWait(resourceGroupName: string, accountName: string, streamingEndpointName: string, options?: StreamingEndpointsStartOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingEndpointName

string

The name of the streaming endpoint, maximum length is 24.

options
StreamingEndpointsStartOptionalParams

The options parameters.

Returns

Promise<void>

beginStop(string, string, string, StreamingEndpointsStopOptionalParams)

Stops an existing streaming endpoint.

function beginStop(resourceGroupName: string, accountName: string, streamingEndpointName: string, options?: StreamingEndpointsStopOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingEndpointName

string

The name of the streaming endpoint, maximum length is 24.

options
StreamingEndpointsStopOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginStopAndWait(string, string, string, StreamingEndpointsStopOptionalParams)

Stops an existing streaming endpoint.

function beginStopAndWait(resourceGroupName: string, accountName: string, streamingEndpointName: string, options?: StreamingEndpointsStopOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingEndpointName

string

The name of the streaming endpoint, maximum length is 24.

options
StreamingEndpointsStopOptionalParams

The options parameters.

Returns

Promise<void>

beginUpdate(string, string, string, StreamingEndpoint, StreamingEndpointsUpdateOptionalParams)

Updates a existing streaming endpoint.

function beginUpdate(resourceGroupName: string, accountName: string, streamingEndpointName: string, parameters: StreamingEndpoint, options?: StreamingEndpointsUpdateOptionalParams): Promise<PollerLike<PollOperationState<StreamingEndpoint>, StreamingEndpoint>>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingEndpointName

string

The name of the streaming endpoint, maximum length is 24.

parameters
StreamingEndpoint

Streaming endpoint properties needed for creation.

options
StreamingEndpointsUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<StreamingEndpoint>, StreamingEndpoint>>

beginUpdateAndWait(string, string, string, StreamingEndpoint, StreamingEndpointsUpdateOptionalParams)

Updates a existing streaming endpoint.

function beginUpdateAndWait(resourceGroupName: string, accountName: string, streamingEndpointName: string, parameters: StreamingEndpoint, options?: StreamingEndpointsUpdateOptionalParams): Promise<StreamingEndpoint>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingEndpointName

string

The name of the streaming endpoint, maximum length is 24.

parameters
StreamingEndpoint

Streaming endpoint properties needed for creation.

options
StreamingEndpointsUpdateOptionalParams

The options parameters.

Returns

get(string, string, string, StreamingEndpointsGetOptionalParams)

Gets a streaming endpoint.

function get(resourceGroupName: string, accountName: string, streamingEndpointName: string, options?: StreamingEndpointsGetOptionalParams): Promise<StreamingEndpoint>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingEndpointName

string

The name of the streaming endpoint, maximum length is 24.

options
StreamingEndpointsGetOptionalParams

The options parameters.

Returns

list(string, string, StreamingEndpointsListOptionalParams)

Lists the streaming endpoints in the account.

function list(resourceGroupName: string, accountName: string, options?: StreamingEndpointsListOptionalParams): PagedAsyncIterableIterator<StreamingEndpoint, StreamingEndpoint[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

options
StreamingEndpointsListOptionalParams

The options parameters.

Returns

operationLocation(string, string, string, string, StreamingEndpointsOperationLocationOptionalParams)

Get a streaming endpoint operation status.

function operationLocation(resourceGroupName: string, accountName: string, streamingEndpointName: string, operationId: string, options?: StreamingEndpointsOperationLocationOptionalParams): Promise<StreamingEndpoint>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingEndpointName

string

The name of the streaming endpoint, maximum length is 24.

operationId

string

The ID of an ongoing async operation.

options
StreamingEndpointsOperationLocationOptionalParams

The options parameters.

Returns

skus(string, string, string, StreamingEndpointsSkusOptionalParams)

List streaming endpoint supported skus.

function skus(resourceGroupName: string, accountName: string, streamingEndpointName: string, options?: StreamingEndpointsSkusOptionalParams): Promise<StreamingEndpointSkuInfoListResult>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingEndpointName

string

The name of the streaming endpoint, maximum length is 24.

options
StreamingEndpointsSkusOptionalParams

The options parameters.

Returns