Compartir a través de


OperationalInsightsExtensions.GetLogAnalyticsQueryPack Método

Definición

Devuelve un QueryPack de Log Analytics.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}
  • IdQueryPacks_Get de operaciones
public static Azure.Response<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource> GetLogAnalyticsQueryPack (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string queryPackName, System.Threading.CancellationToken cancellationToken = default);
static member GetLogAnalyticsQueryPack : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryPackResource>
<Extension()>
Public Function GetLogAnalyticsQueryPack (resourceGroupResource As ResourceGroupResource, queryPackName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of LogAnalyticsQueryPackResource)

Parámetros

resourceGroupResource
ResourceGroupResource

Instancia ResourceGroupResource en la que se ejecutará el método.

queryPackName
String

Nombre del recurso QueryPack de Log Analytics.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

queryPackName es una cadena vacía y se espera que no esté vacía.

queryPackName es null.

Se aplica a