oci.Core.getComputeCapacityReservations
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testComputeCapacityReservations = oci.Core.getComputeCapacityReservations({
compartmentId: compartmentId,
availabilityDomain: computeCapacityReservationAvailabilityDomain,
displayName: computeCapacityReservationDisplayName,
state: computeCapacityReservationState,
});
import pulumi
import pulumi_oci as oci
test_compute_capacity_reservations = oci.Core.get_compute_capacity_reservations(compartment_id=compartment_id,
availability_domain=compute_capacity_reservation_availability_domain,
display_name=compute_capacity_reservation_display_name,
state=compute_capacity_reservation_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/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: compartmentId,
AvailabilityDomain: pulumi.StringRef(computeCapacityReservationAvailabilityDomain),
DisplayName: pulumi.StringRef(computeCapacityReservationDisplayName),
State: pulumi.StringRef(computeCapacityReservationState),
}, 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 testComputeCapacityReservations = Oci.Core.GetComputeCapacityReservations.Invoke(new()
{
CompartmentId = compartmentId,
AvailabilityDomain = computeCapacityReservationAvailabilityDomain,
DisplayName = computeCapacityReservationDisplayName,
State = computeCapacityReservationState,
});
});
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(compartmentId)
.availabilityDomain(computeCapacityReservationAvailabilityDomain)
.displayName(computeCapacityReservationDisplayName)
.state(computeCapacityReservationState)
.build());
}
}
variables:
testComputeCapacityReservations:
fn::invoke:
Function: oci:Core:getComputeCapacityReservations
Arguments:
compartmentId: ${compartmentId}
availabilityDomain: ${computeCapacityReservationAvailabilityDomain}
displayName: ${computeCapacityReservationDisplayName}
state: ${computeCapacityReservationState}
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:
- Compartment
Id string - The OCID of the compartment.
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
List<Get
Compute Capacity Reservations Filter> - State string
- A filter to only return resources that match the given lifecycle state.
- Compartment
Id string - The OCID of the compartment.
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
[]Get
Compute Capacity Reservations Filter - State string
- A filter to only return resources that match the given lifecycle state.
- compartment
Id String - The OCID of the compartment.
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters
List<Get
Compute Capacity Reservations Filter> - state String
- A filter to only return resources that match the given lifecycle state.
- compartment
Id string - The OCID of the compartment.
- availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- display
Name string - A filter to return only resources that match the given display name exactly.
- filters
Get
Compute Capacity Reservations Filter[] - 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
Sequence[core.
Get Compute Capacity Reservations Filter] - state str
- A filter to only return resources that match the given lifecycle state.
- compartment
Id String - The OCID of the compartment.
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- display
Name 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:
- Compartment
Id string - The OCID of the compartment containing the compute capacity reservation.
- Compute
Capacity List<GetReservations Compute Capacity Reservations Compute Capacity Reservation> - The list of compute_capacity_reservations.
- Id string
- The provider-assigned unique ID for this managed resource.
- Availability
Domain string - The availability domain of the compute capacity reservation. Example:
Uocm:PHX-AD-1
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filters
List<Get
Compute Capacity Reservations Filter> - State string
- The current state of the compute capacity reservation.
- Compartment
Id string - The OCID of the compartment containing the compute capacity reservation.
- Compute
Capacity []GetReservations Compute Capacity Reservations Compute Capacity Reservation - The list of compute_capacity_reservations.
- Id string
- The provider-assigned unique ID for this managed resource.
- Availability
Domain string - The availability domain of the compute capacity reservation. Example:
Uocm:PHX-AD-1
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filters
[]Get
Compute Capacity Reservations Filter - State string
- The current state of the compute capacity reservation.
- compartment
Id String - The OCID of the compartment containing the compute capacity reservation.
- compute
Capacity List<GetReservations Compute Capacity Reservations Compute Capacity Reservation> - The list of compute_capacity_reservations.
- id String
- The provider-assigned unique ID for this managed resource.
- availability
Domain String - The availability domain of the compute capacity reservation. Example:
Uocm:PHX-AD-1
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
List<Get
Compute Capacity Reservations Filter> - state String
- The current state of the compute capacity reservation.
- compartment
Id string - The OCID of the compartment containing the compute capacity reservation.
- compute
Capacity GetReservations Compute Capacity Reservations Compute Capacity Reservation[] - The list of compute_capacity_reservations.
- id string
- The provider-assigned unique ID for this managed resource.
- availability
Domain string - The availability domain of the compute capacity reservation. Example:
Uocm:PHX-AD-1
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
Get
Compute Capacity Reservations Filter[] - 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_ Sequence[core.reservations Get Compute Capacity Reservations Compute Capacity Reservation] - 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
Sequence[core.
Get Compute Capacity Reservations Filter] - state str
- The current state of the compute capacity reservation.
- compartment
Id String - The OCID of the compartment containing the compute capacity reservation.
- compute
Capacity List<Property Map>Reservations - The list of compute_capacity_reservations.
- id String
- The provider-assigned unique ID for this managed resource.
- availability
Domain String - The availability domain of the compute capacity reservation. Example:
Uocm:PHX-AD-1
- display
Name 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
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment.
- Dictionary<string, string>
- 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 string - A filter to return only resources that match the given display name exactly.
- Dictionary<string, string>
- 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.
- Instance
Reservation List<GetConfigs Compute Capacity Reservations Compute Capacity Reservation Instance Reservation Config> - The capacity configurations for the capacity reservation.
- Is
Default boolReservation - Whether this capacity reservation is the default. For more information, see Capacity Reservations.
- Reserved
Instance stringCount - 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.
- Time
Created string - 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 string - 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 stringCount - 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 string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- Compartment
Id string - The OCID of the compartment.
- map[string]string
- 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 string - A filter to return only resources that match the given display name exactly.
- map[string]string
- 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.
- Instance
Reservation []GetConfigs Compute Capacity Reservations Compute Capacity Reservation Instance Reservation Config - The capacity configurations for the capacity reservation.
- Is
Default boolReservation - Whether this capacity reservation is the default. For more information, see Capacity Reservations.
- Reserved
Instance stringCount - 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.
- Time
Created string - 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 string - 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 stringCount - 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 String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment.
- Map<String,String>
- 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 String - A filter to return only resources that match the given display name exactly.
- Map<String,String>
- 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.
- instance
Reservation List<GetConfigs Compute Capacity Reservations Compute Capacity Reservation Instance Reservation Config> - The capacity configurations for the capacity reservation.
- is
Default BooleanReservation - Whether this capacity reservation is the default. For more information, see Capacity Reservations.
- reserved
Instance StringCount - 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.
- time
Created String - 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 String - 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 StringCount - 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 string - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id string - The OCID of the compartment.
- {[key: string]: string}
- 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 string - A filter to return only resources that match the given display name exactly.
- {[key: string]: string}
- 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.
- instance
Reservation GetConfigs Compute Capacity Reservations Compute Capacity Reservation Instance Reservation Config[] - The capacity configurations for the capacity reservation.
- is
Default booleanReservation - Whether this capacity reservation is the default. For more information, see Capacity Reservations.
- reserved
Instance stringCount - 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.
- time
Created string - 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 string - 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 stringCount - 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.
- Mapping[str, str]
- 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.
- Mapping[str, str]
- 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_ Sequence[core.configs Get Compute Capacity Reservations Compute Capacity Reservation Instance Reservation Config] - The capacity configurations for the capacity reservation.
- is_
default_ boolreservation - Whether this capacity reservation is the default. For more information, see Capacity Reservations.
- reserved_
instance_ strcount - 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_ strcount - 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 String - The name of the availability domain. Example:
Uocm:PHX-AD-1
- compartment
Id String - The OCID of the compartment.
- Map<String>
- 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 String - A filter to return only resources that match the given display name exactly.
- Map<String>
- 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.
- instance
Reservation List<Property Map>Configs - The capacity configurations for the capacity reservation.
- is
Default BooleanReservation - Whether this capacity reservation is the default. For more information, see Capacity Reservations.
- reserved
Instance StringCount - 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.
- time
Created String - 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 String - 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 StringCount - 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
- Cluster
Configs List<GetCompute Capacity Reservations Compute Capacity Reservation Instance Reservation Config Cluster Config> - The HPC cluster configuration requested when launching instances in a compute capacity reservation.
- Cluster
Placement stringGroup Id - The OCID of the cluster placement group for this instance reservation capacity configuration.
- Fault
Domain string - The fault domain of this capacity configuration. If a value is not supplied, this capacity configuration is applicable to all fault domains in the specified availability domain. For more information, see Capacity Reservations.
- Instance
Shape 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.
- Instance
Shape List<GetConfigs Compute Capacity Reservations Compute Capacity Reservation Instance Reservation Config Instance Shape Config> - The shape configuration requested when launching instances in a compute capacity reservation.
- Reserved
Count string - The total number of instances that can be launched from the capacity configuration.
- Used
Count string - The amount of capacity in use out of the total capacity reserved in this capacity configuration.
- Cluster
Configs []GetCompute Capacity Reservations Compute Capacity Reservation Instance Reservation Config Cluster Config - The HPC cluster configuration requested when launching instances in a compute capacity reservation.
- Cluster
Placement stringGroup Id - The OCID of the cluster placement group for this instance reservation capacity configuration.
- Fault
Domain string - The fault domain of this capacity configuration. If a value is not supplied, this capacity configuration is applicable to all fault domains in the specified availability domain. For more information, see Capacity Reservations.
- Instance
Shape 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.
- Instance
Shape []GetConfigs Compute Capacity Reservations Compute Capacity Reservation Instance Reservation Config Instance Shape Config - The shape configuration requested when launching instances in a compute capacity reservation.
- Reserved
Count string - The total number of instances that can be launched from the capacity configuration.
- Used
Count string - The amount of capacity in use out of the total capacity reserved in this capacity configuration.
- cluster
Configs List<GetCompute Capacity Reservations Compute Capacity Reservation Instance Reservation Config Cluster Config> - The HPC cluster configuration requested when launching instances in a compute capacity reservation.
- cluster
Placement StringGroup Id - The OCID of the cluster placement group for this instance reservation capacity configuration.
- fault
Domain String - The fault domain of this capacity configuration. If a value is not supplied, this capacity configuration is applicable to all fault domains in the specified availability domain. For more information, see Capacity Reservations.
- instance
Shape 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.
- instance
Shape List<GetConfigs Compute Capacity Reservations Compute Capacity Reservation Instance Reservation Config Instance Shape Config> - The shape configuration requested when launching instances in a compute capacity reservation.
- reserved
Count String - The total number of instances that can be launched from the capacity configuration.
- used
Count String - The amount of capacity in use out of the total capacity reserved in this capacity configuration.
- cluster
Configs GetCompute Capacity Reservations Compute Capacity Reservation Instance Reservation Config Cluster Config[] - The HPC cluster configuration requested when launching instances in a compute capacity reservation.
- cluster
Placement stringGroup Id - The OCID of the cluster placement group for this instance reservation capacity configuration.
- fault
Domain string - The fault domain of this capacity configuration. If a value is not supplied, this capacity configuration is applicable to all fault domains in the specified availability domain. For more information, see Capacity Reservations.
- instance
Shape 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.
- instance
Shape GetConfigs Compute Capacity Reservations Compute Capacity Reservation Instance Reservation Config Instance Shape Config[] - The shape configuration requested when launching instances in a compute capacity reservation.
- reserved
Count string - The total number of instances that can be launched from the capacity configuration.
- used
Count string - The amount of capacity in use out of the total capacity reserved in this capacity configuration.
- cluster_
configs Sequence[core.Get Compute Capacity Reservations Compute Capacity Reservation Instance Reservation Config Cluster Config] - The HPC cluster configuration requested when launching instances in a compute capacity reservation.
- cluster_
placement_ strgroup_ id - The OCID of the cluster placement group for this instance reservation capacity configuration.
- fault_
domain str - The fault domain of this capacity configuration. If a value is not supplied, this capacity 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_ Sequence[core.configs Get Compute Capacity Reservations Compute Capacity Reservation Instance Reservation Config Instance Shape Config] - 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.
- cluster
Configs List<Property Map> - The HPC cluster configuration requested when launching instances in a compute capacity reservation.
- cluster
Placement StringGroup Id - The OCID of the cluster placement group for this instance reservation capacity configuration.
- fault
Domain String - The fault domain of this capacity configuration. If a value is not supplied, this capacity configuration is applicable to all fault domains in the specified availability domain. For more information, see Capacity Reservations.
- instance
Shape 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.
- instance
Shape List<Property Map>Configs - The shape configuration requested when launching instances in a compute capacity reservation.
- reserved
Count String - The total number of instances that can be launched from the capacity configuration.
- used
Count String - The amount of capacity in use out of the total capacity reserved in this capacity configuration.
GetComputeCapacityReservationsComputeCapacityReservationInstanceReservationConfigClusterConfig
- Hpc
Island stringId - The OCID of the HPC island.
- Network
Block List<string>Ids - The list of OCIDs of the network blocks.
- Hpc
Island stringId - The OCID of the HPC island.
- Network
Block []stringIds - The list of OCIDs of the network blocks.
- hpc
Island StringId - The OCID of the HPC island.
- network
Block List<String>Ids - The list of OCIDs of the network blocks.
- hpc
Island stringId - The OCID of the HPC island.
- network
Block string[]Ids - The list of OCIDs of the network blocks.
- hpc_
island_ strid - The OCID of the HPC island.
- network_
block_ Sequence[str]ids - The list of OCIDs of the network blocks.
- hpc
Island StringId - The OCID of the HPC island.
- network
Block List<String>Ids - The list of OCIDs of the network blocks.
GetComputeCapacityReservationsComputeCapacityReservationInstanceReservationConfigInstanceShapeConfig
- Memory
In doubleGbs - The total amount of memory available to the instance, in gigabytes.
- Ocpus double
- The total number of OCPUs available to the instance.
- Memory
In float64Gbs - The total amount of memory available to the instance, in gigabytes.
- Ocpus float64
- The total number of OCPUs available to the instance.
- memory
In DoubleGbs - The total amount of memory available to the instance, in gigabytes.
- ocpus Double
- The total number of OCPUs available to the instance.
- memory
In numberGbs - The total amount of memory available to the instance, in gigabytes.
- ocpus number
- The total number of OCPUs available to the instance.
- memory_
in_ floatgbs - The total amount of memory available to the instance, in gigabytes.
- ocpus float
- The total number of OCPUs available to the instance.
- memory
In NumberGbs - The total amount of memory available to the instance, in gigabytes.
- ocpus Number
- The total number of OCPUs available to the instance.
GetComputeCapacityReservationsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.