src.index.GetGtmResourceArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class GetGtmResourceArgs private(
domain: besom.types.Output[String],
links: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.GetGtmResourceLinkArgs]]],
resourceInstances: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.GetGtmResourceResourceInstanceArgs]]],
resourceName: besom.types.Output[String]
)
object GetGtmResourceArgs:
def apply(
domain: besom.types.Input[String],
links: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GetGtmResourceLinkArgs]]] = scala.None,
resourceInstances: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GetGtmResourceResourceInstanceArgs]]] = scala.None,
resourceName: besom.types.Input[String]
)(using besom.types.Context): GetGtmResourceArgs =
new GetGtmResourceArgs(
domain = domain.asOutput(isSecret = false),
links = links.asOptionOutput(isSecret = false),
resourceInstances = resourceInstances.asOptionOutput(isSecret = false),
resourceName = resourceName.asOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GetGtmResourceArgs] =
besom.internal.Encoder.derived[GetGtmResourceArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GetGtmResourceArgs] =
besom.internal.ArgsEncoder.derived[GetGtmResourceArgs]