com.pulumi.cloudflare.kotlin.outputs.RateLimitMatchRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property methods HTTP Methods to match traffic on. Available values: `GET`, `POST`, `PUT`, `DELETE`, `PATCH`, `HEAD`, `_ALL_`.
* @property schemes HTTP schemes to match traffic on. Available values: `HTTP`, `HTTPS`, `_ALL_`.
* @property urlPattern The URL pattern to match comprised of the host and path, i.e. example.org/path. Wildcard are expanded to match applicable traffic, query strings are not matched. Use _ for all traffic to your zone.
*/
public data class RateLimitMatchRequest(
public val methods: List? = null,
public val schemes: List? = null,
public val urlPattern: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.RateLimitMatchRequest): RateLimitMatchRequest = RateLimitMatchRequest(
methods = javaType.methods().map({ args0 -> args0 }),
schemes = javaType.schemes().map({ args0 -> args0 }),
urlPattern = javaType.urlPattern().map({ args0 -> args0 }).orElse(null),
)
}
}