Class ServiceStatuses

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

public final class ServiceStatuses extends Object implements com.azure.json.JsonSerializable<ServiceStatuses>
Reports the state and behavior of dependent services.
  • Constructor Details

    • ServiceStatuses

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

    • extensionService

      public ServiceStatus extensionService()
      Get the extensionService property: The state of the extension service on the Arc-enabled machine.
      Returns:
      the extensionService value.
    • withExtensionService

      public ServiceStatuses withExtensionService(ServiceStatus extensionService)
      Set the extensionService property: The state of the extension service on the Arc-enabled machine.
      Parameters:
      extensionService - the extensionService value to set.
      Returns:
      the ServiceStatuses object itself.
    • guestConfigurationService

      public ServiceStatus guestConfigurationService()
      Get the guestConfigurationService property: The state of the guest configuration service on the Arc-enabled machine.
      Returns:
      the guestConfigurationService value.
    • withGuestConfigurationService

      public ServiceStatuses withGuestConfigurationService(ServiceStatus guestConfigurationService)
      Set the guestConfigurationService property: The state of the guest configuration service on the Arc-enabled machine.
      Parameters:
      guestConfigurationService - the guestConfigurationService value to set.
      Returns:
      the ServiceStatuses object itself.
    • 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<ServiceStatuses>
      Throws:
      IOException
    • fromJson

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