你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IPipelineTopologiesOperations.CreateOrUpdateWithHttpMessagesAsync 方法

定义

创建或更新管道拓扑。

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))

参数

resourceGroupName
String

资源组的名称。 此名称不区分大小写。

accountName
String

Azure 视频分析器帐户名称。

pipelineTopologyName
String

管道拓扑唯一标识符。

parameters
PipelineTopology

请求参数

customHeaders
Dictionary<String,List<String>>

将添加到请求的标头。

cancellationToken
CancellationToken

取消标记。

返回

例外

当操作返回无效状态代码时引发

无法反序列化响应时引发

当所需参数为 null 时引发

注解

使用给定的名称创建新的管道拓扑或更新现有管道拓扑。 管道拓扑描述处理特定结果的内容时要应用的处理步骤。 拓扑应根据要实现的方案进行定义,并且可以在共享相同处理特征的许多管道实例之间重复使用。

适用于