Condividi tramite


AssetsOperationsExtensions.UpdateAsync Method

Definition

Update an Asset

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

Parameters

operations
IAssetsOperations

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.

parameters
Asset

The request parameters

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Updates an existing Asset in the Media Services account

Applies to