Partager via


ApplicationInsightsComponentResource.CreateWorkItemConfiguration Méthode

Définition

Créer une configuration d’élément de travail pour un composant Application Insights.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs
  • IdWorkItemConfigurations_Create d’opération
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)

Paramètres

workItemConfigurationProperties
WorkItemCreateConfiguration

Propriétés qui doivent être spécifiées pour créer une configuration d’élément de travail d’un composant Application Insights.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

workItemConfigurationProperties a la valeur null.

S’applique à