OperationalInsightsExtensions.CreateOrUpdateWithoutNameQueryPackAsync Método

Definição

Cria um QueryPack do Log Analytics. Observação: você não pode especificar um valor diferente para InstrumentationKey nem AppId na operação Put.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks
  • IdQueryPacks_CreateOrUpdateWithoutName de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource>> CreateOrUpdateWithoutNameQueryPackAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackData data, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateWithoutNameQueryPackAsync : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource>>
<Extension()>
Public Function CreateOrUpdateWithoutNameQueryPackAsync (resourceGroupResource As ResourceGroupResource, data As LogAnalyticsQueryPackData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of LogAnalyticsQueryPackResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

data
LogAnalyticsQueryPackData

Propriedades que precisam ser especificadas para criar ou atualizar um QueryPack do Log Analytics.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

data é nulo.

Aplica-se a