다음을 통해 공유


StreamingLocatorsOperationsExtensions.CreateAsync Method

Definition

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