src.config.config.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.config
import besom.internal.CodegenProtocol.*
/**
*
* @returns the value of the `akamai:cacheEnabled` configuration property.
*/
def getCacheEnabled(using besom.types.Context): besom.types.Output[scala.Option[Boolean]] =
besom.internal.Codegen.config[Boolean]("akamai")(key = "cacheEnabled", isSecret = false, default = scala.None, environment = scala.collection.immutable.List())
/**
*
* @returns the value of the `akamai:config` configuration property.
*/
def getConfig(using besom.types.Context): besom.types.Output[scala.Option[besom.api.akamai.config.outputs.Config]] =
besom.internal.Codegen.config[besom.api.akamai.config.outputs.Config]("akamai")(key = "config", isSecret = false, default = scala.None, environment = scala.collection.immutable.List())
/**
* The section of the edgerc file to use for configuration
* @returns the value of the `akamai:configSection` configuration property.
*/
def getConfigSection(using besom.types.Context): besom.types.Output[scala.Option[String]] =
besom.internal.Codegen.config[String]("akamai")(key = "configSection", isSecret = false, default = scala.None, environment = scala.collection.immutable.List())
/**
*
* @returns the value of the `akamai:edgerc` configuration property.
*/
def getEdgerc(using besom.types.Context): besom.types.Output[scala.Option[String]] =
besom.internal.Codegen.config[String]("akamai")(key = "edgerc", isSecret = false, default = scala.None, environment = scala.collection.immutable.List())
/**
* The maximum number of API requests to be made per second (0 for no limit)
* @returns the value of the `akamai:requestLimit` configuration property.
*/
def getRequestLimit(using besom.types.Context): besom.types.Output[scala.Option[Int]] =
besom.internal.Codegen.config[Int]("akamai")(key = "requestLimit", isSecret = false, default = scala.None, environment = scala.collection.immutable.List())
/**
* Should the retries of API requests be disabled, default false
* @returns the value of the `akamai:retryDisabled` configuration property.
*/
def getRetryDisabled(using besom.types.Context): besom.types.Output[scala.Option[Boolean]] =
besom.internal.Codegen.config[Boolean]("akamai")(key = "retryDisabled", isSecret = false, default = scala.None, environment = scala.collection.immutable.List())
/**
* The maximum number retires of API requests, default 10
* @returns the value of the `akamai:retryMax` configuration property.
*/
def getRetryMax(using besom.types.Context): besom.types.Output[scala.Option[Int]] =
besom.internal.Codegen.config[Int]("akamai")(key = "retryMax", isSecret = false, default = scala.None, environment = scala.collection.immutable.List())
/**
* The maximum wait time in seconds between API requests retries, default is 30 sec
* @returns the value of the `akamai:retryWaitMax` configuration property.
*/
def getRetryWaitMax(using besom.types.Context): besom.types.Output[scala.Option[Int]] =
besom.internal.Codegen.config[Int]("akamai")(key = "retryWaitMax", isSecret = false, default = scala.None, environment = scala.collection.immutable.List())
/**
* The minimum wait time in seconds between API requests retries, default is 1 sec
* @returns the value of the `akamai:retryWaitMin` configuration property.
*/
def getRetryWaitMin(using besom.types.Context): besom.types.Output[scala.Option[Int]] =
besom.internal.Codegen.config[Int]("akamai")(key = "retryWaitMin", isSecret = false, default = scala.None, environment = scala.collection.immutable.List())