Class PolicyViolation
Policy violation.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.DevTestLabs.dll
Syntax
public class PolicyViolation
Constructors
PolicyViolation()
Initializes a new instance of the PolicyViolation class.
Declaration
public PolicyViolation ();
PolicyViolation(String, String)
Initializes a new instance of the PolicyViolation class.
Declaration
public PolicyViolation (string code = null, string message = null);
Parameters
|
String
code
The code of the policy violation. |
|
String
message
The message of the policy violation. |
Properties
Code
Gets or sets the code of the policy violation.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="code")]
public string Code { get; set; }
Property Value
|
String
|
Message
Gets or sets the message of the policy violation.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="message")]
public string Message { get; set; }
Property Value
|
String
|