1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. blockchainnodeengine
  5. BlockchainNodes
Google Cloud v8.25.0 published on Thursday, Apr 3, 2025 by Pulumi

gcp.blockchainnodeengine.BlockchainNodes

Explore with Pulumi AI

A representation of a blockchain node.

To get more information about BlockchainNodes, see:

Example Usage

Blockchain Nodes Basic

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const defaultNode = new gcp.blockchainnodeengine.BlockchainNodes("default_node", {
    location: "us-central1",
    blockchainType: "ETHEREUM",
    blockchainNodeId: "blockchain_basic_node",
    ethereumDetails: {
        apiEnableAdmin: true,
        apiEnableDebug: true,
        validatorConfig: {
            mevRelayUrls: [
                "https://mev1.example.org/",
                "https://mev2.example.org/",
            ],
        },
        nodeType: "ARCHIVE",
        consensusClient: "LIGHTHOUSE",
        executionClient: "ERIGON",
        network: "MAINNET",
    },
    labels: {
        environment: "dev",
    },
});
Copy
import pulumi
import pulumi_gcp as gcp

default_node = gcp.blockchainnodeengine.BlockchainNodes("default_node",
    location="us-central1",
    blockchain_type="ETHEREUM",
    blockchain_node_id="blockchain_basic_node",
    ethereum_details={
        "api_enable_admin": True,
        "api_enable_debug": True,
        "validator_config": {
            "mev_relay_urls": [
                "https://mev1.example.org/",
                "https://mev2.example.org/",
            ],
        },
        "node_type": "ARCHIVE",
        "consensus_client": "LIGHTHOUSE",
        "execution_client": "ERIGON",
        "network": "MAINNET",
    },
    labels={
        "environment": "dev",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/blockchainnodeengine"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := blockchainnodeengine.NewBlockchainNodes(ctx, "default_node", &blockchainnodeengine.BlockchainNodesArgs{
			Location:         pulumi.String("us-central1"),
			BlockchainType:   pulumi.String("ETHEREUM"),
			BlockchainNodeId: pulumi.String("blockchain_basic_node"),
			EthereumDetails: &blockchainnodeengine.BlockchainNodesEthereumDetailsArgs{
				ApiEnableAdmin: pulumi.Bool(true),
				ApiEnableDebug: pulumi.Bool(true),
				ValidatorConfig: &blockchainnodeengine.BlockchainNodesEthereumDetailsValidatorConfigArgs{
					MevRelayUrls: pulumi.StringArray{
						pulumi.String("https://mev1.example.org/"),
						pulumi.String("https://mev2.example.org/"),
					},
				},
				NodeType:        pulumi.String("ARCHIVE"),
				ConsensusClient: pulumi.String("LIGHTHOUSE"),
				ExecutionClient: pulumi.String("ERIGON"),
				Network:         pulumi.String("MAINNET"),
			},
			Labels: pulumi.StringMap{
				"environment": pulumi.String("dev"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var defaultNode = new Gcp.BlockchainNodeEngine.BlockchainNodes("default_node", new()
    {
        Location = "us-central1",
        BlockchainType = "ETHEREUM",
        BlockchainNodeId = "blockchain_basic_node",
        EthereumDetails = new Gcp.BlockchainNodeEngine.Inputs.BlockchainNodesEthereumDetailsArgs
        {
            ApiEnableAdmin = true,
            ApiEnableDebug = true,
            ValidatorConfig = new Gcp.BlockchainNodeEngine.Inputs.BlockchainNodesEthereumDetailsValidatorConfigArgs
            {
                MevRelayUrls = new[]
                {
                    "https://mev1.example.org/",
                    "https://mev2.example.org/",
                },
            },
            NodeType = "ARCHIVE",
            ConsensusClient = "LIGHTHOUSE",
            ExecutionClient = "ERIGON",
            Network = "MAINNET",
        },
        Labels = 
        {
            { "environment", "dev" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.blockchainnodeengine.BlockchainNodes;
import com.pulumi.gcp.blockchainnodeengine.BlockchainNodesArgs;
import com.pulumi.gcp.blockchainnodeengine.inputs.BlockchainNodesEthereumDetailsArgs;
import com.pulumi.gcp.blockchainnodeengine.inputs.BlockchainNodesEthereumDetailsValidatorConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var defaultNode = new BlockchainNodes("defaultNode", BlockchainNodesArgs.builder()
            .location("us-central1")
            .blockchainType("ETHEREUM")
            .blockchainNodeId("blockchain_basic_node")
            .ethereumDetails(BlockchainNodesEthereumDetailsArgs.builder()
                .apiEnableAdmin(true)
                .apiEnableDebug(true)
                .validatorConfig(BlockchainNodesEthereumDetailsValidatorConfigArgs.builder()
                    .mevRelayUrls(                    
                        "https://mev1.example.org/",
                        "https://mev2.example.org/")
                    .build())
                .nodeType("ARCHIVE")
                .consensusClient("LIGHTHOUSE")
                .executionClient("ERIGON")
                .network("MAINNET")
                .build())
            .labels(Map.of("environment", "dev"))
            .build());

    }
}
Copy
resources:
  defaultNode:
    type: gcp:blockchainnodeengine:BlockchainNodes
    name: default_node
    properties:
      location: us-central1
      blockchainType: ETHEREUM
      blockchainNodeId: blockchain_basic_node
      ethereumDetails:
        apiEnableAdmin: true
        apiEnableDebug: true
        validatorConfig:
          mevRelayUrls:
            - https://mev1.example.org/
            - https://mev2.example.org/
        nodeType: ARCHIVE
        consensusClient: LIGHTHOUSE
        executionClient: ERIGON
        network: MAINNET
      labels:
        environment: dev
Copy

Blockchain Nodes Geth Details

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const defaultNodeGeth = new gcp.blockchainnodeengine.BlockchainNodes("default_node_geth", {
    location: "us-central1",
    blockchainType: "ETHEREUM",
    blockchainNodeId: "blockchain_geth_node",
    ethereumDetails: {
        apiEnableAdmin: true,
        apiEnableDebug: true,
        validatorConfig: {
            mevRelayUrls: [
                "https://mev1.example.org/",
                "https://mev2.example.org/",
            ],
        },
        nodeType: "FULL",
        consensusClient: "LIGHTHOUSE",
        executionClient: "GETH",
        network: "MAINNET",
        gethDetails: {
            garbageCollectionMode: "FULL",
        },
    },
    labels: {
        environment: "dev",
    },
});
Copy
import pulumi
import pulumi_gcp as gcp

default_node_geth = gcp.blockchainnodeengine.BlockchainNodes("default_node_geth",
    location="us-central1",
    blockchain_type="ETHEREUM",
    blockchain_node_id="blockchain_geth_node",
    ethereum_details={
        "api_enable_admin": True,
        "api_enable_debug": True,
        "validator_config": {
            "mev_relay_urls": [
                "https://mev1.example.org/",
                "https://mev2.example.org/",
            ],
        },
        "node_type": "FULL",
        "consensus_client": "LIGHTHOUSE",
        "execution_client": "GETH",
        "network": "MAINNET",
        "geth_details": {
            "garbage_collection_mode": "FULL",
        },
    },
    labels={
        "environment": "dev",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/blockchainnodeengine"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := blockchainnodeengine.NewBlockchainNodes(ctx, "default_node_geth", &blockchainnodeengine.BlockchainNodesArgs{
			Location:         pulumi.String("us-central1"),
			BlockchainType:   pulumi.String("ETHEREUM"),
			BlockchainNodeId: pulumi.String("blockchain_geth_node"),
			EthereumDetails: &blockchainnodeengine.BlockchainNodesEthereumDetailsArgs{
				ApiEnableAdmin: pulumi.Bool(true),
				ApiEnableDebug: pulumi.Bool(true),
				ValidatorConfig: &blockchainnodeengine.BlockchainNodesEthereumDetailsValidatorConfigArgs{
					MevRelayUrls: pulumi.StringArray{
						pulumi.String("https://mev1.example.org/"),
						pulumi.String("https://mev2.example.org/"),
					},
				},
				NodeType:        pulumi.String("FULL"),
				ConsensusClient: pulumi.String("LIGHTHOUSE"),
				ExecutionClient: pulumi.String("GETH"),
				Network:         pulumi.String("MAINNET"),
				GethDetails: &blockchainnodeengine.BlockchainNodesEthereumDetailsGethDetailsArgs{
					GarbageCollectionMode: pulumi.String("FULL"),
				},
			},
			Labels: pulumi.StringMap{
				"environment": pulumi.String("dev"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var defaultNodeGeth = new Gcp.BlockchainNodeEngine.BlockchainNodes("default_node_geth", new()
    {
        Location = "us-central1",
        BlockchainType = "ETHEREUM",
        BlockchainNodeId = "blockchain_geth_node",
        EthereumDetails = new Gcp.BlockchainNodeEngine.Inputs.BlockchainNodesEthereumDetailsArgs
        {
            ApiEnableAdmin = true,
            ApiEnableDebug = true,
            ValidatorConfig = new Gcp.BlockchainNodeEngine.Inputs.BlockchainNodesEthereumDetailsValidatorConfigArgs
            {
                MevRelayUrls = new[]
                {
                    "https://mev1.example.org/",
                    "https://mev2.example.org/",
                },
            },
            NodeType = "FULL",
            ConsensusClient = "LIGHTHOUSE",
            ExecutionClient = "GETH",
            Network = "MAINNET",
            GethDetails = new Gcp.BlockchainNodeEngine.Inputs.BlockchainNodesEthereumDetailsGethDetailsArgs
            {
                GarbageCollectionMode = "FULL",
            },
        },
        Labels = 
        {
            { "environment", "dev" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.blockchainnodeengine.BlockchainNodes;
import com.pulumi.gcp.blockchainnodeengine.BlockchainNodesArgs;
import com.pulumi.gcp.blockchainnodeengine.inputs.BlockchainNodesEthereumDetailsArgs;
import com.pulumi.gcp.blockchainnodeengine.inputs.BlockchainNodesEthereumDetailsValidatorConfigArgs;
import com.pulumi.gcp.blockchainnodeengine.inputs.BlockchainNodesEthereumDetailsGethDetailsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var defaultNodeGeth = new BlockchainNodes("defaultNodeGeth", BlockchainNodesArgs.builder()
            .location("us-central1")
            .blockchainType("ETHEREUM")
            .blockchainNodeId("blockchain_geth_node")
            .ethereumDetails(BlockchainNodesEthereumDetailsArgs.builder()
                .apiEnableAdmin(true)
                .apiEnableDebug(true)
                .validatorConfig(BlockchainNodesEthereumDetailsValidatorConfigArgs.builder()
                    .mevRelayUrls(                    
                        "https://mev1.example.org/",
                        "https://mev2.example.org/")
                    .build())
                .nodeType("FULL")
                .consensusClient("LIGHTHOUSE")
                .executionClient("GETH")
                .network("MAINNET")
                .gethDetails(BlockchainNodesEthereumDetailsGethDetailsArgs.builder()
                    .garbageCollectionMode("FULL")
                    .build())
                .build())
            .labels(Map.of("environment", "dev"))
            .build());

    }
}
Copy
resources:
  defaultNodeGeth:
    type: gcp:blockchainnodeengine:BlockchainNodes
    name: default_node_geth
    properties:
      location: us-central1
      blockchainType: ETHEREUM
      blockchainNodeId: blockchain_geth_node
      ethereumDetails:
        apiEnableAdmin: true
        apiEnableDebug: true
        validatorConfig:
          mevRelayUrls:
            - https://mev1.example.org/
            - https://mev2.example.org/
        nodeType: FULL
        consensusClient: LIGHTHOUSE
        executionClient: GETH
        network: MAINNET
        gethDetails:
          garbageCollectionMode: FULL
      labels:
        environment: dev
Copy

Create BlockchainNodes Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new BlockchainNodes(name: string, args: BlockchainNodesArgs, opts?: CustomResourceOptions);
@overload
def BlockchainNodes(resource_name: str,
                    args: BlockchainNodesArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def BlockchainNodes(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    blockchain_node_id: Optional[str] = None,
                    location: Optional[str] = None,
                    blockchain_type: Optional[str] = None,
                    ethereum_details: Optional[BlockchainNodesEthereumDetailsArgs] = None,
                    labels: Optional[Mapping[str, str]] = None,
                    project: Optional[str] = None)
func NewBlockchainNodes(ctx *Context, name string, args BlockchainNodesArgs, opts ...ResourceOption) (*BlockchainNodes, error)
public BlockchainNodes(string name, BlockchainNodesArgs args, CustomResourceOptions? opts = null)
public BlockchainNodes(String name, BlockchainNodesArgs args)
public BlockchainNodes(String name, BlockchainNodesArgs args, CustomResourceOptions options)
type: gcp:blockchainnodeengine:BlockchainNodes
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. BlockchainNodesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. BlockchainNodesArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. BlockchainNodesArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. BlockchainNodesArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. BlockchainNodesArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var blockchainNodesResource = new Gcp.BlockchainNodeEngine.BlockchainNodes("blockchainNodesResource", new()
{
    BlockchainNodeId = "string",
    Location = "string",
    BlockchainType = "string",
    EthereumDetails = new Gcp.BlockchainNodeEngine.Inputs.BlockchainNodesEthereumDetailsArgs
    {
        AdditionalEndpoints = new[]
        {
            new Gcp.BlockchainNodeEngine.Inputs.BlockchainNodesEthereumDetailsAdditionalEndpointArgs
            {
                BeaconApiEndpoint = "string",
                BeaconPrometheusMetricsApiEndpoint = "string",
                ExecutionClientPrometheusMetricsApiEndpoint = "string",
            },
        },
        ApiEnableAdmin = false,
        ApiEnableDebug = false,
        ConsensusClient = "string",
        ExecutionClient = "string",
        GethDetails = new Gcp.BlockchainNodeEngine.Inputs.BlockchainNodesEthereumDetailsGethDetailsArgs
        {
            GarbageCollectionMode = "string",
        },
        Network = "string",
        NodeType = "string",
        ValidatorConfig = new Gcp.BlockchainNodeEngine.Inputs.BlockchainNodesEthereumDetailsValidatorConfigArgs
        {
            MevRelayUrls = new[]
            {
                "string",
            },
        },
    },
    Labels = 
    {
        { "string", "string" },
    },
    Project = "string",
});
Copy
example, err := blockchainnodeengine.NewBlockchainNodes(ctx, "blockchainNodesResource", &blockchainnodeengine.BlockchainNodesArgs{
	BlockchainNodeId: pulumi.String("string"),
	Location:         pulumi.String("string"),
	BlockchainType:   pulumi.String("string"),
	EthereumDetails: &blockchainnodeengine.BlockchainNodesEthereumDetailsArgs{
		AdditionalEndpoints: blockchainnodeengine.BlockchainNodesEthereumDetailsAdditionalEndpointArray{
			&blockchainnodeengine.BlockchainNodesEthereumDetailsAdditionalEndpointArgs{
				BeaconApiEndpoint:                           pulumi.String("string"),
				BeaconPrometheusMetricsApiEndpoint:          pulumi.String("string"),
				ExecutionClientPrometheusMetricsApiEndpoint: pulumi.String("string"),
			},
		},
		ApiEnableAdmin:  pulumi.Bool(false),
		ApiEnableDebug:  pulumi.Bool(false),
		ConsensusClient: pulumi.String("string"),
		ExecutionClient: pulumi.String("string"),
		GethDetails: &blockchainnodeengine.BlockchainNodesEthereumDetailsGethDetailsArgs{
			GarbageCollectionMode: pulumi.String("string"),
		},
		Network:  pulumi.String("string"),
		NodeType: pulumi.String("string"),
		ValidatorConfig: &blockchainnodeengine.BlockchainNodesEthereumDetailsValidatorConfigArgs{
			MevRelayUrls: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Project: pulumi.String("string"),
})
Copy
var blockchainNodesResource = new BlockchainNodes("blockchainNodesResource", BlockchainNodesArgs.builder()
    .blockchainNodeId("string")
    .location("string")
    .blockchainType("string")
    .ethereumDetails(BlockchainNodesEthereumDetailsArgs.builder()
        .additionalEndpoints(BlockchainNodesEthereumDetailsAdditionalEndpointArgs.builder()
            .beaconApiEndpoint("string")
            .beaconPrometheusMetricsApiEndpoint("string")
            .executionClientPrometheusMetricsApiEndpoint("string")
            .build())
        .apiEnableAdmin(false)
        .apiEnableDebug(false)
        .consensusClient("string")
        .executionClient("string")
        .gethDetails(BlockchainNodesEthereumDetailsGethDetailsArgs.builder()
            .garbageCollectionMode("string")
            .build())
        .network("string")
        .nodeType("string")
        .validatorConfig(BlockchainNodesEthereumDetailsValidatorConfigArgs.builder()
            .mevRelayUrls("string")
            .build())
        .build())
    .labels(Map.of("string", "string"))
    .project("string")
    .build());
Copy
blockchain_nodes_resource = gcp.blockchainnodeengine.BlockchainNodes("blockchainNodesResource",
    blockchain_node_id="string",
    location="string",
    blockchain_type="string",
    ethereum_details={
        "additional_endpoints": [{
            "beacon_api_endpoint": "string",
            "beacon_prometheus_metrics_api_endpoint": "string",
            "execution_client_prometheus_metrics_api_endpoint": "string",
        }],
        "api_enable_admin": False,
        "api_enable_debug": False,
        "consensus_client": "string",
        "execution_client": "string",
        "geth_details": {
            "garbage_collection_mode": "string",
        },
        "network": "string",
        "node_type": "string",
        "validator_config": {
            "mev_relay_urls": ["string"],
        },
    },
    labels={
        "string": "string",
    },
    project="string")
Copy
const blockchainNodesResource = new gcp.blockchainnodeengine.BlockchainNodes("blockchainNodesResource", {
    blockchainNodeId: "string",
    location: "string",
    blockchainType: "string",
    ethereumDetails: {
        additionalEndpoints: [{
            beaconApiEndpoint: "string",
            beaconPrometheusMetricsApiEndpoint: "string",
            executionClientPrometheusMetricsApiEndpoint: "string",
        }],
        apiEnableAdmin: false,
        apiEnableDebug: false,
        consensusClient: "string",
        executionClient: "string",
        gethDetails: {
            garbageCollectionMode: "string",
        },
        network: "string",
        nodeType: "string",
        validatorConfig: {
            mevRelayUrls: ["string"],
        },
    },
    labels: {
        string: "string",
    },
    project: "string",
});
Copy
type: gcp:blockchainnodeengine:BlockchainNodes
properties:
    blockchainNodeId: string
    blockchainType: string
    ethereumDetails:
        additionalEndpoints:
            - beaconApiEndpoint: string
              beaconPrometheusMetricsApiEndpoint: string
              executionClientPrometheusMetricsApiEndpoint: string
        apiEnableAdmin: false
        apiEnableDebug: false
        consensusClient: string
        executionClient: string
        gethDetails:
            garbageCollectionMode: string
        network: string
        nodeType: string
        validatorConfig:
            mevRelayUrls:
                - string
    labels:
        string: string
    location: string
    project: string
Copy

BlockchainNodes Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The BlockchainNodes resource accepts the following input properties:

BlockchainNodeId This property is required. string
ID of the requesting object.


Location
This property is required.
Changes to this property will trigger replacement.
string
Location of Blockchain Node being created.
BlockchainType Changes to this property will trigger replacement. string
User-provided key-value pairs Possible values are: ETHEREUM.
EthereumDetails BlockchainNodesEthereumDetails
User-provided key-value pairs Structure is documented below.
Labels Dictionary<string, string>

User-provided key-value pairs

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
BlockchainNodeId This property is required. string
ID of the requesting object.


Location
This property is required.
Changes to this property will trigger replacement.
string
Location of Blockchain Node being created.
BlockchainType Changes to this property will trigger replacement. string
User-provided key-value pairs Possible values are: ETHEREUM.
EthereumDetails BlockchainNodesEthereumDetailsArgs
User-provided key-value pairs Structure is documented below.
Labels map[string]string

User-provided key-value pairs

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
blockchainNodeId This property is required. String
ID of the requesting object.


location
This property is required.
Changes to this property will trigger replacement.
String
Location of Blockchain Node being created.
blockchainType Changes to this property will trigger replacement. String
User-provided key-value pairs Possible values are: ETHEREUM.
ethereumDetails BlockchainNodesEthereumDetails
User-provided key-value pairs Structure is documented below.
labels Map<String,String>

User-provided key-value pairs

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
blockchainNodeId This property is required. string
ID of the requesting object.


location
This property is required.
Changes to this property will trigger replacement.
string
Location of Blockchain Node being created.
blockchainType Changes to this property will trigger replacement. string
User-provided key-value pairs Possible values are: ETHEREUM.
ethereumDetails BlockchainNodesEthereumDetails
User-provided key-value pairs Structure is documented below.
labels {[key: string]: string}

User-provided key-value pairs

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
blockchain_node_id This property is required. str
ID of the requesting object.


location
This property is required.
Changes to this property will trigger replacement.
str
Location of Blockchain Node being created.
blockchain_type Changes to this property will trigger replacement. str
User-provided key-value pairs Possible values are: ETHEREUM.
ethereum_details BlockchainNodesEthereumDetailsArgs
User-provided key-value pairs Structure is documented below.
labels Mapping[str, str]

User-provided key-value pairs

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

project Changes to this property will trigger replacement. str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
blockchainNodeId This property is required. String
ID of the requesting object.


location
This property is required.
Changes to this property will trigger replacement.
String
Location of Blockchain Node being created.
blockchainType Changes to this property will trigger replacement. String
User-provided key-value pairs Possible values are: ETHEREUM.
ethereumDetails Property Map
User-provided key-value pairs Structure is documented below.
labels Map<String>

User-provided key-value pairs

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Outputs

All input properties are implicitly available as output properties. Additionally, the BlockchainNodes resource produces the following output properties:

ConnectionInfos List<BlockchainNodesConnectionInfo>
The connection information through which to interact with a blockchain node. Structure is documented below.
CreateTime string
The timestamp at which the blockchain node was first created.
EffectiveLabels Dictionary<string, string>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The fully qualified name of the blockchain node. e.g. projects/my-project/locations/us-central1/blockchainNodes/my-node.
PulumiLabels Dictionary<string, string>
The combination of labels configured directly on the resource and default labels configured on the provider.
UpdateTime string
The timestamp at which the blockchain node was last updated.
ConnectionInfos []BlockchainNodesConnectionInfo
The connection information through which to interact with a blockchain node. Structure is documented below.
CreateTime string
The timestamp at which the blockchain node was first created.
EffectiveLabels map[string]string
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The fully qualified name of the blockchain node. e.g. projects/my-project/locations/us-central1/blockchainNodes/my-node.
PulumiLabels map[string]string
The combination of labels configured directly on the resource and default labels configured on the provider.
UpdateTime string
The timestamp at which the blockchain node was last updated.
connectionInfos List<BlockchainNodesConnectionInfo>
The connection information through which to interact with a blockchain node. Structure is documented below.
createTime String
The timestamp at which the blockchain node was first created.
effectiveLabels Map<String,String>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
id String
The provider-assigned unique ID for this managed resource.
name String
The fully qualified name of the blockchain node. e.g. projects/my-project/locations/us-central1/blockchainNodes/my-node.
pulumiLabels Map<String,String>
The combination of labels configured directly on the resource and default labels configured on the provider.
updateTime String
The timestamp at which the blockchain node was last updated.
connectionInfos BlockchainNodesConnectionInfo[]
The connection information through which to interact with a blockchain node. Structure is documented below.
createTime string
The timestamp at which the blockchain node was first created.
effectiveLabels {[key: string]: string}
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
id string
The provider-assigned unique ID for this managed resource.
name string
The fully qualified name of the blockchain node. e.g. projects/my-project/locations/us-central1/blockchainNodes/my-node.
pulumiLabels {[key: string]: string}
The combination of labels configured directly on the resource and default labels configured on the provider.
updateTime string
The timestamp at which the blockchain node was last updated.
connection_infos Sequence[BlockchainNodesConnectionInfo]
The connection information through which to interact with a blockchain node. Structure is documented below.
create_time str
The timestamp at which the blockchain node was first created.
effective_labels Mapping[str, str]
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
id str
The provider-assigned unique ID for this managed resource.
name str
The fully qualified name of the blockchain node. e.g. projects/my-project/locations/us-central1/blockchainNodes/my-node.
pulumi_labels Mapping[str, str]
The combination of labels configured directly on the resource and default labels configured on the provider.
update_time str
The timestamp at which the blockchain node was last updated.
connectionInfos List<Property Map>
The connection information through which to interact with a blockchain node. Structure is documented below.
createTime String
The timestamp at which the blockchain node was first created.
effectiveLabels Map<String>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
id String
The provider-assigned unique ID for this managed resource.
name String
The fully qualified name of the blockchain node. e.g. projects/my-project/locations/us-central1/blockchainNodes/my-node.
pulumiLabels Map<String>
The combination of labels configured directly on the resource and default labels configured on the provider.
updateTime String
The timestamp at which the blockchain node was last updated.

Look up Existing BlockchainNodes Resource

Get an existing BlockchainNodes resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: BlockchainNodesState, opts?: CustomResourceOptions): BlockchainNodes
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        blockchain_node_id: Optional[str] = None,
        blockchain_type: Optional[str] = None,
        connection_infos: Optional[Sequence[BlockchainNodesConnectionInfoArgs]] = None,
        create_time: Optional[str] = None,
        effective_labels: Optional[Mapping[str, str]] = None,
        ethereum_details: Optional[BlockchainNodesEthereumDetailsArgs] = None,
        labels: Optional[Mapping[str, str]] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        project: Optional[str] = None,
        pulumi_labels: Optional[Mapping[str, str]] = None,
        update_time: Optional[str] = None) -> BlockchainNodes
func GetBlockchainNodes(ctx *Context, name string, id IDInput, state *BlockchainNodesState, opts ...ResourceOption) (*BlockchainNodes, error)
public static BlockchainNodes Get(string name, Input<string> id, BlockchainNodesState? state, CustomResourceOptions? opts = null)
public static BlockchainNodes get(String name, Output<String> id, BlockchainNodesState state, CustomResourceOptions options)
resources:  _:    type: gcp:blockchainnodeengine:BlockchainNodes    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
BlockchainNodeId string
ID of the requesting object.


BlockchainType Changes to this property will trigger replacement. string
User-provided key-value pairs Possible values are: ETHEREUM.
ConnectionInfos List<BlockchainNodesConnectionInfo>
The connection information through which to interact with a blockchain node. Structure is documented below.
CreateTime string
The timestamp at which the blockchain node was first created.
EffectiveLabels Dictionary<string, string>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
EthereumDetails BlockchainNodesEthereumDetails
User-provided key-value pairs Structure is documented below.
Labels Dictionary<string, string>

User-provided key-value pairs

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

Location Changes to this property will trigger replacement. string
Location of Blockchain Node being created.
Name string
The fully qualified name of the blockchain node. e.g. projects/my-project/locations/us-central1/blockchainNodes/my-node.
Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
PulumiLabels Dictionary<string, string>
The combination of labels configured directly on the resource and default labels configured on the provider.
UpdateTime string
The timestamp at which the blockchain node was last updated.
BlockchainNodeId string
ID of the requesting object.


BlockchainType Changes to this property will trigger replacement. string
User-provided key-value pairs Possible values are: ETHEREUM.
ConnectionInfos []BlockchainNodesConnectionInfoArgs
The connection information through which to interact with a blockchain node. Structure is documented below.
CreateTime string
The timestamp at which the blockchain node was first created.
EffectiveLabels map[string]string
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
EthereumDetails BlockchainNodesEthereumDetailsArgs
User-provided key-value pairs Structure is documented below.
Labels map[string]string

User-provided key-value pairs

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

Location Changes to this property will trigger replacement. string
Location of Blockchain Node being created.
Name string
The fully qualified name of the blockchain node. e.g. projects/my-project/locations/us-central1/blockchainNodes/my-node.
Project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
PulumiLabels map[string]string
The combination of labels configured directly on the resource and default labels configured on the provider.
UpdateTime string
The timestamp at which the blockchain node was last updated.
blockchainNodeId String
ID of the requesting object.


blockchainType Changes to this property will trigger replacement. String
User-provided key-value pairs Possible values are: ETHEREUM.
connectionInfos List<BlockchainNodesConnectionInfo>
The connection information through which to interact with a blockchain node. Structure is documented below.
createTime String
The timestamp at which the blockchain node was first created.
effectiveLabels Map<String,String>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
ethereumDetails BlockchainNodesEthereumDetails
User-provided key-value pairs Structure is documented below.
labels Map<String,String>

User-provided key-value pairs

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

location Changes to this property will trigger replacement. String
Location of Blockchain Node being created.
name String
The fully qualified name of the blockchain node. e.g. projects/my-project/locations/us-central1/blockchainNodes/my-node.
project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
pulumiLabels Map<String,String>
The combination of labels configured directly on the resource and default labels configured on the provider.
updateTime String
The timestamp at which the blockchain node was last updated.
blockchainNodeId string
ID of the requesting object.


blockchainType Changes to this property will trigger replacement. string
User-provided key-value pairs Possible values are: ETHEREUM.
connectionInfos BlockchainNodesConnectionInfo[]
The connection information through which to interact with a blockchain node. Structure is documented below.
createTime string
The timestamp at which the blockchain node was first created.
effectiveLabels {[key: string]: string}
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
ethereumDetails BlockchainNodesEthereumDetails
User-provided key-value pairs Structure is documented below.
labels {[key: string]: string}

User-provided key-value pairs

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

location Changes to this property will trigger replacement. string
Location of Blockchain Node being created.
name string
The fully qualified name of the blockchain node. e.g. projects/my-project/locations/us-central1/blockchainNodes/my-node.
project Changes to this property will trigger replacement. string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
pulumiLabels {[key: string]: string}
The combination of labels configured directly on the resource and default labels configured on the provider.
updateTime string
The timestamp at which the blockchain node was last updated.
blockchain_node_id str
ID of the requesting object.


blockchain_type Changes to this property will trigger replacement. str
User-provided key-value pairs Possible values are: ETHEREUM.
connection_infos Sequence[BlockchainNodesConnectionInfoArgs]
The connection information through which to interact with a blockchain node. Structure is documented below.
create_time str
The timestamp at which the blockchain node was first created.
effective_labels Mapping[str, str]
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
ethereum_details BlockchainNodesEthereumDetailsArgs
User-provided key-value pairs Structure is documented below.
labels Mapping[str, str]

User-provided key-value pairs

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

location Changes to this property will trigger replacement. str
Location of Blockchain Node being created.
name str
The fully qualified name of the blockchain node. e.g. projects/my-project/locations/us-central1/blockchainNodes/my-node.
project Changes to this property will trigger replacement. str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
pulumi_labels Mapping[str, str]
The combination of labels configured directly on the resource and default labels configured on the provider.
update_time str
The timestamp at which the blockchain node was last updated.
blockchainNodeId String
ID of the requesting object.


blockchainType Changes to this property will trigger replacement. String
User-provided key-value pairs Possible values are: ETHEREUM.
connectionInfos List<Property Map>
The connection information through which to interact with a blockchain node. Structure is documented below.
createTime String
The timestamp at which the blockchain node was first created.
effectiveLabels Map<String>
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
ethereumDetails Property Map
User-provided key-value pairs Structure is documented below.
labels Map<String>

User-provided key-value pairs

Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effective_labels for all of the labels present on the resource.

location Changes to this property will trigger replacement. String
Location of Blockchain Node being created.
name String
The fully qualified name of the blockchain node. e.g. projects/my-project/locations/us-central1/blockchainNodes/my-node.
project Changes to this property will trigger replacement. String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
pulumiLabels Map<String>
The combination of labels configured directly on the resource and default labels configured on the provider.
updateTime String
The timestamp at which the blockchain node was last updated.

Supporting Types

BlockchainNodesConnectionInfo
, BlockchainNodesConnectionInfoArgs

EndpointInfos List<BlockchainNodesConnectionInfoEndpointInfo>
(Output) The endpoint information through which to interact with a blockchain node. Structure is documented below.
ServiceAttachment string
(Output) A service attachment that exposes a node, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}
EndpointInfos []BlockchainNodesConnectionInfoEndpointInfo
(Output) The endpoint information through which to interact with a blockchain node. Structure is documented below.
ServiceAttachment string
(Output) A service attachment that exposes a node, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}
endpointInfos List<BlockchainNodesConnectionInfoEndpointInfo>
(Output) The endpoint information through which to interact with a blockchain node. Structure is documented below.
serviceAttachment String
(Output) A service attachment that exposes a node, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}
endpointInfos BlockchainNodesConnectionInfoEndpointInfo[]
(Output) The endpoint information through which to interact with a blockchain node. Structure is documented below.
serviceAttachment string
(Output) A service attachment that exposes a node, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}
endpoint_infos Sequence[BlockchainNodesConnectionInfoEndpointInfo]
(Output) The endpoint information through which to interact with a blockchain node. Structure is documented below.
service_attachment str
(Output) A service attachment that exposes a node, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}
endpointInfos List<Property Map>
(Output) The endpoint information through which to interact with a blockchain node. Structure is documented below.
serviceAttachment String
(Output) A service attachment that exposes a node, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name}

BlockchainNodesConnectionInfoEndpointInfo
, BlockchainNodesConnectionInfoEndpointInfoArgs

JsonRpcApiEndpoint string
(Output) The assigned URL for the node JSON-RPC API endpoint.
WebsocketsApiEndpoint string
(Output) The assigned URL for the node WebSockets API endpoint.
JsonRpcApiEndpoint string
(Output) The assigned URL for the node JSON-RPC API endpoint.
WebsocketsApiEndpoint string
(Output) The assigned URL for the node WebSockets API endpoint.
jsonRpcApiEndpoint String
(Output) The assigned URL for the node JSON-RPC API endpoint.
websocketsApiEndpoint String
(Output) The assigned URL for the node WebSockets API endpoint.
jsonRpcApiEndpoint string
(Output) The assigned URL for the node JSON-RPC API endpoint.
websocketsApiEndpoint string
(Output) The assigned URL for the node WebSockets API endpoint.
json_rpc_api_endpoint str
(Output) The assigned URL for the node JSON-RPC API endpoint.
websockets_api_endpoint str
(Output) The assigned URL for the node WebSockets API endpoint.
jsonRpcApiEndpoint String
(Output) The assigned URL for the node JSON-RPC API endpoint.
websocketsApiEndpoint String
(Output) The assigned URL for the node WebSockets API endpoint.

BlockchainNodesEthereumDetails
, BlockchainNodesEthereumDetailsArgs

AdditionalEndpoints List<BlockchainNodesEthereumDetailsAdditionalEndpoint>
(Output) User-provided key-value pairs Structure is documented below.
ApiEnableAdmin Changes to this property will trigger replacement. bool
Enables JSON-RPC access to functions in the admin namespace. Defaults to false.
ApiEnableDebug Changes to this property will trigger replacement. bool
Enables JSON-RPC access to functions in the debug namespace. Defaults to false.
ConsensusClient Changes to this property will trigger replacement. string
The consensus client Possible values are: CONSENSUS_CLIENT_UNSPECIFIED, LIGHTHOUSE.
ExecutionClient Changes to this property will trigger replacement. string
The execution client Possible values are: EXECUTION_CLIENT_UNSPECIFIED, GETH, ERIGON.
GethDetails BlockchainNodesEthereumDetailsGethDetails
User-provided key-value pairs Structure is documented below.
Network Changes to this property will trigger replacement. string
The Ethereum environment being accessed. Possible values are: MAINNET, TESTNET_GOERLI_PRATER, TESTNET_SEPOLIA.
NodeType Changes to this property will trigger replacement. string
The type of Ethereum node. Possible values are: LIGHT, FULL, ARCHIVE.
ValidatorConfig BlockchainNodesEthereumDetailsValidatorConfig
Configuration for validator-related parameters on the beacon client, and for any managed validator client. Structure is documented below.
AdditionalEndpoints []BlockchainNodesEthereumDetailsAdditionalEndpoint
(Output) User-provided key-value pairs Structure is documented below.
ApiEnableAdmin Changes to this property will trigger replacement. bool
Enables JSON-RPC access to functions in the admin namespace. Defaults to false.
ApiEnableDebug Changes to this property will trigger replacement. bool
Enables JSON-RPC access to functions in the debug namespace. Defaults to false.
ConsensusClient Changes to this property will trigger replacement. string
The consensus client Possible values are: CONSENSUS_CLIENT_UNSPECIFIED, LIGHTHOUSE.
ExecutionClient Changes to this property will trigger replacement. string
The execution client Possible values are: EXECUTION_CLIENT_UNSPECIFIED, GETH, ERIGON.
GethDetails BlockchainNodesEthereumDetailsGethDetails
User-provided key-value pairs Structure is documented below.
Network Changes to this property will trigger replacement. string
The Ethereum environment being accessed. Possible values are: MAINNET, TESTNET_GOERLI_PRATER, TESTNET_SEPOLIA.
NodeType Changes to this property will trigger replacement. string
The type of Ethereum node. Possible values are: LIGHT, FULL, ARCHIVE.
ValidatorConfig BlockchainNodesEthereumDetailsValidatorConfig
Configuration for validator-related parameters on the beacon client, and for any managed validator client. Structure is documented below.
additionalEndpoints List<BlockchainNodesEthereumDetailsAdditionalEndpoint>
(Output) User-provided key-value pairs Structure is documented below.
apiEnableAdmin Changes to this property will trigger replacement. Boolean
Enables JSON-RPC access to functions in the admin namespace. Defaults to false.
apiEnableDebug Changes to this property will trigger replacement. Boolean
Enables JSON-RPC access to functions in the debug namespace. Defaults to false.
consensusClient Changes to this property will trigger replacement. String
The consensus client Possible values are: CONSENSUS_CLIENT_UNSPECIFIED, LIGHTHOUSE.
executionClient Changes to this property will trigger replacement. String
The execution client Possible values are: EXECUTION_CLIENT_UNSPECIFIED, GETH, ERIGON.
gethDetails BlockchainNodesEthereumDetailsGethDetails
User-provided key-value pairs Structure is documented below.
network Changes to this property will trigger replacement. String
The Ethereum environment being accessed. Possible values are: MAINNET, TESTNET_GOERLI_PRATER, TESTNET_SEPOLIA.
nodeType Changes to this property will trigger replacement. String
The type of Ethereum node. Possible values are: LIGHT, FULL, ARCHIVE.
validatorConfig BlockchainNodesEthereumDetailsValidatorConfig
Configuration for validator-related parameters on the beacon client, and for any managed validator client. Structure is documented below.
additionalEndpoints BlockchainNodesEthereumDetailsAdditionalEndpoint[]
(Output) User-provided key-value pairs Structure is documented below.
apiEnableAdmin Changes to this property will trigger replacement. boolean
Enables JSON-RPC access to functions in the admin namespace. Defaults to false.
apiEnableDebug Changes to this property will trigger replacement. boolean
Enables JSON-RPC access to functions in the debug namespace. Defaults to false.
consensusClient Changes to this property will trigger replacement. string
The consensus client Possible values are: CONSENSUS_CLIENT_UNSPECIFIED, LIGHTHOUSE.
executionClient Changes to this property will trigger replacement. string
The execution client Possible values are: EXECUTION_CLIENT_UNSPECIFIED, GETH, ERIGON.
gethDetails BlockchainNodesEthereumDetailsGethDetails
User-provided key-value pairs Structure is documented below.
network Changes to this property will trigger replacement. string
The Ethereum environment being accessed. Possible values are: MAINNET, TESTNET_GOERLI_PRATER, TESTNET_SEPOLIA.
nodeType Changes to this property will trigger replacement. string
The type of Ethereum node. Possible values are: LIGHT, FULL, ARCHIVE.
validatorConfig BlockchainNodesEthereumDetailsValidatorConfig
Configuration for validator-related parameters on the beacon client, and for any managed validator client. Structure is documented below.
additional_endpoints Sequence[BlockchainNodesEthereumDetailsAdditionalEndpoint]
(Output) User-provided key-value pairs Structure is documented below.
api_enable_admin Changes to this property will trigger replacement. bool
Enables JSON-RPC access to functions in the admin namespace. Defaults to false.
api_enable_debug Changes to this property will trigger replacement. bool
Enables JSON-RPC access to functions in the debug namespace. Defaults to false.
consensus_client Changes to this property will trigger replacement. str
The consensus client Possible values are: CONSENSUS_CLIENT_UNSPECIFIED, LIGHTHOUSE.
execution_client Changes to this property will trigger replacement. str
The execution client Possible values are: EXECUTION_CLIENT_UNSPECIFIED, GETH, ERIGON.
geth_details BlockchainNodesEthereumDetailsGethDetails
User-provided key-value pairs Structure is documented below.
network Changes to this property will trigger replacement. str
The Ethereum environment being accessed. Possible values are: MAINNET, TESTNET_GOERLI_PRATER, TESTNET_SEPOLIA.
node_type Changes to this property will trigger replacement. str
The type of Ethereum node. Possible values are: LIGHT, FULL, ARCHIVE.
validator_config BlockchainNodesEthereumDetailsValidatorConfig
Configuration for validator-related parameters on the beacon client, and for any managed validator client. Structure is documented below.
additionalEndpoints List<Property Map>
(Output) User-provided key-value pairs Structure is documented below.
apiEnableAdmin Changes to this property will trigger replacement. Boolean
Enables JSON-RPC access to functions in the admin namespace. Defaults to false.
apiEnableDebug Changes to this property will trigger replacement. Boolean
Enables JSON-RPC access to functions in the debug namespace. Defaults to false.
consensusClient Changes to this property will trigger replacement. String
The consensus client Possible values are: CONSENSUS_CLIENT_UNSPECIFIED, LIGHTHOUSE.
executionClient Changes to this property will trigger replacement. String
The execution client Possible values are: EXECUTION_CLIENT_UNSPECIFIED, GETH, ERIGON.
gethDetails Property Map
User-provided key-value pairs Structure is documented below.
network Changes to this property will trigger replacement. String
The Ethereum environment being accessed. Possible values are: MAINNET, TESTNET_GOERLI_PRATER, TESTNET_SEPOLIA.
nodeType Changes to this property will trigger replacement. String
The type of Ethereum node. Possible values are: LIGHT, FULL, ARCHIVE.
validatorConfig Property Map
Configuration for validator-related parameters on the beacon client, and for any managed validator client. Structure is documented below.

BlockchainNodesEthereumDetailsAdditionalEndpoint
, BlockchainNodesEthereumDetailsAdditionalEndpointArgs

BeaconApiEndpoint string
The assigned URL for the node's Beacon API endpoint.
BeaconPrometheusMetricsApiEndpoint string
The assigned URL for the node's Beacon Prometheus metrics endpoint.
ExecutionClientPrometheusMetricsApiEndpoint string
The assigned URL for the node's execution client's Prometheus metrics endpoint.
BeaconApiEndpoint string
The assigned URL for the node's Beacon API endpoint.
BeaconPrometheusMetricsApiEndpoint string
The assigned URL for the node's Beacon Prometheus metrics endpoint.
ExecutionClientPrometheusMetricsApiEndpoint string
The assigned URL for the node's execution client's Prometheus metrics endpoint.
beaconApiEndpoint String
The assigned URL for the node's Beacon API endpoint.
beaconPrometheusMetricsApiEndpoint String
The assigned URL for the node's Beacon Prometheus metrics endpoint.
executionClientPrometheusMetricsApiEndpoint String
The assigned URL for the node's execution client's Prometheus metrics endpoint.
beaconApiEndpoint string
The assigned URL for the node's Beacon API endpoint.
beaconPrometheusMetricsApiEndpoint string
The assigned URL for the node's Beacon Prometheus metrics endpoint.
executionClientPrometheusMetricsApiEndpoint string
The assigned URL for the node's execution client's Prometheus metrics endpoint.
beacon_api_endpoint str
The assigned URL for the node's Beacon API endpoint.
beacon_prometheus_metrics_api_endpoint str
The assigned URL for the node's Beacon Prometheus metrics endpoint.
execution_client_prometheus_metrics_api_endpoint str
The assigned URL for the node's execution client's Prometheus metrics endpoint.
beaconApiEndpoint String
The assigned URL for the node's Beacon API endpoint.
beaconPrometheusMetricsApiEndpoint String
The assigned URL for the node's Beacon Prometheus metrics endpoint.
executionClientPrometheusMetricsApiEndpoint String
The assigned URL for the node's execution client's Prometheus metrics endpoint.

BlockchainNodesEthereumDetailsGethDetails
, BlockchainNodesEthereumDetailsGethDetailsArgs

GarbageCollectionMode Changes to this property will trigger replacement. string

Blockchain garbage collection modes. Only applicable when NodeType is FULL or ARCHIVE. Possible values are: FULL, ARCHIVE.

The additional_endpoints block contains:

GarbageCollectionMode Changes to this property will trigger replacement. string

Blockchain garbage collection modes. Only applicable when NodeType is FULL or ARCHIVE. Possible values are: FULL, ARCHIVE.

The additional_endpoints block contains:

garbageCollectionMode Changes to this property will trigger replacement. String

Blockchain garbage collection modes. Only applicable when NodeType is FULL or ARCHIVE. Possible values are: FULL, ARCHIVE.

The additional_endpoints block contains:

garbageCollectionMode Changes to this property will trigger replacement. string

Blockchain garbage collection modes. Only applicable when NodeType is FULL or ARCHIVE. Possible values are: FULL, ARCHIVE.

The additional_endpoints block contains:

garbage_collection_mode Changes to this property will trigger replacement. str

Blockchain garbage collection modes. Only applicable when NodeType is FULL or ARCHIVE. Possible values are: FULL, ARCHIVE.

The additional_endpoints block contains:

garbageCollectionMode Changes to this property will trigger replacement. String

Blockchain garbage collection modes. Only applicable when NodeType is FULL or ARCHIVE. Possible values are: FULL, ARCHIVE.

The additional_endpoints block contains:

BlockchainNodesEthereumDetailsValidatorConfig
, BlockchainNodesEthereumDetailsValidatorConfigArgs

MevRelayUrls List<string>
URLs for MEV-relay services to use for block building. When set, a managed MEV-boost service is configured on the beacon client.
MevRelayUrls []string
URLs for MEV-relay services to use for block building. When set, a managed MEV-boost service is configured on the beacon client.
mevRelayUrls List<String>
URLs for MEV-relay services to use for block building. When set, a managed MEV-boost service is configured on the beacon client.
mevRelayUrls string[]
URLs for MEV-relay services to use for block building. When set, a managed MEV-boost service is configured on the beacon client.
mev_relay_urls Sequence[str]
URLs for MEV-relay services to use for block building. When set, a managed MEV-boost service is configured on the beacon client.
mevRelayUrls List<String>
URLs for MEV-relay services to use for block building. When set, a managed MEV-boost service is configured on the beacon client.

Import

BlockchainNodes can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{location}}/blockchainNodes/{{blockchain_node_id}}

  • {{project}}/{{location}}/{{blockchain_node_id}}

  • {{location}}/{{blockchain_node_id}}

When using the pulumi import command, BlockchainNodes can be imported using one of the formats above. For example:

$ pulumi import gcp:blockchainnodeengine/blockchainNodes:BlockchainNodes default projects/{{project}}/locations/{{location}}/blockchainNodes/{{blockchain_node_id}}
Copy
$ pulumi import gcp:blockchainnodeengine/blockchainNodes:BlockchainNodes default {{project}}/{{location}}/{{blockchain_node_id}}
Copy
$ pulumi import gcp:blockchainnodeengine/blockchainNodes:BlockchainNodes default {{location}}/{{blockchain_node_id}}
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Google Cloud (GCP) Classic pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.