IIotHubResourceOperations.UpdateWithHttpMessagesAsync メソッド

定義

既存の IoT Hubs タグを更新します。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.IotHub.Models.IotHubDescription>> UpdateWithHttpMessagesAsync (string resourceGroupName, string resourceName, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateWithHttpMessagesAsync : string * string * System.Collections.Generic.IDictionary<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.IotHub.Models.IotHubDescription>>
Public Function UpdateWithHttpMessagesAsync (resourceGroupName As String, resourceName As String, Optional tags As IDictionary(Of String, String) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IotHubDescription))

パラメーター

resourceGroupName
String

リソース グループ識別子。

resourceName
String

更新する IoT ハブの名前。

tags
IDictionary<String,String>

リソース タグ

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

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

応答を逆シリアル化できない場合にスローされます

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

注釈

既存のIoT Hub タグを更新します。 他のフィールドを更新するには、CreateOrUpdate メソッドを使用します

適用対象