CapacityReservationInstanceSummary

class oci.core.models.CapacityReservationInstanceSummary(**kwargs)

Bases: object

Condensed instance data when listing instances in a compute capacity reservation.

Methods

__init__(**kwargs) Initializes a new CapacityReservationInstanceSummary object with values from keyword arguments.

Attributes

availability_domain [Required] Gets the availability_domain of this CapacityReservationInstanceSummary.
cluster_placement_group_id Gets the cluster_placement_group_id of this CapacityReservationInstanceSummary.
compartment_id [Required] Gets the compartment_id of this CapacityReservationInstanceSummary.
fault_domain Gets the fault_domain of this CapacityReservationInstanceSummary.
id [Required] Gets the id of this CapacityReservationInstanceSummary.
shape [Required] Gets the shape of this CapacityReservationInstanceSummary.
shape_config Gets the shape_config of this CapacityReservationInstanceSummary.
__init__(**kwargs)

Initializes a new CapacityReservationInstanceSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this CapacityReservationInstanceSummary.
  • availability_domain (str) – The value to assign to the availability_domain property of this CapacityReservationInstanceSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this CapacityReservationInstanceSummary.
  • fault_domain (str) – The value to assign to the fault_domain property of this CapacityReservationInstanceSummary.
  • cluster_placement_group_id (str) – The value to assign to the cluster_placement_group_id property of this CapacityReservationInstanceSummary.
  • shape_config (oci.core.models.InstanceReservationShapeConfigDetails) – The value to assign to the shape_config property of this CapacityReservationInstanceSummary.
  • shape (str) – The value to assign to the shape property of this CapacityReservationInstanceSummary.
availability_domain

[Required] Gets the availability_domain of this CapacityReservationInstanceSummary. The availability domain the instance is running in.

Returns:The availability_domain of this CapacityReservationInstanceSummary.
Return type:str
cluster_placement_group_id

Gets the cluster_placement_group_id of this CapacityReservationInstanceSummary. The OCID of the cluster placement group of the instance.

Returns:The cluster_placement_group_id of this CapacityReservationInstanceSummary.
Return type:str
compartment_id

[Required] Gets the compartment_id of this CapacityReservationInstanceSummary. The OCID of the compartment that contains the instance.

Returns:The compartment_id of this CapacityReservationInstanceSummary.
Return type:str
fault_domain

Gets the fault_domain of this CapacityReservationInstanceSummary. The fault domain the instance is running in.

Returns:The fault_domain of this CapacityReservationInstanceSummary.
Return type:str
id

[Required] Gets the id of this CapacityReservationInstanceSummary. The OCID of the instance.

Returns:The id of this CapacityReservationInstanceSummary.
Return type:str
shape

[Required] Gets the shape of this CapacityReservationInstanceSummary. The shape of the instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance.

You can enumerate all available shapes by calling list_compute_capacity_reservation_instance_shapes().

Returns:The shape of this CapacityReservationInstanceSummary.
Return type:str
shape_config

Gets the shape_config of this CapacityReservationInstanceSummary.

Returns:The shape_config of this CapacityReservationInstanceSummary.
Return type:oci.core.models.InstanceReservationShapeConfigDetails