StreamingPoliciesOperationsExtensions.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a Streaming Policy
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.StreamingPolicy> CreateAsync (this Microsoft.Azure.Management.Media.IStreamingPoliciesOperations operations, string resourceGroupName, string accountName, string streamingPolicyName, Microsoft.Azure.Management.Media.Models.StreamingPolicy parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Media.IStreamingPoliciesOperations * string * string * string * Microsoft.Azure.Management.Media.Models.StreamingPolicy * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.StreamingPolicy>
<Extension()>
Public Function CreateAsync (operations As IStreamingPoliciesOperations, resourceGroupName As String, accountName As String, streamingPolicyName As String, parameters As StreamingPolicy, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StreamingPolicy)
Parameters
- operations
- IStreamingPoliciesOperations
The operations group for this extension method.
- 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
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Create a Streaming Policy in the Media Services account
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.