126 строки
9.0 KiB
YAML
126 строки
9.0 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.compute.models.PolicyViolation"
|
|
fullName: "com.azure.resourcemanager.compute.models.PolicyViolation"
|
|
name: "PolicyViolation"
|
|
nameWithType: "PolicyViolation"
|
|
summary: "A policy violation reported against a gallery artifact."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **PolicyViolation**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.models.PolicyViolation?alt=com.azure.resourcemanager.compute.models.PolicyViolation&text=PolicyViolation\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.compute.models.PolicyViolation.PolicyViolation()"
|
|
fullName: "com.azure.resourcemanager.compute.models.PolicyViolation.PolicyViolation()"
|
|
name: "PolicyViolation()"
|
|
nameWithType: "PolicyViolation.PolicyViolation()"
|
|
summary: "Creates an instance of Policy<wbr>Violation class."
|
|
syntax: "public PolicyViolation()"
|
|
desc: "Creates an instance of PolicyViolation class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.compute.models.PolicyViolation.category()"
|
|
fullName: "com.azure.resourcemanager.compute.models.PolicyViolation.category()"
|
|
name: "category()"
|
|
nameWithType: "PolicyViolation.category()"
|
|
summary: "Get the category property: Describes the nature of the policy violation."
|
|
syntax: "public PolicyViolationCategory category()"
|
|
desc: "Get the category property: Describes the nature of the policy violation."
|
|
returns:
|
|
description: "the category value."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.PolicyViolationCategory?alt=com.azure.resourcemanager.compute.models.PolicyViolationCategory&text=PolicyViolationCategory\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.PolicyViolation.details()"
|
|
fullName: "com.azure.resourcemanager.compute.models.PolicyViolation.details()"
|
|
name: "details()"
|
|
nameWithType: "PolicyViolation.details()"
|
|
summary: "Get the details property: Describes specific details about why this policy violation was reported."
|
|
syntax: "public String details()"
|
|
desc: "Get the details property: Describes specific details about why this policy violation was reported."
|
|
returns:
|
|
description: "the details value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.compute.models.PolicyViolation.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.compute.models.PolicyViolation.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "PolicyViolation.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Policy<wbr>Violation from the Json<wbr>Reader."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "The JsonReader being read."
|
|
name: "jsonReader"
|
|
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static PolicyViolation fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the PolicyViolation."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of PolicyViolation from the JsonReader."
|
|
returns:
|
|
description: "An instance of PolicyViolation if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.PolicyViolation?alt=com.azure.resourcemanager.compute.models.PolicyViolation&text=PolicyViolation\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.PolicyViolation.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.compute.models.PolicyViolation.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "PolicyViolation.toJson(JsonWriter jsonWriter)"
|
|
parameters:
|
|
- name: "jsonWriter"
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.PolicyViolation.validate()"
|
|
fullName: "com.azure.resourcemanager.compute.models.PolicyViolation.validate()"
|
|
name: "validate()"
|
|
nameWithType: "PolicyViolation.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.compute.models.PolicyViolation.withCategory(com.azure.resourcemanager.compute.models.PolicyViolationCategory)"
|
|
fullName: "com.azure.resourcemanager.compute.models.PolicyViolation.withCategory(PolicyViolationCategory category)"
|
|
name: "withCategory(PolicyViolationCategory category)"
|
|
nameWithType: "PolicyViolation.withCategory(PolicyViolationCategory category)"
|
|
summary: "Set the category property: Describes the nature of the policy violation."
|
|
parameters:
|
|
- description: "the category value to set."
|
|
name: "category"
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.PolicyViolationCategory?alt=com.azure.resourcemanager.compute.models.PolicyViolationCategory&text=PolicyViolationCategory\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public PolicyViolation withCategory(PolicyViolationCategory category)"
|
|
desc: "Set the category property: Describes the nature of the policy violation."
|
|
returns:
|
|
description: "the PolicyViolation object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.PolicyViolation?alt=com.azure.resourcemanager.compute.models.PolicyViolation&text=PolicyViolation\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.compute.models.PolicyViolation.withDetails(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.compute.models.PolicyViolation.withDetails(String details)"
|
|
name: "withDetails(String details)"
|
|
nameWithType: "PolicyViolation.withDetails(String details)"
|
|
summary: "Set the details property: Describes specific details about why this policy violation was reported."
|
|
parameters:
|
|
- description: "the details value to set."
|
|
name: "details"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public PolicyViolation withDetails(String details)"
|
|
desc: "Set the details property: Describes specific details about why this policy violation was reported."
|
|
returns:
|
|
description: "the PolicyViolation object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.PolicyViolation?alt=com.azure.resourcemanager.compute.models.PolicyViolation&text=PolicyViolation\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "A policy violation reported against a gallery artifact."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.models.PolicyViolation?alt=com.azure.resourcemanager.compute.models.PolicyViolation&text=PolicyViolation\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.compute.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.44.0
|