Partilhar via


ArmDevTestLabsModelFactory.DevTestLabPolicySetResult Método

Definição

Inicializa uma nova instância de DevTestLabPolicySetResult.

public static Azure.ResourceManager.DevTestLabs.Models.DevTestLabPolicySetResult DevTestLabPolicySetResult (bool? hasError = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabPolicyViolation> policyViolations = default);
static member DevTestLabPolicySetResult : Nullable<bool> * seq<Azure.ResourceManager.DevTestLabs.Models.DevTestLabPolicyViolation> -> Azure.ResourceManager.DevTestLabs.Models.DevTestLabPolicySetResult
Public Shared Function DevTestLabPolicySetResult (Optional hasError As Nullable(Of Boolean) = Nothing, Optional policyViolations As IEnumerable(Of DevTestLabPolicyViolation) = Nothing) As DevTestLabPolicySetResult

Parâmetros

hasError
Nullable<Boolean>

Um valor que indica se essa avaliação do conjunto de políticas descobriu violações.

policyViolations
IEnumerable<DevTestLabPolicyViolation>

A lista de violações de política.

Retornos

Uma nova DevTestLabPolicySetResult instância para zombar.

Aplica-se a