Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi
published on Wednesday, Aug 26, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi
published on Wednesday, Aug 26, 2026 by Pulumi
This data source provides the list of Bds Capacity Reservations in Oracle Cloud Infrastructure Big Data Service service.
Returns a list of BDS capacity reservations in a compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBdsCapacityReservations = oci.bigdataservice.getBdsCapacityReservations({
compartmentId: compartmentId,
displayName: bdsCapacityReservationDisplayName,
state: bdsCapacityReservationState,
});
import pulumi
import pulumi_oci as oci
test_bds_capacity_reservations = oci.bigdataservice.get_bds_capacity_reservations(compartment_id=compartment_id,
display_name=bds_capacity_reservation_display_name,
state=bds_capacity_reservation_state)
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.GetBdsCapacityReservations(ctx, &bigdataservice.GetBdsCapacityReservationsArgs{
CompartmentId: compartmentId,
DisplayName: pulumi.StringRef(bdsCapacityReservationDisplayName),
State: pulumi.StringRef(bdsCapacityReservationState),
}, 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 testBdsCapacityReservations = Oci.BigDataService.GetBdsCapacityReservations.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = bdsCapacityReservationDisplayName,
State = bdsCapacityReservationState,
});
});
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.GetBdsCapacityReservationsArgs;
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 testBdsCapacityReservations = BigDataServiceFunctions.getBdsCapacityReservations(GetBdsCapacityReservationsArgs.builder()
.compartmentId(compartmentId)
.displayName(bdsCapacityReservationDisplayName)
.state(bdsCapacityReservationState)
.build());
}
}
variables:
testBdsCapacityReservations:
fn::invoke:
function: oci:BigDataService:getBdsCapacityReservations
arguments:
compartmentId: ${compartmentId}
displayName: ${bdsCapacityReservationDisplayName}
state: ${bdsCapacityReservationState}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_bigdataservice_getbdscapacityreservations" "testBdsCapacityReservations" {
compartment_id = compartmentId
display_name = bdsCapacityReservationDisplayName
state = bdsCapacityReservationState
}
Using getBdsCapacityReservations
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 getBdsCapacityReservations(args: GetBdsCapacityReservationsArgs, opts?: InvokeOptions): Promise<GetBdsCapacityReservationsResult>
function getBdsCapacityReservationsOutput(args: GetBdsCapacityReservationsOutputArgs, opts?: InvokeOutputOptions): Output<GetBdsCapacityReservationsResult>def get_bds_capacity_reservations(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetBdsCapacityReservationsFilter]] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBdsCapacityReservationsResult
def get_bds_capacity_reservations_output(compartment_id: pulumi.Input[Optional[str]] = None,
display_name: pulumi.Input[Optional[str]] = None,
filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetBdsCapacityReservationsFilterArgs]]]] = None,
state: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetBdsCapacityReservationsResult]func GetBdsCapacityReservations(ctx *Context, args *GetBdsCapacityReservationsArgs, opts ...InvokeOption) (*GetBdsCapacityReservationsResult, error)
func GetBdsCapacityReservationsOutput(ctx *Context, args *GetBdsCapacityReservationsOutputArgs, opts ...InvokeOption) GetBdsCapacityReservationsResultOutput> Note: This function is named GetBdsCapacityReservations in the Go SDK.
public static class GetBdsCapacityReservations
{
public static Task<GetBdsCapacityReservationsResult> InvokeAsync(GetBdsCapacityReservationsArgs args, InvokeOptions? opts = null)
public static Output<GetBdsCapacityReservationsResult> Invoke(GetBdsCapacityReservationsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetBdsCapacityReservationsResult> Invoke(GetBdsCapacityReservationsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetBdsCapacityReservationsResult> getBdsCapacityReservations(GetBdsCapacityReservationsArgs args, InvokeOptions options)
public static Output<GetBdsCapacityReservationsResult> getBdsCapacityReservations(GetBdsCapacityReservationsArgs args, InvokeOptions options)
public static Output<GetBdsCapacityReservationsResult> getBdsCapacityReservations(GetBdsCapacityReservationsArgs args, InvokeOutputOptions options)
fn::invoke:
function: oci:BigDataService/getBdsCapacityReservations:getBdsCapacityReservations
arguments:
# arguments dictionarydata "oci_big_data_service_get_bds_capacity_reservations" "name" {
# arguments
}The following arguments are supported:
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Bds Capacity Reservations Filter> - State string
- The lifecycle state of the BDS capacity reservation.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Bds Capacity Reservations Filter - State string
- The lifecycle state of the BDS capacity reservation.
- compartment_
id string - The OCID of the compartment.
- display_
name string - A filter to return only resources that match the entire display name given.
- filters list(object)
- state string
- The lifecycle state of the BDS capacity reservation.
- compartment
Id String - The OCID of the compartment.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Bds Capacity Reservations Filter> - state String
- The lifecycle state of the BDS capacity reservation.
- compartment
Id string - The OCID of the compartment.
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Bds Capacity Reservations Filter[] - state string
- The lifecycle state of the BDS capacity reservation.
- compartment_
id str - The OCID of the compartment.
- display_
name str - A filter to return only resources that match the entire display name given.
- filters
Sequence[Get
Bds Capacity Reservations Filter] - state str
- The lifecycle state of the BDS capacity reservation.
- compartment
Id String - The OCID of the compartment.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- state String
- The lifecycle state of the BDS capacity reservation.
getBdsCapacityReservations Result
The following output properties are available:
- Bds
Capacity List<GetReservation Collections Bds Capacity Reservations Bds Capacity Reservation Collection> - The list of bds_capacity_reservation_collection.
- Compartment
Id string - The OCID of the compartment that contains the BDS capacity reservation.
- Id string
- The provider-assigned unique ID for this managed resource.
- Display
Name string - A user-friendly name for the BDS capacity reservation.
- Filters
List<Get
Bds Capacity Reservations Filter> - State string
- The lifecycle state of the BDS capacity reservation.
- Bds
Capacity []GetReservation Collections Bds Capacity Reservations Bds Capacity Reservation Collection - The list of bds_capacity_reservation_collection.
- Compartment
Id string - The OCID of the compartment that contains the BDS capacity reservation.
- Id string
- The provider-assigned unique ID for this managed resource.
- Display
Name string - A user-friendly name for the BDS capacity reservation.
- Filters
[]Get
Bds Capacity Reservations Filter - State string
- The lifecycle state of the BDS capacity reservation.
- bds_
capacity_ list(object)reservation_ collections - The list of bds_capacity_reservation_collection.
- compartment_
id string - The OCID of the compartment that contains the BDS capacity reservation.
- id string
- The provider-assigned unique ID for this managed resource.
- display_
name string - A user-friendly name for the BDS capacity reservation.
- filters list(object)
- state string
- The lifecycle state of the BDS capacity reservation.
- bds
Capacity List<GetReservation Collections Bds Capacity Reservations Bds Capacity Reservation Collection> - The list of bds_capacity_reservation_collection.
- compartment
Id String - The OCID of the compartment that contains the BDS capacity reservation.
- id String
- The provider-assigned unique ID for this managed resource.
- display
Name String - A user-friendly name for the BDS capacity reservation.
- filters
List<Get
Bds Capacity Reservations Filter> - state String
- The lifecycle state of the BDS capacity reservation.
- bds
Capacity GetReservation Collections Bds Capacity Reservations Bds Capacity Reservation Collection[] - The list of bds_capacity_reservation_collection.
- compartment
Id string - The OCID of the compartment that contains the BDS capacity reservation.
- id string
- The provider-assigned unique ID for this managed resource.
- display
Name string - A user-friendly name for the BDS capacity reservation.
- filters
Get
Bds Capacity Reservations Filter[] - state string
- The lifecycle state of the BDS capacity reservation.
- bds_
capacity_ Sequence[Getreservation_ collections Bds Capacity Reservations Bds Capacity Reservation Collection] - The list of bds_capacity_reservation_collection.
- compartment_
id str - The OCID of the compartment that contains the BDS capacity reservation.
- id str
- The provider-assigned unique ID for this managed resource.
- display_
name str - A user-friendly name for the BDS capacity reservation.
- filters
Sequence[Get
Bds Capacity Reservations Filter] - state str
- The lifecycle state of the BDS capacity reservation.
- bds
Capacity List<Property Map>Reservation Collections - The list of bds_capacity_reservation_collection.
- compartment
Id String - The OCID of the compartment that contains the BDS capacity reservation.
- id String
- The provider-assigned unique ID for this managed resource.
- display
Name String - A user-friendly name for the BDS capacity reservation.
- filters List<Property Map>
- state String
- The lifecycle state of the BDS capacity reservation.
Supporting Types
GetBdsCapacityReservationsBdsCapacityReservationCollection
GetBdsCapacityReservationsBdsCapacityReservationCollectionItem
- Compartment
Id string - The OCID of the compartment.
- Compute
Capacity List<GetReservations Bds Capacity Reservations Bds Capacity Reservation Collection Item Compute Capacity Reservation> - 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.
- Dictionary<string, 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 filter to return only resources that match the entire display name given.
- 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.
- Dictionary<string, 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.
- Compartment
Id string - The OCID of the compartment.
- Compute
Capacity []GetReservations Bds Capacity Reservations Bds Capacity Reservation Collection Item Compute Capacity Reservation - 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.
- map[string]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 filter to return only resources that match the entire display name given.
- 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.
- map[string]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.
- compartment_
id string - The OCID of the compartment.
- compute_
capacity_ list(object)reservations - 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.
- 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 filter to return only resources that match the entire display name given.
- 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.
- 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.
- compartment
Id String - The OCID of the compartment.
- compute
Capacity List<GetReservations Bds Capacity Reservations Bds Capacity Reservation Collection Item Compute Capacity Reservation> - 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.
- Map<String,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 filter to return only resources that match the entire display name given.
- 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.
- Map<String,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.
- compartment
Id string - The OCID of the compartment.
- compute
Capacity GetReservations Bds Capacity Reservations Bds Capacity Reservation Collection Item Compute Capacity Reservation[] - 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.
- {[key: string]: 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 filter to return only resources that match the entire display name given.
- {[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.
- {[key: string]: 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.
- compartment_
id str - The OCID of the compartment.
- compute_
capacity_ Sequence[Getreservations Bds Capacity Reservations Bds Capacity Reservation Collection Item Compute Capacity Reservation] - 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.
- 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 filter to return only resources that match the entire display name given.
- 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.
- 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.
- compartment
Id String - The OCID of the compartment.
- compute
Capacity List<Property Map>Reservations - 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.
- 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 filter to return only resources that match the entire display name given.
- 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.
- 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.
GetBdsCapacityReservationsBdsCapacityReservationCollectionItemComputeCapacityReservation
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
GetBdsCapacityReservationsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi
published on Wednesday, Aug 26, 2026 by Pulumi