Share via


IIotHubResourceOperations.UpdateWithHttpMessagesAsync Methode

Definition

Aktualisieren Sie vorhandene IoT Hubs-Tags.

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

Parameter

resourceGroupName
String

Ressourcengruppenbezeichner.

resourceName
String

Name des zu aktualisierenden iot Hubs.

tags
IDictionary<String,String>

Ressourcentags

customHeaders
Dictionary<String,List<String>>

Die Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Ausnahmen

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

Aktualisieren Sie ein vorhandenes IoT Hub-Tags. Um andere Felder zu aktualisieren, verwenden Sie die CreateOrUpdate-Methode

Gilt für: