src.index.inputs.GetGtmDomainDatacenterArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.inputs
final case class GetGtmDomainDatacenterArgs private(
city: besom.types.Output[String],
cloneOf: besom.types.Output[Int],
cloudServerHostHeaderOverride: besom.types.Output[Boolean],
cloudServerTargeting: besom.types.Output[Boolean],
continent: besom.types.Output[String],
country: besom.types.Output[String],
datacenterId: besom.types.Output[Int],
defaultLoadObjects: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.GetGtmDomainDatacenterDefaultLoadObjectArgs]]],
latitude: besom.types.Output[Double],
links: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.GetGtmDomainDatacenterLinkArgs]]],
longitude: besom.types.Output[Double],
nickname: besom.types.Output[String],
scorePenalty: besom.types.Output[Int],
serverMonitorPool: besom.types.Output[String],
stateOrProvince: besom.types.Output[String],
virtual: besom.types.Output[Boolean]
)
object GetGtmDomainDatacenterArgs:
def apply(
city: besom.types.Input[String],
cloneOf: besom.types.Input[Int],
cloudServerHostHeaderOverride: besom.types.Input[Boolean],
cloudServerTargeting: besom.types.Input[Boolean],
continent: besom.types.Input[String],
country: besom.types.Input[String],
datacenterId: besom.types.Input[Int],
defaultLoadObjects: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GetGtmDomainDatacenterDefaultLoadObjectArgs]]] = scala.None,
latitude: besom.types.Input[Double],
links: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GetGtmDomainDatacenterLinkArgs]]] = scala.None,
longitude: besom.types.Input[Double],
nickname: besom.types.Input[String],
scorePenalty: besom.types.Input[Int],
serverMonitorPool: besom.types.Input[String],
stateOrProvince: besom.types.Input[String],
virtual: besom.types.Input[Boolean]
)(using besom.types.Context): GetGtmDomainDatacenterArgs =
new GetGtmDomainDatacenterArgs(
city = city.asOutput(isSecret = false),
cloneOf = cloneOf.asOutput(isSecret = false),
cloudServerHostHeaderOverride = cloudServerHostHeaderOverride.asOutput(isSecret = false),
cloudServerTargeting = cloudServerTargeting.asOutput(isSecret = false),
continent = continent.asOutput(isSecret = false),
country = country.asOutput(isSecret = false),
datacenterId = datacenterId.asOutput(isSecret = false),
defaultLoadObjects = defaultLoadObjects.asOptionOutput(isSecret = false),
latitude = latitude.asOutput(isSecret = false),
links = links.asOptionOutput(isSecret = false),
longitude = longitude.asOutput(isSecret = false),
nickname = nickname.asOutput(isSecret = false),
scorePenalty = scorePenalty.asOutput(isSecret = false),
serverMonitorPool = serverMonitorPool.asOutput(isSecret = false),
stateOrProvince = stateOrProvince.asOutput(isSecret = false),
virtual = virtual.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GetGtmDomainDatacenterArgs] =
besom.internal.Encoder.derived[GetGtmDomainDatacenterArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetGtmDomainDatacenterArgs] =
besom.internal.ArgsEncoder.derived[GetGtmDomainDatacenterArgs]