共用方式為


StreamingLocators interface

Interface representing a StreamingLocators.

Methods

create(string, string, string, StreamingLocator, StreamingLocatorsCreateOptionalParams)

Create a Streaming Locator in the Media Services account

delete(string, string, string, StreamingLocatorsDeleteOptionalParams)

Deletes a Streaming Locator in the Media Services account

get(string, string, string, StreamingLocatorsGetOptionalParams)

Get the details of a Streaming Locator in the Media Services account

list(string, string, StreamingLocatorsListOptionalParams)

Lists the Streaming Locators in the account

listContentKeys(string, string, string, StreamingLocatorsListContentKeysOptionalParams)

List Content Keys used by this Streaming Locator

listPaths(string, string, string, StreamingLocatorsListPathsOptionalParams)

List Paths supported by this Streaming Locator

Method Details

create(string, string, string, StreamingLocator, StreamingLocatorsCreateOptionalParams)

Create a Streaming Locator in the Media Services account

function create(resourceGroupName: string, accountName: string, streamingLocatorName: string, parameters: StreamingLocator, options?: StreamingLocatorsCreateOptionalParams): Promise<StreamingLocator>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingLocatorName

string

The Streaming Locator name.

parameters
StreamingLocator

The request parameters

options
StreamingLocatorsCreateOptionalParams

The options parameters.

Returns

Promise<StreamingLocator>

delete(string, string, string, StreamingLocatorsDeleteOptionalParams)

Deletes a Streaming Locator in the Media Services account

function delete(resourceGroupName: string, accountName: string, streamingLocatorName: string, options?: StreamingLocatorsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingLocatorName

string

The Streaming Locator name.

options
StreamingLocatorsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, StreamingLocatorsGetOptionalParams)

Get the details of a Streaming Locator in the Media Services account

function get(resourceGroupName: string, accountName: string, streamingLocatorName: string, options?: StreamingLocatorsGetOptionalParams): Promise<StreamingLocator>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingLocatorName

string

The Streaming Locator name.

options
StreamingLocatorsGetOptionalParams

The options parameters.

Returns

Promise<StreamingLocator>

list(string, string, StreamingLocatorsListOptionalParams)

Lists the Streaming Locators in the account

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

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

options
StreamingLocatorsListOptionalParams

The options parameters.

Returns

listContentKeys(string, string, string, StreamingLocatorsListContentKeysOptionalParams)

List Content Keys used by this Streaming Locator

function listContentKeys(resourceGroupName: string, accountName: string, streamingLocatorName: string, options?: StreamingLocatorsListContentKeysOptionalParams): Promise<ListContentKeysResponse>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingLocatorName

string

The Streaming Locator name.

options
StreamingLocatorsListContentKeysOptionalParams

The options parameters.

Returns

listPaths(string, string, string, StreamingLocatorsListPathsOptionalParams)

List Paths supported by this Streaming Locator

function listPaths(resourceGroupName: string, accountName: string, streamingLocatorName: string, options?: StreamingLocatorsListPathsOptionalParams): Promise<ListPathsResponse>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingLocatorName

string

The Streaming Locator name.

options
StreamingLocatorsListPathsOptionalParams

The options parameters.

Returns