AssetsOperationsExtensions.CreateOrUpdateAsync 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 or update an Asset
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.Asset> CreateOrUpdateAsync (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 CreateOrUpdateAsync : 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 CreateOrUpdateAsync (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
Creates or updates an Asset 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