Class SessionPoolUpdatableProperties

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

public final class SessionPoolUpdatableProperties extends Object implements com.azure.json.JsonSerializable<SessionPoolUpdatableProperties>
Container App session pool updatable properties.
  • Constructor Details

    • SessionPoolUpdatableProperties

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

    • tags

      public Map<String,String> tags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • withTags

      Set the tags property: Resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the SessionPoolUpdatableProperties object itself.
    • identity

      public ManagedServiceIdentity identity()
      Get the identity property: Managed identities needed by a session pool to interact with other Azure services to not maintain any secrets or credentials in code.
      Returns:
      the identity value.
    • withIdentity

      Set the identity property: Managed identities needed by a session pool to interact with other Azure services to not maintain any secrets or credentials in code.
      Parameters:
      identity - the identity value to set.
      Returns:
      the SessionPoolUpdatableProperties object itself.
    • scaleConfiguration

      public ScaleConfiguration scaleConfiguration()
      Get the scaleConfiguration property: The scale configuration of the session pool.
      Returns:
      the scaleConfiguration value.
    • withScaleConfiguration

      public SessionPoolUpdatableProperties withScaleConfiguration(ScaleConfiguration scaleConfiguration)
      Set the scaleConfiguration property: The scale configuration of the session pool.
      Parameters:
      scaleConfiguration - the scaleConfiguration value to set.
      Returns:
      the SessionPoolUpdatableProperties object itself.
    • secrets

      public List<SessionPoolSecret> secrets()
      Get the secrets property: The secrets of the session pool.
      Returns:
      the secrets value.
    • withSecrets

      public SessionPoolUpdatableProperties withSecrets(List<SessionPoolSecret> secrets)
      Set the secrets property: The secrets of the session pool.
      Parameters:
      secrets - the secrets value to set.
      Returns:
      the SessionPoolUpdatableProperties object itself.
    • dynamicPoolConfiguration

      public DynamicPoolConfiguration dynamicPoolConfiguration()
      Get the dynamicPoolConfiguration property: The pool configuration if the poolManagementType is dynamic.
      Returns:
      the dynamicPoolConfiguration value.
    • withDynamicPoolConfiguration

      public SessionPoolUpdatableProperties withDynamicPoolConfiguration(DynamicPoolConfiguration dynamicPoolConfiguration)
      Set the dynamicPoolConfiguration property: The pool configuration if the poolManagementType is dynamic.
      Parameters:
      dynamicPoolConfiguration - the dynamicPoolConfiguration value to set.
      Returns:
      the SessionPoolUpdatableProperties object itself.
    • customContainerTemplate

      public CustomContainerTemplate customContainerTemplate()
      Get the customContainerTemplate property: The custom container configuration if the containerType is CustomContainer.
      Returns:
      the customContainerTemplate value.
    • withCustomContainerTemplate

      public SessionPoolUpdatableProperties withCustomContainerTemplate(CustomContainerTemplate customContainerTemplate)
      Set the customContainerTemplate property: The custom container configuration if the containerType is CustomContainer.
      Parameters:
      customContainerTemplate - the customContainerTemplate value to set.
      Returns:
      the SessionPoolUpdatableProperties object itself.
    • sessionNetworkConfiguration

      public SessionNetworkConfiguration sessionNetworkConfiguration()
      Get the sessionNetworkConfiguration property: The network configuration of the sessions in the session pool.
      Returns:
      the sessionNetworkConfiguration value.
    • withSessionNetworkConfiguration

      public SessionPoolUpdatableProperties withSessionNetworkConfiguration(SessionNetworkConfiguration sessionNetworkConfiguration)
      Set the sessionNetworkConfiguration property: The network configuration of the sessions in the session pool.
      Parameters:
      sessionNetworkConfiguration - the sessionNetworkConfiguration value to set.
      Returns:
      the SessionPoolUpdatableProperties 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<SessionPoolUpdatableProperties>
      Throws:
      IOException
    • fromJson

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