Compartilhar via


ArmPolicyInsightsModelFactory.PolicyAssignmentSummary Método

Definição

Inicializa uma nova instância de 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

Parâmetros

policyAssignmentId
ResourceIdentifier

ID da atribuição de política.

policySetDefinitionId
ResourceIdentifier

ID de definição do conjunto de políticas, se a atribuição de política for para um conjunto de políticas.

results
PolicySummaryResults

Resumo de conformidade para a atribuição de política.

policyDefinitions
IEnumerable<PolicyDefinitionSummary>

Resumo das definições de política.

policyGroups
IEnumerable<PolicyGroupSummary>

Resumo do grupo de definição de política.

Retornos

Uma nova PolicyAssignmentSummary instância para simulação.

Aplica-se a