Class RoleInstanceViewInner

java.lang.Object
com.azure.resourcemanager.compute.fluent.models.RoleInstanceViewInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<RoleInstanceViewInner>

public final class RoleInstanceViewInner extends Object implements com.azure.json.JsonSerializable<RoleInstanceViewInner>
The instance view of the role instance.
  • Constructor Details

    • RoleInstanceViewInner

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

    • platformUpdateDomain

      public Integer platformUpdateDomain()
      Get the platformUpdateDomain property: The Update Domain.
      Returns:
      the platformUpdateDomain value.
    • platformFaultDomain

      public Integer platformFaultDomain()
      Get the platformFaultDomain property: The Fault Domain.
      Returns:
      the platformFaultDomain value.
    • privateId

      public String privateId()
      Get the privateId property: Specifies a unique identifier generated internally for the cloud service associated with this role instance. <br /><br /> NOTE: If you are using Azure Diagnostics extension, this property can be used as 'DeploymentId' for querying details.
      Returns:
      the privateId value.
    • statuses

      public List<ResourceInstanceViewStatus> statuses()
      Get the statuses property: The statuses property.
      Returns:
      the statuses 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<RoleInstanceViewInner>
      Throws:
      IOException
    • fromJson

      public static RoleInstanceViewInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of RoleInstanceViewInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of RoleInstanceViewInner 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 RoleInstanceViewInner.