ArmDevTestLabsModelFactory.DevTestLabPolicyViolation(String, String) Method

Definition

Initializes a new instance of 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

Parameters

code
String

The code of the policy violation.

message
String

The message of the policy violation.

Returns

A new DevTestLabPolicyViolation instance for mocking.

Applies to