Dela via


MediaservicesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update a Media Services account

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

Parameters

operations
IMediaservicesOperations

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.

parameters
MediaService

The request parameters

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Creates or updates a Media Services account

Applies to