Partilhar via


LogAnalyticsQueryPackCollection.Get(String, CancellationToken) Método

Definição

Retorna um QueryPack do Log Analytics.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}
  • Operação IdQueryPacks_Get
public virtual Azure.Response<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource> Get (string queryPackName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource>
Public Overridable Function Get (queryPackName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of LogAnalyticsQueryPackResource)

Parâmetros

queryPackName
String

O nome do recurso QueryPack do Log Analytics.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

queryPackName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

queryPackName é nulo.

Aplica-se a