Uses of Class
com.azure.resourcemanager.compute.models.PolicyViolation
Packages that use PolicyViolation
Package
Description
Package containing the data models for ComputeManagementClient.
-
Uses of PolicyViolation in com.azure.resourcemanager.compute.models
Methods in com.azure.resourcemanager.compute.models that return PolicyViolationModifier and TypeMethodDescriptionstatic PolicyViolationPolicyViolation.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PolicyViolation from the JsonReader.PolicyViolation.withCategory(PolicyViolationCategory category) Set the category property: Describes the nature of the policy violation.PolicyViolation.withDetails(String details) Set the details property: Describes specific details about why this policy violation was reported.Methods in com.azure.resourcemanager.compute.models that return types with arguments of type PolicyViolationModifier and TypeMethodDescriptionGalleryImageVersionSafetyProfile.policyViolations()Get the policyViolations property: A list of Policy Violations that have been reported for this Gallery Image Version.