oci logo
Oracle Cloud Infrastructure v0.12.0, Mar 17 23

oci.Core.getComputeCapacityReservations

This data source provides the list of Compute Capacity Reservations in Oracle Cloud Infrastructure Core service.

Lists the compute capacity reservations that match the specified criteria and compartment.

You can limit the list by specifying a compute capacity reservation display name (the list will include all the identically-named compute capacity reservations in the compartment).

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testComputeCapacityReservations = Oci.Core.GetComputeCapacityReservations.Invoke(new()
    {
        CompartmentId = @var.Compartment_id,
        AvailabilityDomain = @var.Compute_capacity_reservation_availability_domain,
        DisplayName = @var.Compute_capacity_reservation_display_name,
        State = @var.Compute_capacity_reservation_state,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Core.GetComputeCapacityReservations(ctx, &core.GetComputeCapacityReservationsArgs{
			CompartmentId:      _var.Compartment_id,
			AvailabilityDomain: pulumi.StringRef(_var.Compute_capacity_reservation_availability_domain),
			DisplayName:        pulumi.StringRef(_var.Compute_capacity_reservation_display_name),
			State:              pulumi.StringRef(_var.Compute_capacity_reservation_state),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.CoreFunctions;
import com.pulumi.oci.Core.inputs.GetComputeCapacityReservationsArgs;
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 testComputeCapacityReservations = CoreFunctions.getComputeCapacityReservations(GetComputeCapacityReservationsArgs.builder()
            .compartmentId(var_.compartment_id())
            .availabilityDomain(var_.compute_capacity_reservation_availability_domain())
            .displayName(var_.compute_capacity_reservation_display_name())
            .state(var_.compute_capacity_reservation_state())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_compute_capacity_reservations = oci.Core.get_compute_capacity_reservations(compartment_id=var["compartment_id"],
    availability_domain=var["compute_capacity_reservation_availability_domain"],
    display_name=var["compute_capacity_reservation_display_name"],
    state=var["compute_capacity_reservation_state"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testComputeCapacityReservations = oci.Core.getComputeCapacityReservations({
    compartmentId: _var.compartment_id,
    availabilityDomain: _var.compute_capacity_reservation_availability_domain,
    displayName: _var.compute_capacity_reservation_display_name,
    state: _var.compute_capacity_reservation_state,
});
variables:
  testComputeCapacityReservations:
    fn::invoke:
      Function: oci:Core:getComputeCapacityReservations
      Arguments:
        compartmentId: ${var.compartment_id}
        availabilityDomain: ${var.compute_capacity_reservation_availability_domain}
        displayName: ${var.compute_capacity_reservation_display_name}
        state: ${var.compute_capacity_reservation_state}

Using getComputeCapacityReservations

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 getComputeCapacityReservations(args: GetComputeCapacityReservationsArgs, opts?: InvokeOptions): Promise<GetComputeCapacityReservationsResult>
function getComputeCapacityReservationsOutput(args: GetComputeCapacityReservationsOutputArgs, opts?: InvokeOptions): Output<GetComputeCapacityReservationsResult>
def get_compute_capacity_reservations(availability_domain: Optional[str] = None,
                                      compartment_id: Optional[str] = None,
                                      display_name: Optional[str] = None,
                                      filters: Optional[Sequence[_core.GetComputeCapacityReservationsFilter]] = None,
                                      state: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetComputeCapacityReservationsResult
def get_compute_capacity_reservations_output(availability_domain: Optional[pulumi.Input[str]] = None,
                                      compartment_id: Optional[pulumi.Input[str]] = None,
                                      display_name: Optional[pulumi.Input[str]] = None,
                                      filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetComputeCapacityReservationsFilterArgs]]]] = None,
                                      state: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetComputeCapacityReservationsResult]
func GetComputeCapacityReservations(ctx *Context, args *GetComputeCapacityReservationsArgs, opts ...InvokeOption) (*GetComputeCapacityReservationsResult, error)
func GetComputeCapacityReservationsOutput(ctx *Context, args *GetComputeCapacityReservationsOutputArgs, opts ...InvokeOption) GetComputeCapacityReservationsResultOutput

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

public static class GetComputeCapacityReservations 
{
    public static Task<GetComputeCapacityReservationsResult> InvokeAsync(GetComputeCapacityReservationsArgs args, InvokeOptions? opts = null)
    public static Output<GetComputeCapacityReservationsResult> Invoke(GetComputeCapacityReservationsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetComputeCapacityReservationsResult> getComputeCapacityReservations(GetComputeCapacityReservationsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:Core/getComputeCapacityReservations:getComputeCapacityReservations
  arguments:
    # arguments dictionary

The following arguments are supported:

CompartmentId string

The OCID of the compartment.

AvailabilityDomain string

The name of the availability domain. Example: Uocm:PHX-AD-1

DisplayName string

A filter to return only resources that match the given display name exactly.

Filters List<GetComputeCapacityReservationsFilter>
State string

A filter to only return resources that match the given lifecycle state.

CompartmentId string

The OCID of the compartment.

AvailabilityDomain string

The name of the availability domain. Example: Uocm:PHX-AD-1

DisplayName string

A filter to return only resources that match the given display name exactly.

Filters []GetComputeCapacityReservationsFilter
State string

A filter to only return resources that match the given lifecycle state.

compartmentId String

The OCID of the compartment.

availabilityDomain String

The name of the availability domain. Example: Uocm:PHX-AD-1

displayName String

A filter to return only resources that match the given display name exactly.

filters List<GetComputeCapacityReservationsFilter>
state String

A filter to only return resources that match the given lifecycle state.

compartmentId string

The OCID of the compartment.

availabilityDomain string

The name of the availability domain. Example: Uocm:PHX-AD-1

displayName string

A filter to return only resources that match the given display name exactly.

filters GetComputeCapacityReservationsFilter[]
state string

A filter to only return resources that match the given lifecycle state.

compartment_id str

The OCID of the compartment.

availability_domain str

The name of the availability domain. Example: Uocm:PHX-AD-1

display_name str

A filter to return only resources that match the given display name exactly.

filters GetComputeCapacityReservationsFilter]
state str

A filter to only return resources that match the given lifecycle state.

compartmentId String

The OCID of the compartment.

availabilityDomain String

The name of the availability domain. Example: Uocm:PHX-AD-1

displayName String

A filter to return only resources that match the given display name exactly.

filters List<Property Map>
state String

A filter to only return resources that match the given lifecycle state.

getComputeCapacityReservations Result

The following output properties are available:

CompartmentId string

The OCID of the compartment containing the compute capacity reservation.

ComputeCapacityReservations List<GetComputeCapacityReservationsComputeCapacityReservation>

The list of compute_capacity_reservations.

Id string

The provider-assigned unique ID for this managed resource.

AvailabilityDomain string

The availability domain of the compute capacity reservation. Example: Uocm:PHX-AD-1

DisplayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Filters List<GetComputeCapacityReservationsFilter>
State string

The current state of the compute capacity reservation.

CompartmentId string

The OCID of the compartment containing the compute capacity reservation.

ComputeCapacityReservations []GetComputeCapacityReservationsComputeCapacityReservation

The list of compute_capacity_reservations.

Id string

The provider-assigned unique ID for this managed resource.

AvailabilityDomain string

The availability domain of the compute capacity reservation. Example: Uocm:PHX-AD-1

DisplayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Filters []GetComputeCapacityReservationsFilter
State string

The current state of the compute capacity reservation.

compartmentId String

The OCID of the compartment containing the compute capacity reservation.

computeCapacityReservations List<GetComputeCapacityReservationsComputeCapacityReservation>

The list of compute_capacity_reservations.

id String

The provider-assigned unique ID for this managed resource.

availabilityDomain String

The availability domain of the compute capacity reservation. Example: Uocm:PHX-AD-1

displayName String

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

filters List<GetComputeCapacityReservationsFilter>
state String

The current state of the compute capacity reservation.

compartmentId string

The OCID of the compartment containing the compute capacity reservation.

computeCapacityReservations GetComputeCapacityReservationsComputeCapacityReservation[]

The list of compute_capacity_reservations.

id string

The provider-assigned unique ID for this managed resource.

availabilityDomain string

The availability domain of the compute capacity reservation. Example: Uocm:PHX-AD-1

displayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

filters GetComputeCapacityReservationsFilter[]
state string

The current state of the compute capacity reservation.

compartment_id str

The OCID of the compartment containing the compute capacity reservation.

compute_capacity_reservations GetComputeCapacityReservationsComputeCapacityReservation]

The list of compute_capacity_reservations.

id str

The provider-assigned unique ID for this managed resource.

availability_domain str

The availability domain of the compute capacity reservation. Example: Uocm:PHX-AD-1

display_name str

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

filters GetComputeCapacityReservationsFilter]
state str

The current state of the compute capacity reservation.

compartmentId String

The OCID of the compartment containing the compute capacity reservation.

computeCapacityReservations List<Property Map>

The list of compute_capacity_reservations.

id String

The provider-assigned unique ID for this managed resource.

availabilityDomain String

The availability domain of the compute capacity reservation. Example: Uocm:PHX-AD-1

displayName String

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

filters List<Property Map>
state String

The current state of the compute capacity reservation.

Supporting Types

GetComputeCapacityReservationsComputeCapacityReservation

AvailabilityDomain string

The name of the availability domain. Example: Uocm:PHX-AD-1

CompartmentId string

The OCID of the compartment.

DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

A filter to return only resources that match the given display name exactly.

FreeformTags Dictionary<string, object>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

Id string

The OCID of the compute capacity reservation.

InstanceReservationConfigs List<GetComputeCapacityReservationsComputeCapacityReservationInstanceReservationConfig>

The capacity configurations for the capacity reservation.

IsDefaultReservation bool

Whether this capacity reservation is the default. For more information, see Capacity Reservations.

ReservedInstanceCount string

The number of instances for which capacity will be held with this compute capacity reservation. This number is the sum of the values of the reservedCount fields for all of the instance capacity configurations under this reservation. The purpose of this field is to calculate the percentage usage of the reservation.

State string

A filter to only return resources that match the given lifecycle state.

TimeCreated string

The date and time the compute capacity reservation was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

TimeUpdated string

The date and time the compute capacity reservation was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

UsedInstanceCount string

The total number of instances currently consuming space in this compute capacity reservation. This number is the sum of the values of the usedCount fields for all of the instance capacity configurations under this reservation. The purpose of this field is to calculate the percentage usage of the reservation.

AvailabilityDomain string

The name of the availability domain. Example: Uocm:PHX-AD-1

CompartmentId string

The OCID of the compartment.

DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

DisplayName string

A filter to return only resources that match the given display name exactly.

FreeformTags map[string]interface{}

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

Id string

The OCID of the compute capacity reservation.

InstanceReservationConfigs []GetComputeCapacityReservationsComputeCapacityReservationInstanceReservationConfig

The capacity configurations for the capacity reservation.

IsDefaultReservation bool

Whether this capacity reservation is the default. For more information, see Capacity Reservations.

ReservedInstanceCount string

The number of instances for which capacity will be held with this compute capacity reservation. This number is the sum of the values of the reservedCount fields for all of the instance capacity configurations under this reservation. The purpose of this field is to calculate the percentage usage of the reservation.

State string

A filter to only return resources that match the given lifecycle state.

TimeCreated string

The date and time the compute capacity reservation was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

TimeUpdated string

The date and time the compute capacity reservation was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

UsedInstanceCount string

The total number of instances currently consuming space in this compute capacity reservation. This number is the sum of the values of the usedCount fields for all of the instance capacity configurations under this reservation. The purpose of this field is to calculate the percentage usage of the reservation.

availabilityDomain String

The name of the availability domain. Example: Uocm:PHX-AD-1

compartmentId String

The OCID of the compartment.

definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

A filter to return only resources that match the given display name exactly.

freeformTags Map<String,Object>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id String

The OCID of the compute capacity reservation.

instanceReservationConfigs List<GetComputeCapacityReservationsComputeCapacityReservationInstanceReservationConfig>

The capacity configurations for the capacity reservation.

isDefaultReservation Boolean

Whether this capacity reservation is the default. For more information, see Capacity Reservations.

reservedInstanceCount String

The number of instances for which capacity will be held with this compute capacity reservation. This number is the sum of the values of the reservedCount fields for all of the instance capacity configurations under this reservation. The purpose of this field is to calculate the percentage usage of the reservation.

state String

A filter to only return resources that match the given lifecycle state.

timeCreated String

The date and time the compute capacity reservation was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

timeUpdated String

The date and time the compute capacity reservation was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

usedInstanceCount String

The total number of instances currently consuming space in this compute capacity reservation. This number is the sum of the values of the usedCount fields for all of the instance capacity configurations under this reservation. The purpose of this field is to calculate the percentage usage of the reservation.

availabilityDomain string

The name of the availability domain. Example: Uocm:PHX-AD-1

compartmentId string

The OCID of the compartment.

definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName string

A filter to return only resources that match the given display name exactly.

freeformTags {[key: string]: any}

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id string

The OCID of the compute capacity reservation.

instanceReservationConfigs GetComputeCapacityReservationsComputeCapacityReservationInstanceReservationConfig[]

The capacity configurations for the capacity reservation.

isDefaultReservation boolean

Whether this capacity reservation is the default. For more information, see Capacity Reservations.

reservedInstanceCount string

The number of instances for which capacity will be held with this compute capacity reservation. This number is the sum of the values of the reservedCount fields for all of the instance capacity configurations under this reservation. The purpose of this field is to calculate the percentage usage of the reservation.

state string

A filter to only return resources that match the given lifecycle state.

timeCreated string

The date and time the compute capacity reservation was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

timeUpdated string

The date and time the compute capacity reservation was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

usedInstanceCount string

The total number of instances currently consuming space in this compute capacity reservation. This number is the sum of the values of the usedCount fields for all of the instance capacity configurations under this reservation. The purpose of this field is to calculate the percentage usage of the reservation.

availability_domain str

The name of the availability domain. Example: Uocm:PHX-AD-1

compartment_id str

The OCID of the compartment.

defined_tags Mapping[str, Any]

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

display_name str

A filter to return only resources that match the given display name exactly.

freeform_tags Mapping[str, Any]

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id str

The OCID of the compute capacity reservation.

instance_reservation_configs GetComputeCapacityReservationsComputeCapacityReservationInstanceReservationConfig]

The capacity configurations for the capacity reservation.

is_default_reservation bool

Whether this capacity reservation is the default. For more information, see Capacity Reservations.

reserved_instance_count str

The number of instances for which capacity will be held with this compute capacity reservation. This number is the sum of the values of the reservedCount fields for all of the instance capacity configurations under this reservation. The purpose of this field is to calculate the percentage usage of the reservation.

state str

A filter to only return resources that match the given lifecycle state.

time_created str

The date and time the compute capacity reservation was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

time_updated str

The date and time the compute capacity reservation was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

used_instance_count str

The total number of instances currently consuming space in this compute capacity reservation. This number is the sum of the values of the usedCount fields for all of the instance capacity configurations under this reservation. The purpose of this field is to calculate the percentage usage of the reservation.

availabilityDomain String

The name of the availability domain. Example: Uocm:PHX-AD-1

compartmentId String

The OCID of the compartment.

definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

displayName String

A filter to return only resources that match the given display name exactly.

freeformTags Map<Any>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

id String

The OCID of the compute capacity reservation.

instanceReservationConfigs List<Property Map>

The capacity configurations for the capacity reservation.

isDefaultReservation Boolean

Whether this capacity reservation is the default. For more information, see Capacity Reservations.

reservedInstanceCount String

The number of instances for which capacity will be held with this compute capacity reservation. This number is the sum of the values of the reservedCount fields for all of the instance capacity configurations under this reservation. The purpose of this field is to calculate the percentage usage of the reservation.

state String

A filter to only return resources that match the given lifecycle state.

timeCreated String

The date and time the compute capacity reservation was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

timeUpdated String

The date and time the compute capacity reservation was updated, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

usedInstanceCount String

The total number of instances currently consuming space in this compute capacity reservation. This number is the sum of the values of the usedCount fields for all of the instance capacity configurations under this reservation. The purpose of this field is to calculate the percentage usage of the reservation.

GetComputeCapacityReservationsComputeCapacityReservationInstanceReservationConfig

FaultDomain string

The fault domain of this reservation configuration. If a value is not supplied, this reservation configuration is applicable to all fault domains in the specified availability domain. For more information, see Capacity Reservations.

InstanceShape string

The shape to use when launching instances using compute capacity reservations. The shape determines the number of CPUs, the amount of memory, and other resources allocated to the instance. You can list all available shapes by calling ListComputeCapacityReservationInstanceShapes.

InstanceShapeConfigs List<GetComputeCapacityReservationsComputeCapacityReservationInstanceReservationConfigInstanceShapeConfig>

The shape configuration requested when launching instances in a compute capacity reservation.

ReservedCount string

The total number of instances that can be launched from the capacity configuration.

UsedCount string

The amount of capacity in use out of the total capacity reserved in this capacity configuration.

FaultDomain string

The fault domain of this reservation configuration. If a value is not supplied, this reservation configuration is applicable to all fault domains in the specified availability domain. For more information, see Capacity Reservations.

InstanceShape string

The shape to use when launching instances using compute capacity reservations. The shape determines the number of CPUs, the amount of memory, and other resources allocated to the instance. You can list all available shapes by calling ListComputeCapacityReservationInstanceShapes.

InstanceShapeConfigs []GetComputeCapacityReservationsComputeCapacityReservationInstanceReservationConfigInstanceShapeConfig

The shape configuration requested when launching instances in a compute capacity reservation.

ReservedCount string

The total number of instances that can be launched from the capacity configuration.

UsedCount string

The amount of capacity in use out of the total capacity reserved in this capacity configuration.

faultDomain String

The fault domain of this reservation configuration. If a value is not supplied, this reservation configuration is applicable to all fault domains in the specified availability domain. For more information, see Capacity Reservations.

instanceShape String

The shape to use when launching instances using compute capacity reservations. The shape determines the number of CPUs, the amount of memory, and other resources allocated to the instance. You can list all available shapes by calling ListComputeCapacityReservationInstanceShapes.

instanceShapeConfigs List<GetComputeCapacityReservationsComputeCapacityReservationInstanceReservationConfigInstanceShapeConfig>

The shape configuration requested when launching instances in a compute capacity reservation.

reservedCount String

The total number of instances that can be launched from the capacity configuration.

usedCount String

The amount of capacity in use out of the total capacity reserved in this capacity configuration.

faultDomain string

The fault domain of this reservation configuration. If a value is not supplied, this reservation configuration is applicable to all fault domains in the specified availability domain. For more information, see Capacity Reservations.

instanceShape string

The shape to use when launching instances using compute capacity reservations. The shape determines the number of CPUs, the amount of memory, and other resources allocated to the instance. You can list all available shapes by calling ListComputeCapacityReservationInstanceShapes.

instanceShapeConfigs GetComputeCapacityReservationsComputeCapacityReservationInstanceReservationConfigInstanceShapeConfig[]

The shape configuration requested when launching instances in a compute capacity reservation.

reservedCount string

The total number of instances that can be launched from the capacity configuration.

usedCount string

The amount of capacity in use out of the total capacity reserved in this capacity configuration.

fault_domain str

The fault domain of this reservation configuration. If a value is not supplied, this reservation configuration is applicable to all fault domains in the specified availability domain. For more information, see Capacity Reservations.

instance_shape str

The shape to use when launching instances using compute capacity reservations. The shape determines the number of CPUs, the amount of memory, and other resources allocated to the instance. You can list all available shapes by calling ListComputeCapacityReservationInstanceShapes.

instance_shape_configs GetComputeCapacityReservationsComputeCapacityReservationInstanceReservationConfigInstanceShapeConfig]

The shape configuration requested when launching instances in a compute capacity reservation.

reserved_count str

The total number of instances that can be launched from the capacity configuration.

used_count str

The amount of capacity in use out of the total capacity reserved in this capacity configuration.

faultDomain String

The fault domain of this reservation configuration. If a value is not supplied, this reservation configuration is applicable to all fault domains in the specified availability domain. For more information, see Capacity Reservations.

instanceShape String

The shape to use when launching instances using compute capacity reservations. The shape determines the number of CPUs, the amount of memory, and other resources allocated to the instance. You can list all available shapes by calling ListComputeCapacityReservationInstanceShapes.

instanceShapeConfigs List<Property Map>

The shape configuration requested when launching instances in a compute capacity reservation.

reservedCount String

The total number of instances that can be launched from the capacity configuration.

usedCount String

The amount of capacity in use out of the total capacity reserved in this capacity configuration.

GetComputeCapacityReservationsComputeCapacityReservationInstanceReservationConfigInstanceShapeConfig

MemoryInGbs double

The total amount of memory available to the instance, in gigabytes.

Ocpus double

The total number of OCPUs available to the instance.

MemoryInGbs float64

The total amount of memory available to the instance, in gigabytes.

Ocpus float64

The total number of OCPUs available to the instance.

memoryInGbs Double

The total amount of memory available to the instance, in gigabytes.

ocpus Double

The total number of OCPUs available to the instance.

memoryInGbs number

The total amount of memory available to the instance, in gigabytes.

ocpus number

The total number of OCPUs available to the instance.

memory_in_gbs float

The total amount of memory available to the instance, in gigabytes.

ocpus float

The total number of OCPUs available to the instance.

memoryInGbs Number

The total amount of memory available to the instance, in gigabytes.

ocpus Number

The total number of OCPUs available to the instance.

GetComputeCapacityReservationsFilter

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

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.