Partager via


PolicyEventsOperationsExtensions.ListQueryResultsForResource Méthode

Définition

Interroge les événements de stratégie pour la ressource.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.PolicyInsights.Models.PolicyEvent> ListQueryResultsForResource (this Microsoft.Azure.Management.PolicyInsights.IPolicyEventsOperations operations, string resourceId, Microsoft.Azure.Management.PolicyInsights.Models.QueryOptions queryOptions = default);
static member ListQueryResultsForResource : Microsoft.Azure.Management.PolicyInsights.IPolicyEventsOperations * string * Microsoft.Azure.Management.PolicyInsights.Models.QueryOptions -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.PolicyInsights.Models.PolicyEvent>
<Extension()>
Public Function ListQueryResultsForResource (operations As IPolicyEventsOperations, resourceId As String, Optional queryOptions As QueryOptions = Nothing) As IPage(Of PolicyEvent)

Paramètres

operations
IPolicyEventsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceId
String

ID de la ressource

queryOptions
QueryOptions

Paramètres supplémentaires pour l’opération

Retours

S’applique à