Compartilhar via


ArmPolicyInsightsModelFactory.PolicyEvaluationResult Método

Definição

Inicializa uma nova instância de PolicyEvaluationResult.

public static Azure.ResourceManager.PolicyInsights.Models.PolicyEvaluationResult PolicyEvaluationResult (Azure.ResourceManager.PolicyInsights.Models.PolicyReference policyInfo = default, string evaluationResult = default, Azure.ResourceManager.PolicyInsights.Models.PolicyEvaluationDetails evaluationDetails = default);
static member PolicyEvaluationResult : Azure.ResourceManager.PolicyInsights.Models.PolicyReference * string * Azure.ResourceManager.PolicyInsights.Models.PolicyEvaluationDetails -> Azure.ResourceManager.PolicyInsights.Models.PolicyEvaluationResult
Public Shared Function PolicyEvaluationResult (Optional policyInfo As PolicyReference = Nothing, Optional evaluationResult As String = Nothing, Optional evaluationDetails As PolicyEvaluationDetails = Nothing) As PolicyEvaluationResult

Parâmetros

policyInfo
PolicyReference

Os detalhes da política que foi avaliada.

evaluationResult
String

O resultado da avaliação da política em relação ao recurso. Normalmente, isso será "NonCompliant", mas poderá conter outros valores se erros forem encontrados.

evaluationDetails
PolicyEvaluationDetails

Os resultados detalhados das expressões de política e dos valores que foram avaliados.

Retornos

Uma nova PolicyEvaluationResult instância para zombar.

Aplica-se a