PolicyViolationCategory Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. PolicyViolationCategory
- com.
- com.
public final class PolicyViolationCategory
extends ExpandableStringEnum<PolicyViolationCategory>
Describes the nature of the policy violation.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Policy |
COPYRIGHT_VALIDATION
Static value Copyright |
static final
Policy |
IMAGE_FLAGGED_UNSAFE
Static value Image |
static final
Policy |
IP_THEFT
Static value Ip |
static final
Policy |
OTHER
Static value Other for Policy |
Constructor Summary
Constructor | Description |
---|---|
PolicyViolationCategory() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Policy |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Policy |
fromString(String name)
Creates or finds a Policy |
static
Collection<Policy |
values()
Gets known Policy |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
COPYRIGHT_VALIDATION
public static final PolicyViolationCategory COPYRIGHT_VALIDATION
Static value CopyrightValidation for PolicyViolationCategory.
IMAGE_FLAGGED_UNSAFE
public static final PolicyViolationCategory IMAGE_FLAGGED_UNSAFE
Static value ImageFlaggedUnsafe for PolicyViolationCategory.
IP_THEFT
public static final PolicyViolationCategory IP_THEFT
Static value IpTheft for PolicyViolationCategory.
OTHER
public static final PolicyViolationCategory OTHER
Static value Other for PolicyViolationCategory.
Constructor Details
PolicyViolationCategory
@Deprecated
public PolicyViolationCategory()
Deprecated
Creates a new instance of PolicyViolationCategory value.
Method Details
fromString
public static PolicyViolationCategory fromString(String name)
Creates or finds a PolicyViolationCategory from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known PolicyViolationCategory values.
Returns:
Applies to
Azure SDK for Java