Compartir a través de


ArmPolicyInsightsModelFactory.PolicyAssignmentSummary Método

Definición

Inicializa una nueva instancia 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

Identificador de asignación de directiva.

policySetDefinitionId
ResourceIdentifier

Identificador de definición del conjunto de directivas, si la asignación de directiva es para un conjunto de directivas.

results
PolicySummaryResults

Resumen de cumplimiento de la asignación de directivas.

policyDefinitions
IEnumerable<PolicyDefinitionSummary>

Resumen de definiciones de directiva.

policyGroups
IEnumerable<PolicyGroupSummary>

Resumen del grupo de definición de directiva.

Devoluciones

PolicyAssignmentSummary Nueva instancia de para simular.

Se aplica a