com.pulumi.gcp.blockchainnodeengine.kotlin.outputs.BlockchainNodesEthereumDetails.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.blockchainnodeengine.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property additionalEndpoints (Output)
* User-provided key-value pairs
* Structure is documented below.
* @property apiEnableAdmin Enables JSON-RPC access to functions in the admin namespace. Defaults to false.
* @property apiEnableDebug Enables JSON-RPC access to functions in the debug namespace. Defaults to false.
* @property consensusClient The consensus client
* Possible values are: `CONSENSUS_CLIENT_UNSPECIFIED`, `LIGHTHOUSE`.
* @property executionClient The execution client
* Possible values are: `EXECUTION_CLIENT_UNSPECIFIED`, `GETH`, `ERIGON`.
* @property gethDetails User-provided key-value pairs
* Structure is documented below.
* @property network The Ethereum environment being accessed.
* Possible values are: `MAINNET`, `TESTNET_GOERLI_PRATER`, `TESTNET_SEPOLIA`.
* @property nodeType The type of Ethereum node.
* Possible values are: `LIGHT`, `FULL`, `ARCHIVE`.
* @property validatorConfig Configuration for validator-related parameters on the beacon client, and for any managed validator client.
* Structure is documented below.
*/
public data class BlockchainNodesEthereumDetails(
public val additionalEndpoints: List? = null,
public val apiEnableAdmin: Boolean? = null,
public val apiEnableDebug: Boolean? = null,
public val consensusClient: String? = null,
public val executionClient: String? = null,
public val gethDetails: BlockchainNodesEthereumDetailsGethDetails? = null,
public val network: String? = null,
public val nodeType: String? = null,
public val validatorConfig: BlockchainNodesEthereumDetailsValidatorConfig? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.blockchainnodeengine.outputs.BlockchainNodesEthereumDetails): BlockchainNodesEthereumDetails = BlockchainNodesEthereumDetails(
additionalEndpoints = javaType.additionalEndpoints().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.blockchainnodeengine.kotlin.outputs.BlockchainNodesEthereumDetailsAdditionalEndpoint.Companion.toKotlin(args0)
})
}),
apiEnableAdmin = javaType.apiEnableAdmin().map({ args0 -> args0 }).orElse(null),
apiEnableDebug = javaType.apiEnableDebug().map({ args0 -> args0 }).orElse(null),
consensusClient = javaType.consensusClient().map({ args0 -> args0 }).orElse(null),
executionClient = javaType.executionClient().map({ args0 -> args0 }).orElse(null),
gethDetails = javaType.gethDetails().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.blockchainnodeengine.kotlin.outputs.BlockchainNodesEthereumDetailsGethDetails.Companion.toKotlin(args0)
})
}).orElse(null),
network = javaType.network().map({ args0 -> args0 }).orElse(null),
nodeType = javaType.nodeType().map({ args0 -> args0 }).orElse(null),
validatorConfig = javaType.validatorConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.blockchainnodeengine.kotlin.outputs.BlockchainNodesEthereumDetailsValidatorConfig.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy