InstanceReservationConfigDetails

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

Bases: object

A template that contains the settings to use when defining the instance reservation configuration.

Methods

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

Attributes

fault_domain Gets the fault_domain of this InstanceReservationConfigDetails.
instance_shape [Required] Gets the instance_shape of this InstanceReservationConfigDetails.
instance_shape_config Gets the instance_shape_config of this InstanceReservationConfigDetails.
reserved_count [Required] Gets the reserved_count of this InstanceReservationConfigDetails.
__init__(**kwargs)

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

Parameters:
  • instance_shape (str) – The value to assign to the instance_shape property of this InstanceReservationConfigDetails.
  • instance_shape_config (oci.core.models.InstanceReservationShapeConfigDetails) – The value to assign to the instance_shape_config property of this InstanceReservationConfigDetails.
  • fault_domain (str) – The value to assign to the fault_domain property of this InstanceReservationConfigDetails.
  • reserved_count (int) – The value to assign to the reserved_count property of this InstanceReservationConfigDetails.
fault_domain

Gets the fault_domain of this InstanceReservationConfigDetails. The fault domain to use for instances created using this reservation configuration. For more information, see Fault Domains. If you do not specify the fault domain, the capacity is available for an instance that does not specify a fault domain. To change the fault domain for a reservation, delete the reservation and create a new one in the preferred fault domain.

To retrieve a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.

Example: FAULT-DOMAIN-1

Returns:The fault_domain of this InstanceReservationConfigDetails.
Return type:str
instance_shape

[Required] Gets the instance_shape of this InstanceReservationConfigDetails. The shape requested when launching instances using reserved capacity. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. You can list all available shapes by calling ListComputeCapacityReservationInstanceShapes.

Returns:The instance_shape of this InstanceReservationConfigDetails.
Return type:str
instance_shape_config

Gets the instance_shape_config of this InstanceReservationConfigDetails.

Returns:The instance_shape_config of this InstanceReservationConfigDetails.
Return type:oci.core.models.InstanceReservationShapeConfigDetails
reserved_count

[Required] Gets the reserved_count of this InstanceReservationConfigDetails. The amount of capacity to reserve in this reservation configuration.

Returns:The reserved_count of this InstanceReservationConfigDetails.
Return type:int