ArmPolicyInsightsModelFactory.PolicySummaryResults Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of PolicySummaryResults.
public static Azure.ResourceManager.PolicyInsights.Models.PolicySummaryResults PolicySummaryResults (Uri queryResultsUri = default, int? nonCompliantResources = default, int? nonCompliantPolicies = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.PolicyInsights.Models.ComplianceDetail> resourceDetails = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.PolicyInsights.Models.ComplianceDetail> policyDetails = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.PolicyInsights.Models.ComplianceDetail> policyGroupDetails = default);
static member PolicySummaryResults : Uri * Nullable<int> * Nullable<int> * seq<Azure.ResourceManager.PolicyInsights.Models.ComplianceDetail> * seq<Azure.ResourceManager.PolicyInsights.Models.ComplianceDetail> * seq<Azure.ResourceManager.PolicyInsights.Models.ComplianceDetail> -> Azure.ResourceManager.PolicyInsights.Models.PolicySummaryResults
Public Shared Function PolicySummaryResults (Optional queryResultsUri As Uri = Nothing, Optional nonCompliantResources As Nullable(Of Integer) = Nothing, Optional nonCompliantPolicies As Nullable(Of Integer) = Nothing, Optional resourceDetails As IEnumerable(Of ComplianceDetail) = Nothing, Optional policyDetails As IEnumerable(Of ComplianceDetail) = Nothing, Optional policyGroupDetails As IEnumerable(Of ComplianceDetail) = Nothing) As PolicySummaryResults
Parameters
- queryResultsUri
- Uri
HTTP POST URI for queryResults action on Microsoft.PolicyInsights to retrieve raw results for the compliance summary. This property will not be available by default in future API versions, but could be queried explicitly.
- resourceDetails
- IEnumerable<ComplianceDetail>
The resources summary at this level.
- policyDetails
- IEnumerable<ComplianceDetail>
The policy artifact summary at this level. For query scope level, it represents policy assignment summary. For policy assignment level, it represents policy definitions summary.
- policyGroupDetails
- IEnumerable<ComplianceDetail>
The policy definition group summary at this level.
Returns
A new PolicySummaryResults instance for mocking.
Applies to
Azure SDK for .NET