com.pulumi.gcp.compute.kotlin.outputs.RegionUrlMapHostRule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.compute.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property description An optional description of this HostRule. Provide this property
* when you create the resource.
* @property hosts The list of host patterns to match. They must be valid
* hostnames, except * will match any string of ([a-z0-9-.]*). In
* that case, * must be the first character and must be followed in
* the pattern by either - or ..
* @property pathMatcher The name of the PathMatcher to use to match the path portion of
* the URL if the hostRule matches the URL's host portion.
*/
public data class RegionUrlMapHostRule(
public val description: String? = null,
public val hosts: List,
public val pathMatcher: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.RegionUrlMapHostRule): RegionUrlMapHostRule = RegionUrlMapHostRule(
description = javaType.description().map({ args0 -> args0 }).orElse(null),
hosts = javaType.hosts().map({ args0 -> args0 }),
pathMatcher = javaType.pathMatcher(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy