Class FunctionAppConfig

java.lang.Object
com.azure.resourcemanager.appservice.models.FunctionAppConfig

public final class FunctionAppConfig extends Object
Function app configuration.
  • Constructor Details

    • FunctionAppConfig

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

    • deployment

      public FunctionsDeployment deployment()
      Get the deployment property: Function app deployment configuration.
      Returns:
      the deployment value.
    • withDeployment

      public FunctionAppConfig withDeployment(FunctionsDeployment deployment)
      Set the deployment property: Function app deployment configuration.
      Parameters:
      deployment - the deployment value to set.
      Returns:
      the FunctionAppConfig object itself.
    • runtime

      public FunctionsRuntime runtime()
      Get the runtime property: Function app runtime settings.
      Returns:
      the runtime value.
    • withRuntime

      public FunctionAppConfig withRuntime(FunctionsRuntime runtime)
      Set the runtime property: Function app runtime settings.
      Parameters:
      runtime - the runtime value to set.
      Returns:
      the FunctionAppConfig object itself.
    • scaleAndConcurrency

      public FunctionsScaleAndConcurrency scaleAndConcurrency()
      Get the scaleAndConcurrency property: Function app scale and concurrency settings.
      Returns:
      the scaleAndConcurrency value.
    • withScaleAndConcurrency

      public FunctionAppConfig withScaleAndConcurrency(FunctionsScaleAndConcurrency scaleAndConcurrency)
      Set the scaleAndConcurrency property: Function app scale and concurrency settings.
      Parameters:
      scaleAndConcurrency - the scaleAndConcurrency value to set.
      Returns:
      the FunctionAppConfig object itself.
    • validate

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