src.index.AppSecIpGeoArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai
final case class AppSecIpGeoArgs private(
asnNetworkLists: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
configId: besom.types.Output[Int],
exceptionIpNetworkLists: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
geoNetworkLists: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
ipNetworkLists: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
mode: besom.types.Output[String],
securityPolicyId: besom.types.Output[String],
ukraineGeoControlAction: besom.types.Output[scala.Option[String]]
)
object AppSecIpGeoArgs:
def apply(
asnNetworkLists: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
configId: besom.types.Input[Int],
exceptionIpNetworkLists: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
geoNetworkLists: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
ipNetworkLists: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
mode: besom.types.Input[String],
securityPolicyId: besom.types.Input[String],
ukraineGeoControlAction: besom.types.Input.Optional[String] = scala.None
)(using besom.types.Context): AppSecIpGeoArgs =
new AppSecIpGeoArgs(
asnNetworkLists = asnNetworkLists.asOptionOutput(isSecret = false),
configId = configId.asOutput(isSecret = false),
exceptionIpNetworkLists = exceptionIpNetworkLists.asOptionOutput(isSecret = false),
geoNetworkLists = geoNetworkLists.asOptionOutput(isSecret = false),
ipNetworkLists = ipNetworkLists.asOptionOutput(isSecret = false),
mode = mode.asOutput(isSecret = false),
securityPolicyId = securityPolicyId.asOutput(isSecret = false),
ukraineGeoControlAction = ukraineGeoControlAction.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[AppSecIpGeoArgs] =
besom.internal.Encoder.derived[AppSecIpGeoArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[AppSecIpGeoArgs] =
besom.internal.ArgsEncoder.derived[AppSecIpGeoArgs]