Udostępnij za pośrednictwem


TracksOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Create or update a Track

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.AssetTrack> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.Media.ITracksOperations operations, string resourceGroupName, string accountName, string assetName, string trackName, Microsoft.Azure.Management.Media.Models.TrackBase track = default, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.Media.ITracksOperations * string * string * string * string * Microsoft.Azure.Management.Media.Models.TrackBase * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.AssetTrack>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As ITracksOperations, resourceGroupName As String, accountName As String, assetName As String, trackName As String, Optional track As TrackBase = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AssetTrack)

Parameters

operations
ITracksOperations

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.

assetName
String

The Asset name.

trackName
String

The Asset Track name.

track
TrackBase

Detailed information about a track in the asset.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Create or update a Track in the asset

Applies to