Partilhar via


ApplicationInsightsComponentResource.CreateWorkItemConfigurationAsync Método

Definição

Crie uma configuração de item de trabalho para um componente do Application Insights.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs
  • IdWorkItemConfigurations_Create de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.WorkItemConfiguration>> CreateWorkItemConfigurationAsync (Azure.ResourceManager.ApplicationInsights.Models.WorkItemCreateConfiguration workItemConfigurationProperties, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateWorkItemConfigurationAsync : Azure.ResourceManager.ApplicationInsights.Models.WorkItemCreateConfiguration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.WorkItemConfiguration>>
override this.CreateWorkItemConfigurationAsync : Azure.ResourceManager.ApplicationInsights.Models.WorkItemCreateConfiguration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.WorkItemConfiguration>>
Public Overridable Function CreateWorkItemConfigurationAsync (workItemConfigurationProperties As WorkItemCreateConfiguration, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WorkItemConfiguration))

Parâmetros

workItemConfigurationProperties
WorkItemCreateConfiguration

Propriedades que precisam ser especificadas para criar uma configuração de item de trabalho de um componente do Application Insights.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

workItemConfigurationProperties é nulo.

Aplica-se a