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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET