com.pulumi.gcp.networkservices.kotlin.outputs.TcpRouteRuleMatch.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.networkservices.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property address Must be specified in the CIDR range format. A CIDR range consists of an IP Address and a prefix length to construct the subnet mask.
* By default, the prefix length is 32 (i.e. matches a single IP address). Only IPV4 addresses are supported. Examples: "10.0.0.1" - matches against this exact IP address. "10.0.0.0/8" - matches against any IP address within the 10.0.0.0 subnet and 255.255.255.0 mask. "0.0.0.0/0" - matches against any IP address'.
* @property port Specifies the destination port to match against.
*/
public data class TcpRouteRuleMatch(
public val address: String,
public val port: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.networkservices.outputs.TcpRouteRuleMatch): TcpRouteRuleMatch = TcpRouteRuleMatch(
address = javaType.address(),
port = javaType.port(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy