src.index.inputs.GetGtmDatacentersDatacenterArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.inputs
final case class GetGtmDatacentersDatacenterArgs 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.collection.immutable.List[besom.api.akamai.inputs.GetGtmDatacentersDatacenterDefaultLoadObjectArgs]],
latitude: besom.types.Output[Double],
links: besom.types.Output[scala.collection.immutable.List[besom.api.akamai.inputs.GetGtmDatacentersDatacenterLinkArgs]],
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 GetGtmDatacentersDatacenterArgs:
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[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GetGtmDatacentersDatacenterDefaultLoadObjectArgs]]],
latitude: besom.types.Input[Double],
links: besom.types.Input[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GetGtmDatacentersDatacenterLinkArgs]]],
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): GetGtmDatacentersDatacenterArgs =
new GetGtmDatacentersDatacenterArgs(
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.asOutput(isSecret = false),
latitude = latitude.asOutput(isSecret = false),
links = links.asOutput(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[GetGtmDatacentersDatacenterArgs] =
besom.internal.Encoder.derived[GetGtmDatacentersDatacenterArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetGtmDatacentersDatacenterArgs] =
besom.internal.ArgsEncoder.derived[GetGtmDatacentersDatacenterArgs]