Class OrchestrationServiceSummary

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

public final class OrchestrationServiceSummary extends Object implements com.azure.json.JsonSerializable<OrchestrationServiceSummary>
Summary for an orchestration service of a virtual machine scale set.
  • Constructor Details

    • OrchestrationServiceSummary

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

    • serviceName

      public OrchestrationServiceNames serviceName()
      Get the serviceName property: The name of the service.
      Returns:
      the serviceName value.
    • serviceState

      public OrchestrationServiceState serviceState()
      Get the serviceState property: The current state of the service.
      Returns:
      the serviceState 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<OrchestrationServiceSummary>
      Throws:
      IOException
    • fromJson

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