ArmPolicyInsightsModelFactory.PolicySummary 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 PolicySummary.
public static Azure.ResourceManager.PolicyInsights.Models.PolicySummary PolicySummary (string odataId = default, string odataContext = default, Azure.ResourceManager.PolicyInsights.Models.PolicySummaryResults results = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.PolicyInsights.Models.PolicyAssignmentSummary> policyAssignments = default);
static member PolicySummary : string * string * Azure.ResourceManager.PolicyInsights.Models.PolicySummaryResults * seq<Azure.ResourceManager.PolicyInsights.Models.PolicyAssignmentSummary> -> Azure.ResourceManager.PolicyInsights.Models.PolicySummary
Public Shared Function PolicySummary (Optional odataId As String = Nothing, Optional odataContext As String = Nothing, Optional results As PolicySummaryResults = Nothing, Optional policyAssignments As IEnumerable(Of PolicyAssignmentSummary) = Nothing) As PolicySummary
Parameters
- odataId
- String
OData entity ID; always set to null since summaries do not have an entity ID.
- odataContext
- String
OData context string; used by OData clients to resolve type information based on metadata.
- results
- PolicySummaryResults
Compliance summary for all policy assignments.
- policyAssignments
- IEnumerable<PolicyAssignmentSummary>
Policy assignments summary.
Returns
A new PolicySummary instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET