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 Details

    • ProvisioningIssue

      public ProvisioningIssue()
      Creates an instance of ProvisioningIssue class.
  • Method Details

    • name

      public String name()
      Get the name property: Name of the provisioning issue.
      Returns:
      the name value.
    • issueType

      public ProvisioningIssueType issueType()
      Get the issueType property: Issue type.
      Returns:
      the issueType value.
    • severity

      public ProvisioningIssueSeverity severity()
      Get the severity property: Severity of the provisioning issue.
      Returns:
      the severity value.
    • description

      public String description()
      Get the description property: Description of the provisioning issue.
      Returns:
      the description value.
    • suggestedResourceIds

      public List<String> 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

      public List<AccessRule> 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ProvisioningIssue>
      Throws:
      IOException
    • fromJson

      public static ProvisioningIssue fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.