StreamingLocatorsOperationsExtensions.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 Locator
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.StreamingLocator> CreateAsync (this Microsoft.Azure.Management.Media.IStreamingLocatorsOperations operations, string resourceGroupName, string accountName, string streamingLocatorName, Microsoft.Azure.Management.Media.Models.StreamingLocator parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Media.IStreamingLocatorsOperations * string * string * string * Microsoft.Azure.Management.Media.Models.StreamingLocator * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.StreamingLocator>
<Extension()>
Public Function CreateAsync (operations As IStreamingLocatorsOperations, resourceGroupName As String, accountName As String, streamingLocatorName As String, parameters As StreamingLocator, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StreamingLocator)
Parameters
- operations
- IStreamingLocatorsOperations
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.
- streamingLocatorName
- String
The Streaming Locator name.
- parameters
- StreamingLocator
The request parameters
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Create a Streaming Locator 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