src.index.inputs.GtmPropertyLivenessTestArgs.scala Maven / Gradle / Ivy
The newest version!
package besom.api.akamai.inputs
final case class GtmPropertyLivenessTestArgs private(
alternateCaCertificates: besom.types.Output[scala.Option[scala.collection.immutable.List[String]]],
answersRequired: besom.types.Output[scala.Option[Boolean]],
disableNonstandardPortWarning: besom.types.Output[scala.Option[Boolean]],
disabled: besom.types.Output[scala.Option[Boolean]],
errorPenalty: besom.types.Output[scala.Option[Double]],
httpError3xx: besom.types.Output[scala.Option[Boolean]],
httpError4xx: besom.types.Output[scala.Option[Boolean]],
httpError5xx: besom.types.Output[scala.Option[Boolean]],
httpHeaders: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.akamai.inputs.GtmPropertyLivenessTestHttpHeaderArgs]]],
httpMethod: besom.types.Output[scala.Option[String]],
httpRequestBody: besom.types.Output[scala.Option[String]],
name: besom.types.Output[String],
peerCertificateVerification: besom.types.Output[scala.Option[Boolean]],
pre2023SecurityPosture: besom.types.Output[scala.Option[Boolean]],
recursionRequested: besom.types.Output[scala.Option[Boolean]],
requestString: besom.types.Output[scala.Option[String]],
resourceType: besom.types.Output[scala.Option[String]],
responseString: besom.types.Output[scala.Option[String]],
sslClientCertificate: besom.types.Output[scala.Option[String]],
sslClientPrivateKey: besom.types.Output[scala.Option[String]],
testInterval: besom.types.Output[Int],
testObject: besom.types.Output[scala.Option[String]],
testObjectPassword: besom.types.Output[scala.Option[String]],
testObjectPort: besom.types.Output[scala.Option[Int]],
testObjectProtocol: besom.types.Output[String],
testObjectUsername: besom.types.Output[scala.Option[String]],
testTimeout: besom.types.Output[Double],
timeoutPenalty: besom.types.Output[scala.Option[Double]]
)
object GtmPropertyLivenessTestArgs:
def apply(
alternateCaCertificates: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[String]]] = scala.None,
answersRequired: besom.types.Input.Optional[Boolean] = scala.None,
disableNonstandardPortWarning: besom.types.Input.Optional[Boolean] = scala.None,
disabled: besom.types.Input.Optional[Boolean] = scala.None,
errorPenalty: besom.types.Input.Optional[Double] = scala.None,
httpError3xx: besom.types.Input.Optional[Boolean] = scala.None,
httpError4xx: besom.types.Input.Optional[Boolean] = scala.None,
httpError5xx: besom.types.Input.Optional[Boolean] = scala.None,
httpHeaders: besom.types.Input.Optional[scala.collection.immutable.List[besom.types.Input[besom.api.akamai.inputs.GtmPropertyLivenessTestHttpHeaderArgs]]] = scala.None,
httpMethod: besom.types.Input.Optional[String] = scala.None,
httpRequestBody: besom.types.Input.Optional[String] = scala.None,
name: besom.types.Input[String],
peerCertificateVerification: besom.types.Input.Optional[Boolean] = scala.None,
pre2023SecurityPosture: besom.types.Input.Optional[Boolean] = scala.None,
recursionRequested: besom.types.Input.Optional[Boolean] = scala.None,
requestString: besom.types.Input.Optional[String] = scala.None,
resourceType: besom.types.Input.Optional[String] = scala.None,
responseString: besom.types.Input.Optional[String] = scala.None,
sslClientCertificate: besom.types.Input.Optional[String] = scala.None,
sslClientPrivateKey: besom.types.Input.Optional[String] = scala.None,
testInterval: besom.types.Input[Int],
testObject: besom.types.Input.Optional[String] = scala.None,
testObjectPassword: besom.types.Input.Optional[String] = scala.None,
testObjectPort: besom.types.Input.Optional[Int] = scala.None,
testObjectProtocol: besom.types.Input[String],
testObjectUsername: besom.types.Input.Optional[String] = scala.None,
testTimeout: besom.types.Input[Double],
timeoutPenalty: besom.types.Input.Optional[Double] = scala.None
)(using besom.types.Context): GtmPropertyLivenessTestArgs =
new GtmPropertyLivenessTestArgs(
alternateCaCertificates = alternateCaCertificates.asOptionOutput(isSecret = false),
answersRequired = answersRequired.asOptionOutput(isSecret = false),
disableNonstandardPortWarning = disableNonstandardPortWarning.asOptionOutput(isSecret = false),
disabled = disabled.asOptionOutput(isSecret = false),
errorPenalty = errorPenalty.asOptionOutput(isSecret = false),
httpError3xx = httpError3xx.asOptionOutput(isSecret = false),
httpError4xx = httpError4xx.asOptionOutput(isSecret = false),
httpError5xx = httpError5xx.asOptionOutput(isSecret = false),
httpHeaders = httpHeaders.asOptionOutput(isSecret = false),
httpMethod = httpMethod.asOptionOutput(isSecret = false),
httpRequestBody = httpRequestBody.asOptionOutput(isSecret = false),
name = name.asOutput(isSecret = false),
peerCertificateVerification = peerCertificateVerification.asOptionOutput(isSecret = false),
pre2023SecurityPosture = pre2023SecurityPosture.asOptionOutput(isSecret = false),
recursionRequested = recursionRequested.asOptionOutput(isSecret = false),
requestString = requestString.asOptionOutput(isSecret = false),
resourceType = resourceType.asOptionOutput(isSecret = false),
responseString = responseString.asOptionOutput(isSecret = false),
sslClientCertificate = sslClientCertificate.asOptionOutput(isSecret = false),
sslClientPrivateKey = sslClientPrivateKey.asOptionOutput(isSecret = false),
testInterval = testInterval.asOutput(isSecret = false),
testObject = testObject.asOptionOutput(isSecret = false),
testObjectPassword = testObjectPassword.asOptionOutput(isSecret = false),
testObjectPort = testObjectPort.asOptionOutput(isSecret = false),
testObjectProtocol = testObjectProtocol.asOutput(isSecret = false),
testObjectUsername = testObjectUsername.asOptionOutput(isSecret = false),
testTimeout = testTimeout.asOutput(isSecret = false),
timeoutPenalty = timeoutPenalty.asOptionOutput(isSecret = false)
)
given encoder(using besom.types.Context): besom.types.Encoder[GtmPropertyLivenessTestArgs] =
besom.internal.Encoder.derived[GtmPropertyLivenessTestArgs]
given argsEncoder(using besom.types.Context): besom.types.ArgsEncoder[GtmPropertyLivenessTestArgs] =
besom.internal.ArgsEncoder.derived[GtmPropertyLivenessTestArgs]