Compartir a través de


ApplicationInsightsComponentResource.CreateWorkItemConfigurationAsync Método

Definición

Cree una configuración de elemento de trabajo para un componente de Application Insights.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs
  • IdWorkItemConfigurations_Create de operación
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

Propiedades que deben especificarse para crear una configuración de elemento de trabajo de un componente de Application Insights.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

workItemConfigurationProperties es null.

Se aplica a