你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StreamingPolicies interface
Interface representing a StreamingPolicies.
Methods
create(string, string, string, Streaming |
Create a Streaming Policy in the Media Services account |
delete(string, string, string, Streaming |
Deletes a Streaming Policy in the Media Services account |
get(string, string, string, Streaming |
Get the details of a Streaming Policy in the Media Services account |
list(string, string, Streaming |
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
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.
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.
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.
The options parameters.