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

oci.BigDataService.getBdsInstanceNodeBackups

Explore with Pulumi AI

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

    This data source provides the list of Bds Instance Node Backups in Oracle Cloud Infrastructure Big Data Service service.

    Returns information about the node Backups.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testBdsInstanceNodeBackups = oci.BigDataService.getBdsInstanceNodeBackups({
        bdsInstanceId: testBdsInstance.id,
        displayName: bdsInstanceNodeBackupDisplayName,
        nodeHostName: bdsInstanceNodeBackupNodeHostName,
        state: bdsInstanceNodeBackupState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_bds_instance_node_backups = oci.BigDataService.get_bds_instance_node_backups(bds_instance_id=test_bds_instance["id"],
        display_name=bds_instance_node_backup_display_name,
        node_host_name=bds_instance_node_backup_node_host_name,
        state=bds_instance_node_backup_state)
    
    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.GetBdsInstanceNodeBackups(ctx, &bigdataservice.GetBdsInstanceNodeBackupsArgs{
    			BdsInstanceId: testBdsInstance.Id,
    			DisplayName:   pulumi.StringRef(bdsInstanceNodeBackupDisplayName),
    			NodeHostName:  pulumi.StringRef(bdsInstanceNodeBackupNodeHostName),
    			State:         pulumi.StringRef(bdsInstanceNodeBackupState),
    		}, nil)
    		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 testBdsInstanceNodeBackups = Oci.BigDataService.GetBdsInstanceNodeBackups.Invoke(new()
        {
            BdsInstanceId = testBdsInstance.Id,
            DisplayName = bdsInstanceNodeBackupDisplayName,
            NodeHostName = bdsInstanceNodeBackupNodeHostName,
            State = bdsInstanceNodeBackupState,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.BigDataService.BigDataServiceFunctions;
    import com.pulumi.oci.BigDataService.inputs.GetBdsInstanceNodeBackupsArgs;
    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) {
            final var testBdsInstanceNodeBackups = BigDataServiceFunctions.getBdsInstanceNodeBackups(GetBdsInstanceNodeBackupsArgs.builder()
                .bdsInstanceId(testBdsInstance.id())
                .displayName(bdsInstanceNodeBackupDisplayName)
                .nodeHostName(bdsInstanceNodeBackupNodeHostName)
                .state(bdsInstanceNodeBackupState)
                .build());
    
        }
    }
    
    variables:
      testBdsInstanceNodeBackups:
        fn::invoke:
          function: oci:BigDataService:getBdsInstanceNodeBackups
          arguments:
            bdsInstanceId: ${testBdsInstance.id}
            displayName: ${bdsInstanceNodeBackupDisplayName}
            nodeHostName: ${bdsInstanceNodeBackupNodeHostName}
            state: ${bdsInstanceNodeBackupState}
    

    Using getBdsInstanceNodeBackups

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getBdsInstanceNodeBackups(args: GetBdsInstanceNodeBackupsArgs, opts?: InvokeOptions): Promise<GetBdsInstanceNodeBackupsResult>
    function getBdsInstanceNodeBackupsOutput(args: GetBdsInstanceNodeBackupsOutputArgs, opts?: InvokeOptions): Output<GetBdsInstanceNodeBackupsResult>
    def get_bds_instance_node_backups(bds_instance_id: Optional[str] = None,
                                      display_name: Optional[str] = None,
                                      filters: Optional[Sequence[GetBdsInstanceNodeBackupsFilter]] = None,
                                      node_host_name: Optional[str] = None,
                                      state: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetBdsInstanceNodeBackupsResult
    def get_bds_instance_node_backups_output(bds_instance_id: Optional[pulumi.Input[str]] = None,
                                      display_name: Optional[pulumi.Input[str]] = None,
                                      filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetBdsInstanceNodeBackupsFilterArgs]]]] = None,
                                      node_host_name: Optional[pulumi.Input[str]] = None,
                                      state: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetBdsInstanceNodeBackupsResult]
    func GetBdsInstanceNodeBackups(ctx *Context, args *GetBdsInstanceNodeBackupsArgs, opts ...InvokeOption) (*GetBdsInstanceNodeBackupsResult, error)
    func GetBdsInstanceNodeBackupsOutput(ctx *Context, args *GetBdsInstanceNodeBackupsOutputArgs, opts ...InvokeOption) GetBdsInstanceNodeBackupsResultOutput

    > Note: This function is named GetBdsInstanceNodeBackups in the Go SDK.

    public static class GetBdsInstanceNodeBackups 
    {
        public static Task<GetBdsInstanceNodeBackupsResult> InvokeAsync(GetBdsInstanceNodeBackupsArgs args, InvokeOptions? opts = null)
        public static Output<GetBdsInstanceNodeBackupsResult> Invoke(GetBdsInstanceNodeBackupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBdsInstanceNodeBackupsResult> getBdsInstanceNodeBackups(GetBdsInstanceNodeBackupsArgs args, InvokeOptions options)
    public static Output<GetBdsInstanceNodeBackupsResult> getBdsInstanceNodeBackups(GetBdsInstanceNodeBackupsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:BigDataService/getBdsInstanceNodeBackups:getBdsInstanceNodeBackups
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BdsInstanceId string
    The OCID of the cluster.
    DisplayName string
    The display name belonged to the node backup.
    Filters List<GetBdsInstanceNodeBackupsFilter>
    NodeHostName string
    The node host name belonged to a node that has a node backup.
    State string
    The state of the Node's Backup.
    BdsInstanceId string
    The OCID of the cluster.
    DisplayName string
    The display name belonged to the node backup.
    Filters []GetBdsInstanceNodeBackupsFilter
    NodeHostName string
    The node host name belonged to a node that has a node backup.
    State string
    The state of the Node's Backup.
    bdsInstanceId String
    The OCID of the cluster.
    displayName String
    The display name belonged to the node backup.
    filters List<GetBdsInstanceNodeBackupsFilter>
    nodeHostName String
    The node host name belonged to a node that has a node backup.
    state String
    The state of the Node's Backup.
    bdsInstanceId string
    The OCID of the cluster.
    displayName string
    The display name belonged to the node backup.
    filters GetBdsInstanceNodeBackupsFilter[]
    nodeHostName string
    The node host name belonged to a node that has a node backup.
    state string
    The state of the Node's Backup.
    bds_instance_id str
    The OCID of the cluster.
    display_name str
    The display name belonged to the node backup.
    filters Sequence[GetBdsInstanceNodeBackupsFilter]
    node_host_name str
    The node host name belonged to a node that has a node backup.
    state str
    The state of the Node's Backup.
    bdsInstanceId String
    The OCID of the cluster.
    displayName String
    The display name belonged to the node backup.
    filters List<Property Map>
    nodeHostName String
    The node host name belonged to a node that has a node backup.
    state String
    The state of the Node's Backup.

    getBdsInstanceNodeBackups Result

    The following output properties are available:

    BdsInstanceId string
    Id string
    The provider-assigned unique ID for this managed resource.
    NodeBackups List<GetBdsInstanceNodeBackupsNodeBackup>
    The list of node_backups.
    DisplayName string
    BDS generated name for the backup. Format is nodeHostName_timeCreated.
    Filters List<GetBdsInstanceNodeBackupsFilter>
    NodeHostName string
    Host name of the node to which this backup belongs.
    State string
    The state of the NodeBackup.
    BdsInstanceId string
    Id string
    The provider-assigned unique ID for this managed resource.
    NodeBackups []GetBdsInstanceNodeBackupsNodeBackup
    The list of node_backups.
    DisplayName string
    BDS generated name for the backup. Format is nodeHostName_timeCreated.
    Filters []GetBdsInstanceNodeBackupsFilter
    NodeHostName string
    Host name of the node to which this backup belongs.
    State string
    The state of the NodeBackup.
    bdsInstanceId String
    id String
    The provider-assigned unique ID for this managed resource.
    nodeBackups List<GetBdsInstanceNodeBackupsNodeBackup>
    The list of node_backups.
    displayName String
    BDS generated name for the backup. Format is nodeHostName_timeCreated.
    filters List<GetBdsInstanceNodeBackupsFilter>
    nodeHostName String
    Host name of the node to which this backup belongs.
    state String
    The state of the NodeBackup.
    bdsInstanceId string
    id string
    The provider-assigned unique ID for this managed resource.
    nodeBackups GetBdsInstanceNodeBackupsNodeBackup[]
    The list of node_backups.
    displayName string
    BDS generated name for the backup. Format is nodeHostName_timeCreated.
    filters GetBdsInstanceNodeBackupsFilter[]
    nodeHostName string
    Host name of the node to which this backup belongs.
    state string
    The state of the NodeBackup.
    bds_instance_id str
    id str
    The provider-assigned unique ID for this managed resource.
    node_backups Sequence[GetBdsInstanceNodeBackupsNodeBackup]
    The list of node_backups.
    display_name str
    BDS generated name for the backup. Format is nodeHostName_timeCreated.
    filters Sequence[GetBdsInstanceNodeBackupsFilter]
    node_host_name str
    Host name of the node to which this backup belongs.
    state str
    The state of the NodeBackup.
    bdsInstanceId String
    id String
    The provider-assigned unique ID for this managed resource.
    nodeBackups List<Property Map>
    The list of node_backups.
    displayName String
    BDS generated name for the backup. Format is nodeHostName_timeCreated.
    filters List<Property Map>
    nodeHostName String
    Host name of the node to which this backup belongs.
    state String
    The state of the NodeBackup.

    Supporting Types

    GetBdsInstanceNodeBackupsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetBdsInstanceNodeBackupsNodeBackup

    BackupTriggerType string
    type based on how backup action was initiated.
    BackupType string
    Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created.
    DisplayName string
    The display name belonged to the node backup.
    Id string
    The id of the node backup.
    NodeBackupConfigId string
    The ID of the nodeBackupConfiguration if the NodeBackup is automatically created by applying the configuration.
    NodeHostName string
    The node host name belonged to a node that has a node backup.
    NodeInstanceId string
    The instance OCID of the node, which is the resource from which the node backup was acquired.
    State string
    The state of the Node's Backup.
    TimeCreated string
    The time the cluster was created, shown as an RFC 3339 formatted datetime string.
    BackupTriggerType string
    type based on how backup action was initiated.
    BackupType string
    Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created.
    DisplayName string
    The display name belonged to the node backup.
    Id string
    The id of the node backup.
    NodeBackupConfigId string
    The ID of the nodeBackupConfiguration if the NodeBackup is automatically created by applying the configuration.
    NodeHostName string
    The node host name belonged to a node that has a node backup.
    NodeInstanceId string
    The instance OCID of the node, which is the resource from which the node backup was acquired.
    State string
    The state of the Node's Backup.
    TimeCreated string
    The time the cluster was created, shown as an RFC 3339 formatted datetime string.
    backupTriggerType String
    type based on how backup action was initiated.
    backupType String
    Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created.
    displayName String
    The display name belonged to the node backup.
    id String
    The id of the node backup.
    nodeBackupConfigId String
    The ID of the nodeBackupConfiguration if the NodeBackup is automatically created by applying the configuration.
    nodeHostName String
    The node host name belonged to a node that has a node backup.
    nodeInstanceId String
    The instance OCID of the node, which is the resource from which the node backup was acquired.
    state String
    The state of the Node's Backup.
    timeCreated String
    The time the cluster was created, shown as an RFC 3339 formatted datetime string.
    backupTriggerType string
    type based on how backup action was initiated.
    backupType string
    Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created.
    displayName string
    The display name belonged to the node backup.
    id string
    The id of the node backup.
    nodeBackupConfigId string
    The ID of the nodeBackupConfiguration if the NodeBackup is automatically created by applying the configuration.
    nodeHostName string
    The node host name belonged to a node that has a node backup.
    nodeInstanceId string
    The instance OCID of the node, which is the resource from which the node backup was acquired.
    state string
    The state of the Node's Backup.
    timeCreated string
    The time the cluster was created, shown as an RFC 3339 formatted datetime string.
    backup_trigger_type str
    type based on how backup action was initiated.
    backup_type str
    Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created.
    display_name str
    The display name belonged to the node backup.
    id str
    The id of the node backup.
    node_backup_config_id str
    The ID of the nodeBackupConfiguration if the NodeBackup is automatically created by applying the configuration.
    node_host_name str
    The node host name belonged to a node that has a node backup.
    node_instance_id str
    The instance OCID of the node, which is the resource from which the node backup was acquired.
    state str
    The state of the Node's Backup.
    time_created str
    The time the cluster was created, shown as an RFC 3339 formatted datetime string.
    backupTriggerType String
    type based on how backup action was initiated.
    backupType String
    Incremental backup type includes only the changes since the last backup. Full backup type includes all changes since the volume was created.
    displayName String
    The display name belonged to the node backup.
    id String
    The id of the node backup.
    nodeBackupConfigId String
    The ID of the nodeBackupConfiguration if the NodeBackup is automatically created by applying the configuration.
    nodeHostName String
    The node host name belonged to a node that has a node backup.
    nodeInstanceId String
    The instance OCID of the node, which is the resource from which the node backup was acquired.
    state String
    The state of the Node's Backup.
    timeCreated String
    The time the cluster was created, shown as an RFC 3339 formatted datetime string.

    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