PolicyViolation Constructors
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.
Overloads
PolicyViolation() |
Initializes a new instance of the PolicyViolation class. |
PolicyViolation(String, String) |
Initializes a new instance of the PolicyViolation class. |
PolicyViolation()
Initializes a new instance of the PolicyViolation class.
public PolicyViolation ();
Public Sub New ()
Applies to
PolicyViolation(String, String)
Initializes a new instance of the PolicyViolation class.
public PolicyViolation (string category = default, string details = default);
new Microsoft.Azure.Management.Compute.Models.PolicyViolation : string * string -> Microsoft.Azure.Management.Compute.Models.PolicyViolation
Public Sub New (Optional category As String = Nothing, Optional details As String = Nothing)
Parameters
- category
- String
Describes the nature of the policy violation. Possible values include: 'Other', 'ImageFlaggedUnsafe', 'CopyrightValidation', 'IpTheft'
- details
- String
Describes specific details about why this policy violation was reported.
Applies to
Azure SDK for .NET