StreamingPolicies interface

Interface representing a StreamingPolicies.

Methods

create(string, string, string, StreamingPolicy, StreamingPoliciesCreateOptionalParams)

Create a Streaming Policy in the Media Services account

delete(string, string, string, StreamingPoliciesDeleteOptionalParams)

Deletes a Streaming Policy in the Media Services account

get(string, string, string, StreamingPoliciesGetOptionalParams)

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

list(string, string, StreamingPoliciesListOptionalParams)

Lists the Streaming Policies in the account

Method Details

create(string, string, string, StreamingPolicy, StreamingPoliciesCreateOptionalParams)

Create a Streaming Policy in the Media Services account

function create(resourceGroupName: string, accountName: string, streamingPolicyName: string, parameters: StreamingPolicy, options?: StreamingPoliciesCreateOptionalParams): Promise<StreamingPolicy>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingPolicyName

string

The Streaming Policy name.

parameters
StreamingPolicy

The request parameters

options
StreamingPoliciesCreateOptionalParams

The options parameters.

Returns

Promise<StreamingPolicy>

delete(string, string, string, StreamingPoliciesDeleteOptionalParams)

Deletes a Streaming Policy in the Media Services account

function delete(resourceGroupName: string, accountName: string, streamingPolicyName: string, options?: StreamingPoliciesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingPolicyName

string

The Streaming Policy name.

options
StreamingPoliciesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, StreamingPoliciesGetOptionalParams)

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

function get(resourceGroupName: string, accountName: string, streamingPolicyName: string, options?: StreamingPoliciesGetOptionalParams): Promise<StreamingPolicy>

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

streamingPolicyName

string

The Streaming Policy name.

options
StreamingPoliciesGetOptionalParams

The options parameters.

Returns

Promise<StreamingPolicy>

list(string, string, StreamingPoliciesListOptionalParams)

Lists the Streaming Policies in the account

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

Parameters

resourceGroupName

string

The name of the resource group within the Azure subscription.

accountName

string

The Media Services account name.

options
StreamingPoliciesListOptionalParams

The options parameters.

Returns