src.index.CloudletsApplicationLoadBalancerArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class CloudletsApplicationLoadBalancerArgs private(
balancingType: besom.types.Output[scala.Option[String]],
dataCenters: besom.types.Output[scala.collection.immutable.List[besom.api.akamai.inputs.CloudletsApplicationLoadBalancerDataCenterArgs]],
description: besom.types.Output[scala.Option[String]],
livenessSettings: besom.types.Output[scala.Option[besom.api.akamai.inputs.CloudletsApplicationLoadBalancerLivenessSettingsArgs]],
originDescription: besom.types.Output[scala.Option[String]],
originId: besom.types.Output[String]
)
object CloudletsApplicationLoadBalancerArgs:
def apply(
balancingType: besom.types.Input.Optional[String] = scala.None,
dataCenters: besom.types.Input[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.CloudletsApplicationLoadBalancerDataCenterArgs]]],
description: besom.types.Input.Optional[String] = scala.None,
livenessSettings: besom.types.Input.Optional[besom.api.akamai.inputs.CloudletsApplicationLoadBalancerLivenessSettingsArgs] = scala.None,
originDescription: besom.types.Input.Optional[String] = scala.None,
originId: besom.types.Input[String]
)(using besom.types.Context): CloudletsApplicationLoadBalancerArgs =
new CloudletsApplicationLoadBalancerArgs(
balancingType = balancingType.asOptionOutput(isSecret = false),
dataCenters = dataCenters.asOutput(isSecret = false),
description = description.asOptionOutput(isSecret = false),
livenessSettings = livenessSettings.asOptionOutput(isSecret = false),
originDescription = originDescription.asOptionOutput(isSecret = false),
originId = originId.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[CloudletsApplicationLoadBalancerArgs] =
besom.internal.Encoder.derived[CloudletsApplicationLoadBalancerArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[CloudletsApplicationLoadBalancerArgs] =
besom.internal.ArgsEncoder.derived[CloudletsApplicationLoadBalancerArgs]