OperationalInsightsExtensions.GetLogAnalyticsQueryPack Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne un QueryPack Log Analytics.
- Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/queryPacks/{queryPackName}
- IdQueryPacks_Get d’opération
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)
Paramètres
- resourceGroupResource
- ResourceGroupResource
Instance ResourceGroupResource sur laquelle la méthode s’exécute.
- queryPackName
- String
Nom de la ressource QueryPack Log Analytics.
- cancellationToken
- CancellationToken
Jeton d’annulation à utiliser.
Retours
Exceptions
queryPackName
est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.
queryPackName
a la valeur null.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour