1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. BigDataService
  5. BdsInstanceReplaceNodeAction
Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi

oci.BigDataService.BdsInstanceReplaceNodeAction

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi

    This resource replaces the node with the given hostname, in Oracle Cloud Infrastructure Big Data Service cluster.

    Replace the node with the given host name in the cluster.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testBdsInstanceReplaceNodeAction = new oci.bigdataservice.BdsInstanceReplaceNodeAction("test_bds_instance_replace_node_action", {
        bdsInstanceId: testBdsInstance.id,
        nodeHostName: bdsInstanceReplaceNodeAction.nodeHostName,
        nodeBackupId: bdsInstanceReplaceNodeAction.nodeBackupId,
        clusterAdminPassword: testBdsInstance.clusterAdminPassword,
        shape: shape,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_bds_instance_replace_node_action = oci.big_data_service.BdsInstanceReplaceNodeAction("test_bds_instance_replace_node_action",
        bds_instance_id=test_bds_instance["id"],
        node_host_name=bds_instance_replace_node_action["nodeHostName"],
        node_backup_id=bds_instance_replace_node_action["nodeBackupId"],
        cluster_admin_password=test_bds_instance["clusterAdminPassword"],
        shape=shape)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/bigdataservice"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := bigdataservice.NewBdsInstanceReplaceNodeAction(ctx, "test_bds_instance_replace_node_action", &bigdataservice.BdsInstanceReplaceNodeActionArgs{
    			BdsInstanceId:        pulumi.Any(testBdsInstance.Id),
    			NodeHostName:         pulumi.Any(bdsInstanceReplaceNodeAction.NodeHostName),
    			NodeBackupId:         pulumi.Any(bdsInstanceReplaceNodeAction.NodeBackupId),
    			ClusterAdminPassword: pulumi.Any(testBdsInstance.ClusterAdminPassword),
    			Shape:                pulumi.Any(shape),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testBdsInstanceReplaceNodeAction = new Oci.BigDataService.BdsInstanceReplaceNodeAction("test_bds_instance_replace_node_action", new()
        {
            BdsInstanceId = testBdsInstance.Id,
            NodeHostName = bdsInstanceReplaceNodeAction.NodeHostName,
            NodeBackupId = bdsInstanceReplaceNodeAction.NodeBackupId,
            ClusterAdminPassword = testBdsInstance.ClusterAdminPassword,
            Shape = shape,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.BigDataService.BdsInstanceReplaceNodeAction;
    import com.pulumi.oci.BigDataService.BdsInstanceReplaceNodeActionArgs;
    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 testBdsInstanceReplaceNodeAction = new BdsInstanceReplaceNodeAction("testBdsInstanceReplaceNodeAction", BdsInstanceReplaceNodeActionArgs.builder()
                .bdsInstanceId(testBdsInstance.id())
                .nodeHostName(bdsInstanceReplaceNodeAction.nodeHostName())
                .nodeBackupId(bdsInstanceReplaceNodeAction.nodeBackupId())
                .clusterAdminPassword(testBdsInstance.clusterAdminPassword())
                .shape(shape)
                .build());
    
        }
    }
    
    resources:
      testBdsInstanceReplaceNodeAction:
        type: oci:BigDataService:BdsInstanceReplaceNodeAction
        name: test_bds_instance_replace_node_action
        properties:
          bdsInstanceId: ${testBdsInstance.id}
          nodeHostName: ${bdsInstanceReplaceNodeAction.nodeHostName}
          nodeBackupId: ${bdsInstanceReplaceNodeAction.nodeBackupId}
          clusterAdminPassword: ${testBdsInstance.clusterAdminPassword}
          shape: ${shape}
    

    Create BdsInstanceReplaceNodeAction Resource

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

    Constructor syntax

    new BdsInstanceReplaceNodeAction(name: string, args: BdsInstanceReplaceNodeActionArgs, opts?: CustomResourceOptions);
    @overload
    def BdsInstanceReplaceNodeAction(resource_name: str,
                                     args: BdsInstanceReplaceNodeActionArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def BdsInstanceReplaceNodeAction(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     bds_instance_id: Optional[str] = None,
                                     cluster_admin_password: Optional[str] = None,
                                     node_backup_id: Optional[str] = None,
                                     node_host_name: Optional[str] = None,
                                     shape: Optional[str] = None)
    func NewBdsInstanceReplaceNodeAction(ctx *Context, name string, args BdsInstanceReplaceNodeActionArgs, opts ...ResourceOption) (*BdsInstanceReplaceNodeAction, error)
    public BdsInstanceReplaceNodeAction(string name, BdsInstanceReplaceNodeActionArgs args, CustomResourceOptions? opts = null)
    public BdsInstanceReplaceNodeAction(String name, BdsInstanceReplaceNodeActionArgs args)
    public BdsInstanceReplaceNodeAction(String name, BdsInstanceReplaceNodeActionArgs args, CustomResourceOptions options)
    
    type: oci:BigDataService:BdsInstanceReplaceNodeAction
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args BdsInstanceReplaceNodeActionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args BdsInstanceReplaceNodeActionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args BdsInstanceReplaceNodeActionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BdsInstanceReplaceNodeActionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BdsInstanceReplaceNodeActionArgs
    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 bdsInstanceReplaceNodeActionResource = new Oci.BigDataService.BdsInstanceReplaceNodeAction("bdsInstanceReplaceNodeActionResource", new()
    {
        BdsInstanceId = "string",
        ClusterAdminPassword = "string",
        NodeBackupId = "string",
        NodeHostName = "string",
        Shape = "string",
    });
    
    example, err := bigdataservice.NewBdsInstanceReplaceNodeAction(ctx, "bdsInstanceReplaceNodeActionResource", &bigdataservice.BdsInstanceReplaceNodeActionArgs{
    	BdsInstanceId:        pulumi.String("string"),
    	ClusterAdminPassword: pulumi.String("string"),
    	NodeBackupId:         pulumi.String("string"),
    	NodeHostName:         pulumi.String("string"),
    	Shape:                pulumi.String("string"),
    })
    
    var bdsInstanceReplaceNodeActionResource = new BdsInstanceReplaceNodeAction("bdsInstanceReplaceNodeActionResource", BdsInstanceReplaceNodeActionArgs.builder()
        .bdsInstanceId("string")
        .clusterAdminPassword("string")
        .nodeBackupId("string")
        .nodeHostName("string")
        .shape("string")
        .build());
    
    bds_instance_replace_node_action_resource = oci.bigdataservice.BdsInstanceReplaceNodeAction("bdsInstanceReplaceNodeActionResource",
        bds_instance_id="string",
        cluster_admin_password="string",
        node_backup_id="string",
        node_host_name="string",
        shape="string")
    
    const bdsInstanceReplaceNodeActionResource = new oci.bigdataservice.BdsInstanceReplaceNodeAction("bdsInstanceReplaceNodeActionResource", {
        bdsInstanceId: "string",
        clusterAdminPassword: "string",
        nodeBackupId: "string",
        nodeHostName: "string",
        shape: "string",
    });
    
    type: oci:BigDataService:BdsInstanceReplaceNodeAction
    properties:
        bdsInstanceId: string
        clusterAdminPassword: string
        nodeBackupId: string
        nodeHostName: string
        shape: string
    

    BdsInstanceReplaceNodeAction 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 BdsInstanceReplaceNodeAction resource accepts the following input properties:

    BdsInstanceId string
    The OCID of the cluster.
    ClusterAdminPassword string
    Base-64 encoded password for the cluster admin user.
    NodeBackupId string
    The id of the nodeBackup to use for replacing the node.
    NodeHostName string
    Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types
    Shape string

    Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace the node with the shape of current node.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    BdsInstanceId string
    The OCID of the cluster.
    ClusterAdminPassword string
    Base-64 encoded password for the cluster admin user.
    NodeBackupId string
    The id of the nodeBackup to use for replacing the node.
    NodeHostName string
    Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types
    Shape string

    Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace the node with the shape of current node.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bdsInstanceId String
    The OCID of the cluster.
    clusterAdminPassword String
    Base-64 encoded password for the cluster admin user.
    nodeBackupId String
    The id of the nodeBackup to use for replacing the node.
    nodeHostName String
    Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types
    shape String

    Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace the node with the shape of current node.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bdsInstanceId string
    The OCID of the cluster.
    clusterAdminPassword string
    Base-64 encoded password for the cluster admin user.
    nodeBackupId string
    The id of the nodeBackup to use for replacing the node.
    nodeHostName string
    Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types
    shape string

    Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace the node with the shape of current node.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bds_instance_id str
    The OCID of the cluster.
    cluster_admin_password str
    Base-64 encoded password for the cluster admin user.
    node_backup_id str
    The id of the nodeBackup to use for replacing the node.
    node_host_name str
    Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types
    shape str

    Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace the node with the shape of current node.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bdsInstanceId String
    The OCID of the cluster.
    clusterAdminPassword String
    Base-64 encoded password for the cluster admin user.
    nodeBackupId String
    The id of the nodeBackup to use for replacing the node.
    nodeHostName String
    Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types
    shape String

    Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace the node with the shape of current node.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing BdsInstanceReplaceNodeAction Resource

    Get an existing BdsInstanceReplaceNodeAction 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?: BdsInstanceReplaceNodeActionState, opts?: CustomResourceOptions): BdsInstanceReplaceNodeAction
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bds_instance_id: Optional[str] = None,
            cluster_admin_password: Optional[str] = None,
            node_backup_id: Optional[str] = None,
            node_host_name: Optional[str] = None,
            shape: Optional[str] = None) -> BdsInstanceReplaceNodeAction
    func GetBdsInstanceReplaceNodeAction(ctx *Context, name string, id IDInput, state *BdsInstanceReplaceNodeActionState, opts ...ResourceOption) (*BdsInstanceReplaceNodeAction, error)
    public static BdsInstanceReplaceNodeAction Get(string name, Input<string> id, BdsInstanceReplaceNodeActionState? state, CustomResourceOptions? opts = null)
    public static BdsInstanceReplaceNodeAction get(String name, Output<String> id, BdsInstanceReplaceNodeActionState state, CustomResourceOptions options)
    resources:  _:    type: oci:BigDataService:BdsInstanceReplaceNodeAction    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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:
    BdsInstanceId string
    The OCID of the cluster.
    ClusterAdminPassword string
    Base-64 encoded password for the cluster admin user.
    NodeBackupId string
    The id of the nodeBackup to use for replacing the node.
    NodeHostName string
    Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types
    Shape string

    Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace the node with the shape of current node.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    BdsInstanceId string
    The OCID of the cluster.
    ClusterAdminPassword string
    Base-64 encoded password for the cluster admin user.
    NodeBackupId string
    The id of the nodeBackup to use for replacing the node.
    NodeHostName string
    Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types
    Shape string

    Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace the node with the shape of current node.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bdsInstanceId String
    The OCID of the cluster.
    clusterAdminPassword String
    Base-64 encoded password for the cluster admin user.
    nodeBackupId String
    The id of the nodeBackup to use for replacing the node.
    nodeHostName String
    Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types
    shape String

    Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace the node with the shape of current node.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bdsInstanceId string
    The OCID of the cluster.
    clusterAdminPassword string
    Base-64 encoded password for the cluster admin user.
    nodeBackupId string
    The id of the nodeBackup to use for replacing the node.
    nodeHostName string
    Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types
    shape string

    Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace the node with the shape of current node.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bds_instance_id str
    The OCID of the cluster.
    cluster_admin_password str
    Base-64 encoded password for the cluster admin user.
    node_backup_id str
    The id of the nodeBackup to use for replacing the node.
    node_host_name str
    Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types
    shape str

    Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace the node with the shape of current node.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bdsInstanceId String
    The OCID of the cluster.
    clusterAdminPassword String
    Base-64 encoded password for the cluster admin user.
    nodeBackupId String
    The id of the nodeBackup to use for replacing the node.
    nodeHostName String
    Host name of the node to replace. MASTER, UTILITY and EDGE node are only supported types
    shape String

    Shape of the new vm when replacing the node. If not provided, BDS will attempt to replace the node with the shape of current node.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.3.0 published on Thursday, Jul 17, 2025 by Pulumi