Compartir a través de


WorkItemConfigurationsOperationsExtensions.CreateAsync Método

Definición

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.WorkItemConfiguration> CreateAsync (this Microsoft.Azure.Management.ApplicationInsights.Management.IWorkItemConfigurationsOperations operations, string resourceGroupName, string resourceName, Microsoft.Azure.Management.ApplicationInsights.Management.Models.WorkItemCreateConfiguration workItemConfigurationProperties, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.ApplicationInsights.Management.IWorkItemConfigurationsOperations * string * string * Microsoft.Azure.Management.ApplicationInsights.Management.Models.WorkItemCreateConfiguration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApplicationInsights.Management.Models.WorkItemConfiguration>
<Extension()>
Public Function CreateAsync (operations As IWorkItemConfigurationsOperations, resourceGroupName As String, resourceName As String, workItemConfigurationProperties As WorkItemCreateConfiguration, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WorkItemConfiguration)

Parámetros

operations
IWorkItemConfigurationsOperations

Grupo de operaciones para este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos. El nombre distingue mayúsculas de minúsculas.

resourceName
String

Nombre del recurso de componente de Application Insights.

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.

Devoluciones

Se aplica a