ArmPolicyInsightsModelFactory.PolicyAssignmentSummary 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 PolicyAssignmentSummary.
public static Azure.ResourceManager.PolicyInsights.Models.PolicyAssignmentSummary PolicyAssignmentSummary (Azure.Core.ResourceIdentifier policyAssignmentId = default, Azure.Core.ResourceIdentifier policySetDefinitionId = default, Azure.ResourceManager.PolicyInsights.Models.PolicySummaryResults results = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.PolicyInsights.Models.PolicyDefinitionSummary> policyDefinitions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.PolicyInsights.Models.PolicyGroupSummary> policyGroups = default);
static member PolicyAssignmentSummary : Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.ResourceManager.PolicyInsights.Models.PolicySummaryResults * seq<Azure.ResourceManager.PolicyInsights.Models.PolicyDefinitionSummary> * seq<Azure.ResourceManager.PolicyInsights.Models.PolicyGroupSummary> -> Azure.ResourceManager.PolicyInsights.Models.PolicyAssignmentSummary
Public Shared Function PolicyAssignmentSummary (Optional policyAssignmentId As ResourceIdentifier = Nothing, Optional policySetDefinitionId As ResourceIdentifier = Nothing, Optional results As PolicySummaryResults = Nothing, Optional policyDefinitions As IEnumerable(Of PolicyDefinitionSummary) = Nothing, Optional policyGroups As IEnumerable(Of PolicyGroupSummary) = Nothing) As PolicyAssignmentSummary
Parameters
- policyAssignmentId
- ResourceIdentifier
Policy assignment ID.
- policySetDefinitionId
- ResourceIdentifier
Policy set definition ID, if the policy assignment is for a policy set.
- results
- PolicySummaryResults
Compliance summary for the policy assignment.
- policyDefinitions
- IEnumerable<PolicyDefinitionSummary>
Policy definitions summary.
- policyGroups
- IEnumerable<PolicyGroupSummary>
Policy definition group summary.
Returns
A new PolicyAssignmentSummary instance for mocking.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET