src.index.inputs.GetGtmResourcesResourceResourceInstanceArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.inputs
final case class GetGtmResourcesResourceResourceInstanceArgs private(
datacenterId: besom.types.Output[Int],
loadObject: besom.types.Output[String],
loadObjectPort: besom.types.Output[Int],
loadServers: besom.types.Output[scala.collection.immutable.List[String]],
useDefaultLoadObject: besom.types.Output[Boolean]
)
object GetGtmResourcesResourceResourceInstanceArgs:
def apply(
datacenterId: besom.types.Input[Int],
loadObject: besom.types.Input[String],
loadObjectPort: besom.types.Input[Int],
loadServers: besom.types.Input[scala.collection.immutable.List[besom.types.Input[String]]],
useDefaultLoadObject: besom.types.Input[Boolean]
)(using besom.types.Context): GetGtmResourcesResourceResourceInstanceArgs =
new GetGtmResourcesResourceResourceInstanceArgs(
datacenterId = datacenterId.asOutput(isSecret = false),
loadObject = loadObject.asOutput(isSecret = false),
loadObjectPort = loadObjectPort.asOutput(isSecret = false),
loadServers = loadServers.asOutput(isSecret = false),
useDefaultLoadObject = useDefaultLoadObject.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GetGtmResourcesResourceResourceInstanceArgs] =
besom.internal.Encoder.derived[GetGtmResourcesResourceResourceInstanceArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetGtmResourcesResourceResourceInstanceArgs] =
besom.internal.ArgsEncoder.derived[GetGtmResourcesResourceResourceInstanceArgs]