IotHubResourceOperationsExtensions.UpdateAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Mettre à jour des balises IoT Hubs existantes.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.IotHubDescription> UpdateAsync (this Microsoft.Azure.Management.IotHub.IIotHubResourceOperations operations, string resourceGroupName, string resourceName, System.Collections.Generic.IDictionary<string,string> tags = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.IotHub.IIotHubResourceOperations * string * string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.IotHubDescription>
<Extension()>
Public Function UpdateAsync (operations As IIotHubResourceOperations, resourceGroupName As String, resourceName As String, Optional tags As IDictionary(Of String, String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IotHubDescription)
Paramètres
- operations
- IIotHubResourceOperations
Groupe d’opérations pour cette méthode d’extension.
- resourceGroupName
- String
Identificateur du groupe de ressources.
- resourceName
- String
Nom du hub iot à mettre à jour.
- tags
- IDictionary<String,String>
Balises de ressource
- cancellationToken
- CancellationToken
Jeton d'annulation.
Retours
Remarques
Mettre à jour des étiquettes de IoT Hub existantes. pour mettre à jour d’autres champs, utilisez la méthode CreateOrUpdate
S’applique à
Azure SDK for .NET
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour