Partager via


ArmDevTestLabsModelFactory.DevTestLabPolicyViolation(String, String) Méthode

Définition

Initialise une nouvelle instance de DevTestLabPolicyViolation.

public static Azure.ResourceManager.DevTestLabs.Models.DevTestLabPolicyViolation DevTestLabPolicyViolation (string code = default, string message = default);
static member DevTestLabPolicyViolation : string * string -> Azure.ResourceManager.DevTestLabs.Models.DevTestLabPolicyViolation
Public Shared Function DevTestLabPolicyViolation (Optional code As String = Nothing, Optional message As String = Nothing) As DevTestLabPolicyViolation

Paramètres

code
String

Code de la violation de stratégie.

message
String

Message de la violation de stratégie.

Retours

Une nouvelle DevTestLabPolicyViolation instance pour se moquer.

S’applique à