Freigeben über


ApplicationInsightsComponentResource.CreateWorkItemConfigurationAsync Methode

Definition

Erstellen Sie eine Arbeitselementkonfiguration für eine Application Insights-Komponente.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/WorkItemConfigs
  • Vorgangs-IdWorkItemConfigurations_Create
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))

Parameter

workItemConfigurationProperties
WorkItemCreateConfiguration

Eigenschaften, die angegeben werden müssen, um eine Arbeitselementkonfiguration einer Application Insights-Komponente zu erstellen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

workItemConfigurationProperties ist NULL.

Gilt für: