Partager via


ComponentsOperationsExtensions.UpdateTagsAsync Méthode

Définition

Mises à jour les balises d’un composant existant. Pour mettre à jour d’autres champs, utilisez la méthode CreateOrUpdate.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponent> UpdateTagsAsync (this Microsoft.Azure.Management.ApplicationInsights.Management.IComponentsOperations operations, string resourceGroupName, string resourceName, System.Collections.Generic.IDictionary<string,string> tags = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateTagsAsync : Microsoft.Azure.Management.ApplicationInsights.Management.IComponentsOperations * string * string * System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponent>
<Extension()>
Public Function UpdateTagsAsync (operations As IComponentsOperations, resourceGroupName As String, resourceName As String, Optional tags As IDictionary(Of String, String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ApplicationInsightsComponent)

Paramètres

operations
IComponentsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources. Le nom ne respecte pas la casse.

resourceName
String

Nom de la ressource du composant Application Insights.

tags
IDictionary<String,String>

Balises de ressource

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à