All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.index.EndpointConfiguration.scala Maven / Gradle / Ivy

There is a newer version: 0.0.24-core.0.3
Show newest version
package besom.api.ngrok

final case class EndpointConfiguration private(
  urn: besom.types.Output[besom.types.URN],
  id: besom.types.Output[besom.types.ResourceId],
  backends: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationBackend]]],
  basicAuths: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationBasicAuth]]],
  circuitBreakers: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationCircuitBreaker]]],
  compressions: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationCompression]]],
  description: besom.types.Output[scala.Option[String]],
  ipPolicies: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationIpPolicy]]],
  loggings: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationLogging]]],
  metadata: besom.types.Output[scala.Option[String]],
  mutualTls: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationMutualTl]]],
  oauths: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationOauth]]],
  oidcs: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationOidc]]],
  requestHeaders: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationRequestHeader]]],
  responseHeaders: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationResponseHeader]]],
  samls: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationSaml]]],
  tlsTerminations: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationTlsTermination]]],
  `type`: besom.types.Output[scala.Option[String]],
  webhookValidations: besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationWebhookValidation]]]
) extends besom.CustomResource

object EndpointConfiguration extends besom.ResourceCompanion[EndpointConfiguration]:
  def apply(using ctx: besom.types.Context)(
    name: besom.util.NonEmptyString,
    args: EndpointConfigurationArgs = EndpointConfigurationArgs(),
    opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
  ): besom.types.Output[EndpointConfiguration] =
    ctx.readOrRegisterResource[EndpointConfiguration, EndpointConfigurationArgs]("ngrok:index/endpointConfiguration:EndpointConfiguration", name, args, opts(using besom.ResourceOptsVariant.Custom))

  private[besom] def typeToken: besom.types.ResourceType = "ngrok:index/endpointConfiguration:EndpointConfiguration"

  given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[EndpointConfiguration] =
    besom.internal.ResourceDecoder.derived[EndpointConfiguration]

  given decoder(using besom.types.Context): besom.types.Decoder[EndpointConfiguration] =
    besom.internal.Decoder.customResourceDecoder[EndpointConfiguration]


  given outputOps: {} with
    extension(output: besom.types.Output[EndpointConfiguration])
      def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
      def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
      def backends : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationBackend]]] = output.flatMap(_.backends)
      def basicAuths : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationBasicAuth]]] = output.flatMap(_.basicAuths)
      def circuitBreakers : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationCircuitBreaker]]] = output.flatMap(_.circuitBreakers)
      def compressions : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationCompression]]] = output.flatMap(_.compressions)
      def description : besom.types.Output[scala.Option[String]] = output.flatMap(_.description)
      def ipPolicies : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationIpPolicy]]] = output.flatMap(_.ipPolicies)
      def loggings : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationLogging]]] = output.flatMap(_.loggings)
      def metadata : besom.types.Output[scala.Option[String]] = output.flatMap(_.metadata)
      def mutualTls : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationMutualTl]]] = output.flatMap(_.mutualTls)
      def oauths : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationOauth]]] = output.flatMap(_.oauths)
      def oidcs : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationOidc]]] = output.flatMap(_.oidcs)
      def requestHeaders : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationRequestHeader]]] = output.flatMap(_.requestHeaders)
      def responseHeaders : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationResponseHeader]]] = output.flatMap(_.responseHeaders)
      def samls : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationSaml]]] = output.flatMap(_.samls)
      def tlsTerminations : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationTlsTermination]]] = output.flatMap(_.tlsTerminations)
      def `type` : besom.types.Output[scala.Option[String]] = output.flatMap(_.`type`)
      def webhookValidations : besom.types.Output[scala.Option[scala.collection.immutable.List[besom.api.ngrok.outputs.EndpointConfigurationWebhookValidation]]] = output.flatMap(_.webhookValidations)





© 2015 - 2024 Weber Informatics LLC | Privacy Policy