Freigeben über


IStreamingLocatorsOperations.CreateWithHttpMessagesAsync Methode

Definition

Erstellen eines Streaminglocators

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

Parameter

resourceGroupName
String

Der Name der Ressourcengruppe innerhalb des Azure-Abonnements.

accountName
String

Der Name des Media Services-Kontos.

streamingLocatorName
String

Der Streaminglocatorname.

parameters
StreamingLocator

Die Anforderungsparameter

customHeaders
Dictionary<String,List<String>>

Die Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Ausnahmen

Microsoft.Azure.Management.Media.Models.ApiErrorException

Wird ausgelöst, wenn der Vorgang einen ungültigen status Code zurückgegeben hat.

Wird ausgelöst, wenn der Vorgang einen ungültigen status Code zurückgegeben hat.

Wird ausgelöst, wenn die Antwort nicht deserialisiert werden kann

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist

Hinweise

Erstellen eines Streaminglocators im Media Services-Konto

Gilt für: