Partager via


PolicyStatesOperationsExtensions.SummarizeForResourceAsync Méthode

Définition

Récapitule les états de stratégie de la ressource.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.PolicyInsights.Models.SummarizeResults> SummarizeForResourceAsync (this Microsoft.Azure.Management.PolicyInsights.IPolicyStatesOperations operations, string resourceId, Microsoft.Azure.Management.PolicyInsights.Models.QueryOptions queryOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member SummarizeForResourceAsync : Microsoft.Azure.Management.PolicyInsights.IPolicyStatesOperations * string * Microsoft.Azure.Management.PolicyInsights.Models.QueryOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.PolicyInsights.Models.SummarizeResults>
<Extension()>
Public Function SummarizeForResourceAsync (operations As IPolicyStatesOperations, resourceId As String, Optional queryOptions As QueryOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SummarizeResults)

Paramètres

operations
IPolicyStatesOperations

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

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à