Class ProvisioningIssue
java.lang.Object
com.azure.resourcemanager.hybridcompute.models.ProvisioningIssue
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ProvisioningIssue>
public final class ProvisioningIssue
extends Object
implements com.azure.json.JsonSerializable<ProvisioningIssue>
Details on issues that occurred during provisioning.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of the provisioning issue.static ProvisioningIssuefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ProvisioningIssue from the JsonReader.Get the issueType property: Issue type.name()Get the name property: Name of the provisioning issue.severity()Get the severity property: Severity of the provisioning issue.Get the suggestedAccessRules property: Access rules that can be added to the perimeter to remediate the issue.Get the suggestedResourceIds property: ARM Ids of the resources that can be associated to the same perimeter to remediate the issue.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ProvisioningIssue
public ProvisioningIssue()Creates an instance of ProvisioningIssue class.
-
-
Method Details
-
name
Get the name property: Name of the provisioning issue.- Returns:
- the name value.
-
issueType
Get the issueType property: Issue type.- Returns:
- the issueType value.
-
severity
Get the severity property: Severity of the provisioning issue.- Returns:
- the severity value.
-
description
Get the description property: Description of the provisioning issue.- Returns:
- the description value.
-
suggestedResourceIds
Get the suggestedResourceIds property: ARM Ids of the resources that can be associated to the same perimeter to remediate the issue.- Returns:
- the suggestedResourceIds value.
-
suggestedAccessRules
Get the suggestedAccessRules property: Access rules that can be added to the perimeter to remediate the issue.- Returns:
- the suggestedAccessRules value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ProvisioningIssue>- Throws:
IOException
-
fromJson
Reads an instance of ProvisioningIssue from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ProvisioningIssue if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ProvisioningIssue.
-