Share via


WorkItemConfigurationsOperationsExtensions.UpdateItemAsync Method

Definition

Update a work item configuration for an Application Insights component.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.WorkItemConfiguration> UpdateItemAsync (this Microsoft.Azure.Management.ApplicationInsights.Management.IWorkItemConfigurationsOperations operations, string resourceGroupName, string resourceName, string workItemConfigId, Microsoft.Azure.Management.ApplicationInsights.Management.Models.WorkItemCreateConfiguration workItemConfigurationProperties, System.Threading.CancellationToken cancellationToken = default);
static member UpdateItemAsync : Microsoft.Azure.Management.ApplicationInsights.Management.IWorkItemConfigurationsOperations * string * string * string * Microsoft.Azure.Management.ApplicationInsights.Management.Models.WorkItemCreateConfiguration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.WorkItemConfiguration>
<Extension()>
Public Function UpdateItemAsync (operations As IWorkItemConfigurationsOperations, resourceGroupName As String, resourceName As String, workItemConfigId As String, workItemConfigurationProperties As WorkItemCreateConfiguration, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WorkItemConfiguration)

Parameters

operations
IWorkItemConfigurationsOperations

The operations group for this extension method.

resourceGroupName
String

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

resourceName
String

The name of the Application Insights component resource.

workItemConfigId
String

The unique work item configuration Id. This can be either friendly name of connector as defined in connector configuration

workItemConfigurationProperties
WorkItemCreateConfiguration

Properties that need to be specified to update a work item configuration for this Application Insights component.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to