com.pulumi.cloudflare.kotlin.outputs.PageRuleActionsForwardingUrl.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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property statusCode The status code to use for the redirection.
* @property url The URL to which the page rule should forward.
*/
public data class PageRuleActionsForwardingUrl(
public val statusCode: Int,
public val url: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.PageRuleActionsForwardingUrl): PageRuleActionsForwardingUrl = PageRuleActionsForwardingUrl(
statusCode = javaType.statusCode(),
url = javaType.url(),
)
}
}