Compartir a través de


ApplicationInsightsComponentResource.CreateWorkItemConfiguration 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 operaciones
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

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