次の方法で共有


ILiveEventsOperations.BeginAllocateWithHttpMessagesAsync メソッド

定義

ライブ イベントのリソースを割り当てる

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> BeginAllocateWithHttpMessagesAsync (string resourceGroupName, string accountName, string liveEventName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginAllocateWithHttpMessagesAsync : string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function BeginAllocateWithHttpMessagesAsync (resourceGroupName As String, accountName As String, liveEventName As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)

パラメーター

resourceGroupName
String

Azure サブスクリプション内のリソース グループの名前。

accountName
String

Media Services アカウント名。

liveEventName
String

ライブ イベントの名前。最大長は 32 です。

customHeaders
Dictionary<String,List<String>>

要求に追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

Microsoft.Azure.Management.Media.Models.ApiErrorException

操作が無効な状態コードを返したときにスローされます

操作が無効な状態コードを返したときにスローされます

必須パラメーターが null の場合にスローされます

注釈

ライブ イベントは、割り当てが完了した後に StandBy 状態になり、開始する準備ができています。

適用対象