1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. BigDataService
  6. getBdsCapacityReservation
Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi

    This data source provides details about a specific Bds Capacity Reservation resource in Oracle Cloud Infrastructure Big Data Service service.

    Returns information about the BDS capacity reservation identified by the given ID.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testBdsCapacityReservation = oci.bigdataservice.getBdsCapacityReservation({
        bdsCapacityReservationId: testBdsCapacityReservationOciBdsBdsCapacityReservation.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_bds_capacity_reservation = oci.bigdataservice.get_bds_capacity_reservation(bds_capacity_reservation_id=test_bds_capacity_reservation_oci_bds_bds_capacity_reservation["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/bigdataservice"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := bigdataservice.GetBdsCapacityReservation(ctx, &bigdataservice.GetBdsCapacityReservationArgs{
    			BdsCapacityReservationId: testBdsCapacityReservationOciBdsBdsCapacityReservation.Id,
    		}, 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 testBdsCapacityReservation = Oci.BigDataService.GetBdsCapacityReservation.Invoke(new()
        {
            BdsCapacityReservationId = testBdsCapacityReservationOciBdsBdsCapacityReservation.Id,
        });
    
    });
    
    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.GetBdsCapacityReservationArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 testBdsCapacityReservation = BigDataServiceFunctions.getBdsCapacityReservation(GetBdsCapacityReservationArgs.builder()
                .bdsCapacityReservationId(testBdsCapacityReservationOciBdsBdsCapacityReservation.id())
                .build());
    
        }
    }
    
    variables:
      testBdsCapacityReservation:
        fn::invoke:
          function: oci:BigDataService:getBdsCapacityReservation
          arguments:
            bdsCapacityReservationId: ${testBdsCapacityReservationOciBdsBdsCapacityReservation.id}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_bigdataservice_getbdscapacityreservation" "testBdsCapacityReservation" {
      bds_capacity_reservation_id = testBdsCapacityReservationOciBdsBdsCapacityReservation.id
    }
    

    Using getBdsCapacityReservation

    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 getBdsCapacityReservation(args: GetBdsCapacityReservationArgs, opts?: InvokeOptions): Promise<GetBdsCapacityReservationResult>
    function getBdsCapacityReservationOutput(args: GetBdsCapacityReservationOutputArgs, opts?: InvokeOutputOptions): Output<GetBdsCapacityReservationResult>
    def get_bds_capacity_reservation(bds_capacity_reservation_id: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetBdsCapacityReservationResult
    def get_bds_capacity_reservation_output(bds_capacity_reservation_id: pulumi.Input[Optional[str]] = None,
                                     opts: Optional[InvokeOutputOptions] = None) -> Output[GetBdsCapacityReservationResult]
    func LookupBdsCapacityReservation(ctx *Context, args *LookupBdsCapacityReservationArgs, opts ...InvokeOption) (*LookupBdsCapacityReservationResult, error)
    func LookupBdsCapacityReservationOutput(ctx *Context, args *LookupBdsCapacityReservationOutputArgs, opts ...InvokeOption) LookupBdsCapacityReservationResultOutput

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

    public static class GetBdsCapacityReservation 
    {
        public static Task<GetBdsCapacityReservationResult> InvokeAsync(GetBdsCapacityReservationArgs args, InvokeOptions? opts = null)
        public static Output<GetBdsCapacityReservationResult> Invoke(GetBdsCapacityReservationInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetBdsCapacityReservationResult> Invoke(GetBdsCapacityReservationInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetBdsCapacityReservationResult> getBdsCapacityReservation(GetBdsCapacityReservationArgs args, InvokeOptions options)
    public static Output<GetBdsCapacityReservationResult> getBdsCapacityReservation(GetBdsCapacityReservationArgs args, InvokeOptions options)
    public static Output<GetBdsCapacityReservationResult> getBdsCapacityReservation(GetBdsCapacityReservationArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: oci:BigDataService/getBdsCapacityReservation:getBdsCapacityReservation
      arguments:
        # arguments dictionary
    data "oci_big_data_service_get_bds_capacity_reservation" "name" {
        # arguments
    }

    The following arguments are supported:

    BdsCapacityReservationId string
    The OCID of the BDS capacity reservation.
    BdsCapacityReservationId string
    The OCID of the BDS capacity reservation.
    bds_capacity_reservation_id string
    The OCID of the BDS capacity reservation.
    bdsCapacityReservationId String
    The OCID of the BDS capacity reservation.
    bdsCapacityReservationId string
    The OCID of the BDS capacity reservation.
    bds_capacity_reservation_id str
    The OCID of the BDS capacity reservation.
    bdsCapacityReservationId String
    The OCID of the BDS capacity reservation.

    getBdsCapacityReservation Result

    The following output properties are available:

    BdsCapacityReservationId string
    CompartmentId string
    The OCID of the compartment that contains the BDS capacity reservation.
    ComputeCapacityReservations List<GetBdsCapacityReservationComputeCapacityReservation>
    Compute capacity reservation ID mappings by domain. For a multi-AD region, domain1, domain2, and domain3 correspond to AD1, AD2, and AD3 respectively. For a single-AD region, domain1, domain2, and domain3 correspond to FD1, FD2, and FD3 respectively.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For example, {"foo-namespace": {"bar-key": "value"}}
    DisplayName string
    A user-friendly name for the BDS capacity reservation.
    FreeformTags Dictionary<string, string>
    Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. For example, {"bar-key": "value"}
    Id string
    The OCID of the BDS capacity reservation.
    State string
    The lifecycle state of the BDS capacity reservation.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces.
    TimeCreated string
    The time the BDS capacity reservation was created, shown as an RFC 3339 formatted datetime string.
    TimeUpdated string
    The time the BDS capacity reservation was updated, shown as an RFC 3339 formatted datetime string.
    BdsCapacityReservationId string
    CompartmentId string
    The OCID of the compartment that contains the BDS capacity reservation.
    ComputeCapacityReservations []GetBdsCapacityReservationComputeCapacityReservation
    Compute capacity reservation ID mappings by domain. For a multi-AD region, domain1, domain2, and domain3 correspond to AD1, AD2, and AD3 respectively. For a single-AD region, domain1, domain2, and domain3 correspond to FD1, FD2, and FD3 respectively.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For example, {"foo-namespace": {"bar-key": "value"}}
    DisplayName string
    A user-friendly name for the BDS capacity reservation.
    FreeformTags map[string]string
    Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. For example, {"bar-key": "value"}
    Id string
    The OCID of the BDS capacity reservation.
    State string
    The lifecycle state of the BDS capacity reservation.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces.
    TimeCreated string
    The time the BDS capacity reservation was created, shown as an RFC 3339 formatted datetime string.
    TimeUpdated string
    The time the BDS capacity reservation was updated, shown as an RFC 3339 formatted datetime string.
    bds_capacity_reservation_id string
    compartment_id string
    The OCID of the compartment that contains the BDS capacity reservation.
    compute_capacity_reservations list(object)
    Compute capacity reservation ID mappings by domain. For a multi-AD region, domain1, domain2, and domain3 correspond to AD1, AD2, and AD3 respectively. For a single-AD region, domain1, domain2, and domain3 correspond to FD1, FD2, and FD3 respectively.
    defined_tags map(string)
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For example, {"foo-namespace": {"bar-key": "value"}}
    display_name string
    A user-friendly name for the BDS capacity reservation.
    freeform_tags map(string)
    Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. For example, {"bar-key": "value"}
    id string
    The OCID of the BDS capacity reservation.
    state string
    The lifecycle state of the BDS capacity reservation.
    system_tags map(string)
    Usage of system tag keys. These predefined keys are scoped to namespaces.
    time_created string
    The time the BDS capacity reservation was created, shown as an RFC 3339 formatted datetime string.
    time_updated string
    The time the BDS capacity reservation was updated, shown as an RFC 3339 formatted datetime string.
    bdsCapacityReservationId String
    compartmentId String
    The OCID of the compartment that contains the BDS capacity reservation.
    computeCapacityReservations List<GetBdsCapacityReservationComputeCapacityReservation>
    Compute capacity reservation ID mappings by domain. For a multi-AD region, domain1, domain2, and domain3 correspond to AD1, AD2, and AD3 respectively. For a single-AD region, domain1, domain2, and domain3 correspond to FD1, FD2, and FD3 respectively.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For example, {"foo-namespace": {"bar-key": "value"}}
    displayName String
    A user-friendly name for the BDS capacity reservation.
    freeformTags Map<String,String>
    Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. For example, {"bar-key": "value"}
    id String
    The OCID of the BDS capacity reservation.
    state String
    The lifecycle state of the BDS capacity reservation.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces.
    timeCreated String
    The time the BDS capacity reservation was created, shown as an RFC 3339 formatted datetime string.
    timeUpdated String
    The time the BDS capacity reservation was updated, shown as an RFC 3339 formatted datetime string.
    bdsCapacityReservationId string
    compartmentId string
    The OCID of the compartment that contains the BDS capacity reservation.
    computeCapacityReservations GetBdsCapacityReservationComputeCapacityReservation[]
    Compute capacity reservation ID mappings by domain. For a multi-AD region, domain1, domain2, and domain3 correspond to AD1, AD2, and AD3 respectively. For a single-AD region, domain1, domain2, and domain3 correspond to FD1, FD2, and FD3 respectively.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For example, {"foo-namespace": {"bar-key": "value"}}
    displayName string
    A user-friendly name for the BDS capacity reservation.
    freeformTags {[key: string]: string}
    Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. For example, {"bar-key": "value"}
    id string
    The OCID of the BDS capacity reservation.
    state string
    The lifecycle state of the BDS capacity reservation.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces.
    timeCreated string
    The time the BDS capacity reservation was created, shown as an RFC 3339 formatted datetime string.
    timeUpdated string
    The time the BDS capacity reservation was updated, shown as an RFC 3339 formatted datetime string.
    bds_capacity_reservation_id str
    compartment_id str
    The OCID of the compartment that contains the BDS capacity reservation.
    compute_capacity_reservations Sequence[GetBdsCapacityReservationComputeCapacityReservation]
    Compute capacity reservation ID mappings by domain. For a multi-AD region, domain1, domain2, and domain3 correspond to AD1, AD2, and AD3 respectively. For a single-AD region, domain1, domain2, and domain3 correspond to FD1, FD2, and FD3 respectively.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For example, {"foo-namespace": {"bar-key": "value"}}
    display_name str
    A user-friendly name for the BDS capacity reservation.
    freeform_tags Mapping[str, str]
    Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. For example, {"bar-key": "value"}
    id str
    The OCID of the BDS capacity reservation.
    state str
    The lifecycle state of the BDS capacity reservation.
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces.
    time_created str
    The time the BDS capacity reservation was created, shown as an RFC 3339 formatted datetime string.
    time_updated str
    The time the BDS capacity reservation was updated, shown as an RFC 3339 formatted datetime string.
    bdsCapacityReservationId String
    compartmentId String
    The OCID of the compartment that contains the BDS capacity reservation.
    computeCapacityReservations List<Property Map>
    Compute capacity reservation ID mappings by domain. For a multi-AD region, domain1, domain2, and domain3 correspond to AD1, AD2, and AD3 respectively. For a single-AD region, domain1, domain2, and domain3 correspond to FD1, FD2, and FD3 respectively.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For example, {"foo-namespace": {"bar-key": "value"}}
    displayName String
    A user-friendly name for the BDS capacity reservation.
    freeformTags Map<String>
    Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. For example, {"bar-key": "value"}
    id String
    The OCID of the BDS capacity reservation.
    state String
    The lifecycle state of the BDS capacity reservation.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces.
    timeCreated String
    The time the BDS capacity reservation was created, shown as an RFC 3339 formatted datetime string.
    timeUpdated String
    The time the BDS capacity reservation was updated, shown as an RFC 3339 formatted datetime string.

    Supporting Types

    GetBdsCapacityReservationComputeCapacityReservation

    Domain1reservationId string
    Compute capacity reservation OCID corresponding to AD1 for a multi-AD region or FD1 for a single-AD region.
    Domain2reservationId string
    Compute capacity reservation OCID corresponding to AD2 for a multi-AD region or FD2 for a single-AD region.
    Domain3reservationId string
    Compute capacity reservation OCID corresponding to AD3 for a multi-AD region or FD3 for a single-AD region.
    Domain1reservationId string
    Compute capacity reservation OCID corresponding to AD1 for a multi-AD region or FD1 for a single-AD region.
    Domain2reservationId string
    Compute capacity reservation OCID corresponding to AD2 for a multi-AD region or FD2 for a single-AD region.
    Domain3reservationId string
    Compute capacity reservation OCID corresponding to AD3 for a multi-AD region or FD3 for a single-AD region.
    domain1reservation_id string
    Compute capacity reservation OCID corresponding to AD1 for a multi-AD region or FD1 for a single-AD region.
    domain2reservation_id string
    Compute capacity reservation OCID corresponding to AD2 for a multi-AD region or FD2 for a single-AD region.
    domain3reservation_id string
    Compute capacity reservation OCID corresponding to AD3 for a multi-AD region or FD3 for a single-AD region.
    domain1reservationId String
    Compute capacity reservation OCID corresponding to AD1 for a multi-AD region or FD1 for a single-AD region.
    domain2reservationId String
    Compute capacity reservation OCID corresponding to AD2 for a multi-AD region or FD2 for a single-AD region.
    domain3reservationId String
    Compute capacity reservation OCID corresponding to AD3 for a multi-AD region or FD3 for a single-AD region.
    domain1reservationId string
    Compute capacity reservation OCID corresponding to AD1 for a multi-AD region or FD1 for a single-AD region.
    domain2reservationId string
    Compute capacity reservation OCID corresponding to AD2 for a multi-AD region or FD2 for a single-AD region.
    domain3reservationId string
    Compute capacity reservation OCID corresponding to AD3 for a multi-AD region or FD3 for a single-AD region.
    domain1reservation_id str
    Compute capacity reservation OCID corresponding to AD1 for a multi-AD region or FD1 for a single-AD region.
    domain2reservation_id str
    Compute capacity reservation OCID corresponding to AD2 for a multi-AD region or FD2 for a single-AD region.
    domain3reservation_id str
    Compute capacity reservation OCID corresponding to AD3 for a multi-AD region or FD3 for a single-AD region.
    domain1reservationId String
    Compute capacity reservation OCID corresponding to AD1 for a multi-AD region or FD1 for a single-AD region.
    domain2reservationId String
    Compute capacity reservation OCID corresponding to AD2 for a multi-AD region or FD2 for a single-AD region.
    domain3reservationId String
    Compute capacity reservation OCID corresponding to AD3 for a multi-AD region or FD3 for a single-AD region.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo oci logo
    Viewing docs for Oracle Cloud Infrastructure v4.22.0
    published on Wednesday, Aug 26, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial