Partilhar via


ApplicationInsightsComponentResource.CreateWorkItemConfiguration 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
  • Operação IdWorkItemConfigurations_Create
public virtual Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.WorkItemConfiguration> CreateWorkItemConfiguration (Azure.ResourceManager.ApplicationInsights.Models.WorkItemCreateConfiguration workItemConfigurationProperties, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateWorkItemConfiguration : Azure.ResourceManager.ApplicationInsights.Models.WorkItemCreateConfiguration * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.WorkItemConfiguration>
override this.CreateWorkItemConfiguration : Azure.ResourceManager.ApplicationInsights.Models.WorkItemCreateConfiguration * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ApplicationInsights.Models.WorkItemConfiguration>
Public Overridable Function CreateWorkItemConfiguration (workItemConfigurationProperties As WorkItemCreateConfiguration, Optional cancellationToken As CancellationToken = Nothing) As 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