src.index.AppSecSlowPostArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class AppSecSlowPostArgs private(
configId: besom.types.Output[Int],
durationThresholdTimeout: besom.types.Output[scala.Option[Int]],
securityPolicyId: besom.types.Output[String],
slowRateAction: besom.types.Output[String],
slowRateThresholdPeriod: besom.types.Output[scala.Option[Int]],
slowRateThresholdRate: besom.types.Output[scala.Option[Int]]
)
object AppSecSlowPostArgs:
def apply(
configId: besom.types.Input[Int],
durationThresholdTimeout: besom.types.Input.Optional[Int] = scala.None,
securityPolicyId: besom.types.Input[String],
slowRateAction: besom.types.Input[String],
slowRateThresholdPeriod: besom.types.Input.Optional[Int] = scala.None,
slowRateThresholdRate: besom.types.Input.Optional[Int] = scala.None
)(using besom.types.Context): AppSecSlowPostArgs =
new AppSecSlowPostArgs(
configId = configId.asOutput(isSecret = false),
durationThresholdTimeout = durationThresholdTimeout.asOptionOutput(isSecret = false),
securityPolicyId = securityPolicyId.asOutput(isSecret = false),
slowRateAction = slowRateAction.asOutput(isSecret = false),
slowRateThresholdPeriod = slowRateThresholdPeriod.asOptionOutput(isSecret = false),
slowRateThresholdRate = slowRateThresholdRate.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[AppSecSlowPostArgs] =
besom.internal.Encoder.derived[AppSecSlowPostArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[AppSecSlowPostArgs] =
besom.internal.ArgsEncoder.derived[AppSecSlowPostArgs]