Share via


PolicyStatesOperationsExtensions.SummarizeForResource Method

Definition

Summarizes policy states for the resource.

public static Microsoft.Azure.Management.PolicyInsights.Models.SummarizeResults SummarizeForResource (this Microsoft.Azure.Management.PolicyInsights.IPolicyStatesOperations operations, string resourceId, Microsoft.Azure.Management.PolicyInsights.Models.QueryOptions queryOptions = default);
static member SummarizeForResource : Microsoft.Azure.Management.PolicyInsights.IPolicyStatesOperations * string * Microsoft.Azure.Management.PolicyInsights.Models.QueryOptions -> Microsoft.Azure.Management.PolicyInsights.Models.SummarizeResults
<Extension()>
Public Function SummarizeForResource (operations As IPolicyStatesOperations, resourceId As String, Optional queryOptions As QueryOptions = Nothing) As SummarizeResults

Parameters

operations
IPolicyStatesOperations

The operations group for this extension method.

resourceId
String

Resource ID.

queryOptions
QueryOptions

Additional parameters for the operation

Returns

Applies to