Bagikan melalui


WebTestsOperationsExtensions.UpdateTagsAsync Method

Definition

Creates or updates an Application Insights web test definition.

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

Parameters

operations
IWebTestsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

webTestName
String

The name of the Application Insights webtest resource.

tags
IDictionary<String,String>

Resource tags

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to