ArmDevTestLabsModelFactory.DevTestLabPolicyViolation(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET