com.pulumi.gcp.vmwareengine.kotlin.outputs.GetPrivateCloudResult.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 getPrivateCloud.
* @property description
* @property hcxes
* @property id The provider-assigned unique ID for this managed resource.
* @property location
* @property managementClusters
* @property name
* @property networkConfigs
* @property nsxes
* @property project
* @property state
* @property type
* @property uid
* @property vcenters
*/
public data class GetPrivateCloudResult(
public val description: String,
public val hcxes: List,
public val id: String,
public val location: String,
public val managementClusters: List,
public val name: String,
public val networkConfigs: List,
public val nsxes: List,
public val project: String? = null,
public val state: String,
public val type: String,
public val uid: String,
public val vcenters: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.vmwareengine.outputs.GetPrivateCloudResult): GetPrivateCloudResult = GetPrivateCloudResult(
description = javaType.description(),
hcxes = javaType.hcxes().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.vmwareengine.kotlin.outputs.GetPrivateCloudHcx.Companion.toKotlin(args0)
})
}),
id = javaType.id(),
location = javaType.location(),
managementClusters = javaType.managementClusters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.vmwareengine.kotlin.outputs.GetPrivateCloudManagementCluster.Companion.toKotlin(args0)
})
}),
name = javaType.name(),
networkConfigs = javaType.networkConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.vmwareengine.kotlin.outputs.GetPrivateCloudNetworkConfig.Companion.toKotlin(args0)
})
}),
nsxes = javaType.nsxes().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.vmwareengine.kotlin.outputs.GetPrivateCloudNsx.Companion.toKotlin(args0)
})
}),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
state = javaType.state(),
type = javaType.type(),
uid = javaType.uid(),
vcenters = javaType.vcenters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.vmwareengine.kotlin.outputs.GetPrivateCloudVcenter.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy