com.pulumi.gcp.vmwareengine.kotlin.outputs.GetNetworkPolicyResult.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.vmwareengine.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getNetworkPolicy.
* @property createTime
* @property description
* @property edgeServicesCidr
* @property externalIps
* @property id The provider-assigned unique ID for this managed resource.
* @property internetAccesses
* @property location
* @property name
* @property project
* @property uid
* @property updateTime
* @property vmwareEngineNetwork
* @property vmwareEngineNetworkCanonical
*/
public data class GetNetworkPolicyResult(
public val createTime: String,
public val description: String,
public val edgeServicesCidr: String,
public val externalIps: List,
public val id: String,
public val internetAccesses: List,
public val location: String,
public val name: String,
public val project: String? = null,
public val uid: String,
public val updateTime: String,
public val vmwareEngineNetwork: String,
public val vmwareEngineNetworkCanonical: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.vmwareengine.outputs.GetNetworkPolicyResult): GetNetworkPolicyResult = GetNetworkPolicyResult(
createTime = javaType.createTime(),
description = javaType.description(),
edgeServicesCidr = javaType.edgeServicesCidr(),
externalIps = javaType.externalIps().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.vmwareengine.kotlin.outputs.GetNetworkPolicyExternalIp.Companion.toKotlin(args0)
})
}),
id = javaType.id(),
internetAccesses = javaType.internetAccesses().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.vmwareengine.kotlin.outputs.GetNetworkPolicyInternetAccess.Companion.toKotlin(args0)
})
}),
location = javaType.location(),
name = javaType.name(),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
uid = javaType.uid(),
updateTime = javaType.updateTime(),
vmwareEngineNetwork = javaType.vmwareEngineNetwork(),
vmwareEngineNetworkCanonical = javaType.vmwareEngineNetworkCanonical(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy