你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IInputsOperations.UpdateWithHttpMessagesAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
汇报现有流式处理作业下的现有输入。 这可用于部分更新 (ie。更新一个或两个属性) 输入,而不会影响其余的作业或输入定义。
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.StreamAnalytics.Models.Input,Microsoft.Azure.Management.StreamAnalytics.Models.InputsUpdateHeaders>> UpdateWithHttpMessagesAsync (Microsoft.Azure.Management.StreamAnalytics.Models.Input input, string resourceGroupName, string jobName, string inputName, string ifMatch = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateWithHttpMessagesAsync : Microsoft.Azure.Management.StreamAnalytics.Models.Input * string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.StreamAnalytics.Models.Input, Microsoft.Azure.Management.StreamAnalytics.Models.InputsUpdateHeaders>>
Public Function UpdateWithHttpMessagesAsync (input As Input, resourceGroupName As String, jobName As String, inputName As String, Optional ifMatch As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of Input, InputsUpdateHeaders))
参数
- input
- Input
一个 Input 对象。 此处指定的属性将覆盖现有输入 (中的相应属性。这些属性将在) 更新。 此处设置为 null 的任何属性都意味着现有输入中的相应属性将保持不变,并且不会由于此 PATCH 操作而更改。
- resourceGroupName
- String
资源组的名称。 此名称不区分大小写。
- jobName
- String
流式处理作业的名称。
- inputName
- String
输入的名称。
- ifMatch
- String
输入的 ETag。 省略此值将始终覆盖当前输入。 指定上次出现的 ETag 值,以防止意外覆盖并发更改。
- customHeaders
- Dictionary<String,List<String>>
将添加到请求的标头。
- cancellationToken
- CancellationToken
取消标记。
返回
例外
当操作返回无效状态代码时引发
当操作返回无效状态代码时引发
无法反序列化响应时引发
当所需参数为 null 时引发