com.pulumi.gcp.compute.kotlin.outputs.GetForwardingRuleResult.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getForwardingRule.
* @property allPorts
* @property allowGlobalAccess
* @property allowPscGlobalAccess
* @property backendService
* @property baseForwardingRule
* @property creationTimestamp
* @property description
* @property effectiveLabels
* @property id The provider-assigned unique ID for this managed resource.
* @property ipAddress
* @property ipProtocol
* @property ipVersion
* @property isMirroringCollector
* @property labelFingerprint
* @property labels
* @property loadBalancingScheme
* @property name
* @property network
* @property networkTier
* @property noAutomateDnsZone
* @property portRange
* @property ports
* @property project
* @property pscConnectionId
* @property pscConnectionStatus
* @property pulumiLabels
* @property recreateClosedPsc
* @property region
* @property selfLink
* @property serviceDirectoryRegistrations
* @property serviceLabel
* @property serviceName
* @property sourceIpRanges
* @property subnetwork
* @property target
*/
public data class GetForwardingRuleResult(
public val allPorts: Boolean,
public val allowGlobalAccess: Boolean,
public val allowPscGlobalAccess: Boolean,
public val backendService: String,
public val baseForwardingRule: String,
public val creationTimestamp: String,
public val description: String,
public val effectiveLabels: Map,
public val id: String,
public val ipAddress: String,
public val ipProtocol: String,
public val ipVersion: String,
public val isMirroringCollector: Boolean,
public val labelFingerprint: String,
public val labels: Map,
public val loadBalancingScheme: String,
public val name: String,
public val network: String,
public val networkTier: String,
public val noAutomateDnsZone: Boolean,
public val portRange: String,
public val ports: List,
public val project: String? = null,
public val pscConnectionId: String,
public val pscConnectionStatus: String,
public val pulumiLabels: Map,
public val recreateClosedPsc: Boolean,
public val region: String? = null,
public val selfLink: String,
public val serviceDirectoryRegistrations: List,
public val serviceLabel: String,
public val serviceName: String,
public val sourceIpRanges: List,
public val subnetwork: String,
public val target: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.GetForwardingRuleResult): GetForwardingRuleResult = GetForwardingRuleResult(
allPorts = javaType.allPorts(),
allowGlobalAccess = javaType.allowGlobalAccess(),
allowPscGlobalAccess = javaType.allowPscGlobalAccess(),
backendService = javaType.backendService(),
baseForwardingRule = javaType.baseForwardingRule(),
creationTimestamp = javaType.creationTimestamp(),
description = javaType.description(),
effectiveLabels = javaType.effectiveLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
id = javaType.id(),
ipAddress = javaType.ipAddress(),
ipProtocol = javaType.ipProtocol(),
ipVersion = javaType.ipVersion(),
isMirroringCollector = javaType.isMirroringCollector(),
labelFingerprint = javaType.labelFingerprint(),
labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
loadBalancingScheme = javaType.loadBalancingScheme(),
name = javaType.name(),
network = javaType.network(),
networkTier = javaType.networkTier(),
noAutomateDnsZone = javaType.noAutomateDnsZone(),
portRange = javaType.portRange(),
ports = javaType.ports().map({ args0 -> args0 }),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
pscConnectionId = javaType.pscConnectionId(),
pscConnectionStatus = javaType.pscConnectionStatus(),
pulumiLabels = javaType.pulumiLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
recreateClosedPsc = javaType.recreateClosedPsc(),
region = javaType.region().map({ args0 -> args0 }).orElse(null),
selfLink = javaType.selfLink(),
serviceDirectoryRegistrations = javaType.serviceDirectoryRegistrations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.compute.kotlin.outputs.GetForwardingRuleServiceDirectoryRegistration.Companion.toKotlin(args0)
})
}),
serviceLabel = javaType.serviceLabel(),
serviceName = javaType.serviceName(),
sourceIpRanges = javaType.sourceIpRanges().map({ args0 -> args0 }),
subnetwork = javaType.subnetwork(),
target = javaType.target(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy