Class ConfigurationServiceProperties

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

public final class ConfigurationServiceProperties extends Object implements com.azure.json.JsonSerializable<ConfigurationServiceProperties>
Application Configuration Service properties payload.
  • Constructor Details

    • ConfigurationServiceProperties

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

    • provisioningState

      public ConfigurationServiceProvisioningState provisioningState()
      Get the provisioningState property: State of the Application Configuration Service.
      Returns:
      the provisioningState value.
    • generation

      public ConfigurationServiceGeneration generation()
      Get the generation property: The generation of the Application Configuration Service.
      Returns:
      the generation value.
    • withGeneration

      Set the generation property: The generation of the Application Configuration Service.
      Parameters:
      generation - the generation value to set.
      Returns:
      the ConfigurationServiceProperties object itself.
    • resourceRequests

      public ConfigurationServiceResourceRequests resourceRequests()
      Get the resourceRequests property: The requested resource quantity for required CPU and Memory.
      Returns:
      the resourceRequests value.
    • instances

      public List<ConfigurationServiceInstance> instances()
      Get the instances property: Collection of instances belong to Application Configuration Service.
      Returns:
      the instances value.
    • settings

      public ConfigurationServiceSettings settings()
      Get the settings property: The settings of Application Configuration Service.
      Returns:
      the settings value.
    • withSettings

      Set the settings property: The settings of Application Configuration Service.
      Parameters:
      settings - the settings value to set.
      Returns:
      the ConfigurationServiceProperties 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<ConfigurationServiceProperties>
      Throws:
      IOException
    • fromJson

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