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

com.pulumi.cloudflare.kotlin.outputs.ZoneSettingsOverrideSettings.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.outputs

import kotlin.Deprecated
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property alwaysOnline
 * @property alwaysUseHttps
 * @property automaticHttpsRewrites
 * @property binaryAst
 * @property brotli
 * @property browserCacheTtl
 * @property browserCheck
 * @property cacheLevel
 * @property challengeTtl
 * @property ciphers
 * @property cnameFlattening
 * @property developmentMode
 * @property earlyHints
 * @property emailObfuscation
 * @property filterLogsToCloudflare
 * @property fonts
 * @property h2Prioritization
 * @property hotlinkProtection
 * @property http2
 * @property http3
 * @property imageResizing
 * @property ipGeolocation
 * @property ipv6
 * @property logToCloudflare
 * @property maxUpload
 * @property minTlsVersion
 * @property minify
 * @property mirage
 * @property mobileRedirect
 * @property nel
 * @property opportunisticEncryption
 * @property opportunisticOnion
 * @property orangeToOrange
 * @property originErrorPagePassThru
 * @property originMaxHttpVersion
 * @property polish
 * @property prefetchPreload
 * @property privacyPass
 * @property proxyReadTimeout
 * @property pseudoIpv4
 * @property replaceInsecureJs
 * @property responseBuffering
 * @property rocketLoader
 * @property securityHeader
 * @property securityLevel
 * @property serverSideExclude
 * @property sortQueryStringForCache
 * @property speedBrain
 * @property ssl
 * @property tls12Only
 * @property tls13
 * @property tlsClientAuth
 * @property trueClientIpHeader
 * @property universalSsl
 * @property visitorIp
 * @property waf
 * @property webp
 * @property websockets
 * @property zeroRtt
 */
public data class ZoneSettingsOverrideSettings(
    public val alwaysOnline: String? = null,
    public val alwaysUseHttps: String? = null,
    public val automaticHttpsRewrites: String? = null,
    public val binaryAst: String? = null,
    public val brotli: String? = null,
    public val browserCacheTtl: Int? = null,
    public val browserCheck: String? = null,
    public val cacheLevel: String? = null,
    public val challengeTtl: Int? = null,
    public val ciphers: List? = null,
    public val cnameFlattening: String? = null,
    public val developmentMode: String? = null,
    public val earlyHints: String? = null,
    public val emailObfuscation: String? = null,
    public val filterLogsToCloudflare: String? = null,
    public val fonts: String? = null,
    public val h2Prioritization: String? = null,
    public val hotlinkProtection: String? = null,
    public val http2: String? = null,
    public val http3: String? = null,
    public val imageResizing: String? = null,
    public val ipGeolocation: String? = null,
    public val ipv6: String? = null,
    public val logToCloudflare: String? = null,
    public val maxUpload: Int? = null,
    public val minTlsVersion: String? = null,
    public val minify: ZoneSettingsOverrideSettingsMinify? = null,
    public val mirage: String? = null,
    @Deprecated(
        message = """
  Mobile redirects has been deprecated and disabled in favour of [Single
      Redirects](https://developers.cloudflare.com/rules/url-forwarding/single-redirects/) and are
      no longer configurable using the API. Refer to [Perform mobile
      redirects](https://developers.cloudflare.com/rules/url-forwarding/single-redirects/examples/#perform-mobile-redirects)
      for examples of performing mobile redirects with Single Redirects.
  """,
    )
    public val mobileRedirect: ZoneSettingsOverrideSettingsMobileRedirect? = null,
    public val nel: ZoneSettingsOverrideSettingsNel? = null,
    public val opportunisticEncryption: String? = null,
    public val opportunisticOnion: String? = null,
    public val orangeToOrange: String? = null,
    public val originErrorPagePassThru: String? = null,
    public val originMaxHttpVersion: String? = null,
    public val polish: String? = null,
    public val prefetchPreload: String? = null,
    public val privacyPass: String? = null,
    public val proxyReadTimeout: String? = null,
    public val pseudoIpv4: String? = null,
    public val replaceInsecureJs: String? = null,
    public val responseBuffering: String? = null,
    public val rocketLoader: String? = null,
    public val securityHeader: ZoneSettingsOverrideSettingsSecurityHeader? = null,
    public val securityLevel: String? = null,
    public val serverSideExclude: String? = null,
    public val sortQueryStringForCache: String? = null,
    public val speedBrain: String? = null,
    public val ssl: String? = null,
    @Deprecated(
        message = """
  tls_1_2_only has been deprecated in favour of using `min_tls_version = "1.2"` instead.
  """,
    )
    public val tls12Only: String? = null,
    public val tls13: String? = null,
    public val tlsClientAuth: String? = null,
    public val trueClientIpHeader: String? = null,
    public val universalSsl: String? = null,
    public val visitorIp: String? = null,
    public val waf: String? = null,
    public val webp: String? = null,
    public val websockets: String? = null,
    public val zeroRtt: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.ZoneSettingsOverrideSettings): ZoneSettingsOverrideSettings = ZoneSettingsOverrideSettings(
            alwaysOnline = javaType.alwaysOnline().map({ args0 -> args0 }).orElse(null),
            alwaysUseHttps = javaType.alwaysUseHttps().map({ args0 -> args0 }).orElse(null),
            automaticHttpsRewrites = javaType.automaticHttpsRewrites().map({ args0 -> args0 }).orElse(null),
            binaryAst = javaType.binaryAst().map({ args0 -> args0 }).orElse(null),
            brotli = javaType.brotli().map({ args0 -> args0 }).orElse(null),
            browserCacheTtl = javaType.browserCacheTtl().map({ args0 -> args0 }).orElse(null),
            browserCheck = javaType.browserCheck().map({ args0 -> args0 }).orElse(null),
            cacheLevel = javaType.cacheLevel().map({ args0 -> args0 }).orElse(null),
            challengeTtl = javaType.challengeTtl().map({ args0 -> args0 }).orElse(null),
            ciphers = javaType.ciphers().map({ args0 -> args0 }),
            cnameFlattening = javaType.cnameFlattening().map({ args0 -> args0 }).orElse(null),
            developmentMode = javaType.developmentMode().map({ args0 -> args0 }).orElse(null),
            earlyHints = javaType.earlyHints().map({ args0 -> args0 }).orElse(null),
            emailObfuscation = javaType.emailObfuscation().map({ args0 -> args0 }).orElse(null),
            filterLogsToCloudflare = javaType.filterLogsToCloudflare().map({ args0 -> args0 }).orElse(null),
            fonts = javaType.fonts().map({ args0 -> args0 }).orElse(null),
            h2Prioritization = javaType.h2Prioritization().map({ args0 -> args0 }).orElse(null),
            hotlinkProtection = javaType.hotlinkProtection().map({ args0 -> args0 }).orElse(null),
            http2 = javaType.http2().map({ args0 -> args0 }).orElse(null),
            http3 = javaType.http3().map({ args0 -> args0 }).orElse(null),
            imageResizing = javaType.imageResizing().map({ args0 -> args0 }).orElse(null),
            ipGeolocation = javaType.ipGeolocation().map({ args0 -> args0 }).orElse(null),
            ipv6 = javaType.ipv6().map({ args0 -> args0 }).orElse(null),
            logToCloudflare = javaType.logToCloudflare().map({ args0 -> args0 }).orElse(null),
            maxUpload = javaType.maxUpload().map({ args0 -> args0 }).orElse(null),
            minTlsVersion = javaType.minTlsVersion().map({ args0 -> args0 }).orElse(null),
            minify = javaType.minify().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.ZoneSettingsOverrideSettingsMinify.Companion.toKotlin(args0)
                })
            }).orElse(null),
            mirage = javaType.mirage().map({ args0 -> args0 }).orElse(null),
            mobileRedirect = javaType.mobileRedirect().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.ZoneSettingsOverrideSettingsMobileRedirect.Companion.toKotlin(args0)
                })
            }).orElse(null),
            nel = javaType.nel().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.ZoneSettingsOverrideSettingsNel.Companion.toKotlin(args0)
                })
            }).orElse(null),
            opportunisticEncryption = javaType.opportunisticEncryption().map({ args0 -> args0 }).orElse(null),
            opportunisticOnion = javaType.opportunisticOnion().map({ args0 -> args0 }).orElse(null),
            orangeToOrange = javaType.orangeToOrange().map({ args0 -> args0 }).orElse(null),
            originErrorPagePassThru = javaType.originErrorPagePassThru().map({ args0 -> args0 }).orElse(null),
            originMaxHttpVersion = javaType.originMaxHttpVersion().map({ args0 -> args0 }).orElse(null),
            polish = javaType.polish().map({ args0 -> args0 }).orElse(null),
            prefetchPreload = javaType.prefetchPreload().map({ args0 -> args0 }).orElse(null),
            privacyPass = javaType.privacyPass().map({ args0 -> args0 }).orElse(null),
            proxyReadTimeout = javaType.proxyReadTimeout().map({ args0 -> args0 }).orElse(null),
            pseudoIpv4 = javaType.pseudoIpv4().map({ args0 -> args0 }).orElse(null),
            replaceInsecureJs = javaType.replaceInsecureJs().map({ args0 -> args0 }).orElse(null),
            responseBuffering = javaType.responseBuffering().map({ args0 -> args0 }).orElse(null),
            rocketLoader = javaType.rocketLoader().map({ args0 -> args0 }).orElse(null),
            securityHeader = javaType.securityHeader().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.ZoneSettingsOverrideSettingsSecurityHeader.Companion.toKotlin(args0)
                })
            }).orElse(null),
            securityLevel = javaType.securityLevel().map({ args0 -> args0 }).orElse(null),
            serverSideExclude = javaType.serverSideExclude().map({ args0 -> args0 }).orElse(null),
            sortQueryStringForCache = javaType.sortQueryStringForCache().map({ args0 -> args0 }).orElse(null),
            speedBrain = javaType.speedBrain().map({ args0 -> args0 }).orElse(null),
            ssl = javaType.ssl().map({ args0 -> args0 }).orElse(null),
            tls12Only = javaType.tls12Only().map({ args0 -> args0 }).orElse(null),
            tls13 = javaType.tls13().map({ args0 -> args0 }).orElse(null),
            tlsClientAuth = javaType.tlsClientAuth().map({ args0 -> args0 }).orElse(null),
            trueClientIpHeader = javaType.trueClientIpHeader().map({ args0 -> args0 }).orElse(null),
            universalSsl = javaType.universalSsl().map({ args0 -> args0 }).orElse(null),
            visitorIp = javaType.visitorIp().map({ args0 -> args0 }).orElse(null),
            waf = javaType.waf().map({ args0 -> args0 }).orElse(null),
            webp = javaType.webp().map({ args0 -> args0 }).orElse(null),
            websockets = javaType.websockets().map({ args0 -> args0 }).orElse(null),
            zeroRtt = javaType.zeroRtt().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy