Delen via


PolicyViolation Constructors

Definition

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