Class DeploymentSettings

java.lang.Object
com.azure.resourcemanager.appplatform.models.DeploymentSettings

public final class DeploymentSettings extends Object
Deployment settings payload.
  • Constructor Details

    • DeploymentSettings

      public DeploymentSettings()
  • Method Details

    • resourceRequests

      public ResourceRequests resourceRequests()
      Get the resourceRequests property: The requested resource quantity for required CPU and Memory. It is recommended that using this field to represent the required CPU and Memory, the old field cpu and memoryInGB will be deprecated later.
      Returns:
      the resourceRequests value.
    • withResourceRequests

      public DeploymentSettings withResourceRequests(ResourceRequests resourceRequests)
      Set the resourceRequests property: The requested resource quantity for required CPU and Memory. It is recommended that using this field to represent the required CPU and Memory, the old field cpu and memoryInGB will be deprecated later.
      Parameters:
      resourceRequests - the resourceRequests value to set.
      Returns:
      the DeploymentSettings object itself.
    • environmentVariables

      public Map<String,String> environmentVariables()
      Get the environmentVariables property: Collection of environment variables.
      Returns:
      the environmentVariables value.
    • withEnvironmentVariables

      public DeploymentSettings withEnvironmentVariables(Map<String,String> environmentVariables)
      Set the environmentVariables property: Collection of environment variables.
      Parameters:
      environmentVariables - the environmentVariables value to set.
      Returns:
      the DeploymentSettings object itself.
    • addonConfigs

      public Map<String,Map<String,Object>> addonConfigs()
      Get the addonConfigs property: Collection of addons.
      Returns:
      the addonConfigs value.
    • withAddonConfigs

      public DeploymentSettings withAddonConfigs(Map<String,Map<String,Object>> addonConfigs)
      Set the addonConfigs property: Collection of addons.
      Parameters:
      addonConfigs - the addonConfigs value to set.
      Returns:
      the DeploymentSettings object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.