Share via


IPipelineTopologiesOperations.CreateOrUpdateWithHttpMessagesAsync Method

Definition

Creates or updates a pipeline topology.

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

Parameters

resourceGroupName
String

The name of the resource group. The name is case insensitive.

accountName
String

The Azure Video Analyzer account name.

pipelineTopologyName
String

Pipeline topology unique identifier.

parameters
PipelineTopology

The request parameters

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when unable to deserialize the response

Thrown when a required parameter is null

Remarks

Creates a new pipeline topology or updates an existing one, with the given name. A pipeline topology describes the processing steps to be applied when processing content for a particular outcome. The topology should be defined according to the scenario to be achieved and can be reused across many pipeline instances which share the same processing characteristics.

Applies to