InstancePoolLaunchOverrideDetails¶
- class oci.core.models.InstancePoolLaunchOverrideDetails(**kwargs)¶
Bases:
objectThe concrete launch mutation payload for an override option.
In V1, the override payload is limited to shape, shapeConfigDetails, and capacityReservationId.
Each override option must include at least one of shape or capacityReservationId, so a capacityReservationId-only override is valid. shapeConfigDetails may be supplied only when shape is supplied. If shape is a Flex or Fungible shape, shapeConfigDetails is required.
Placement-owned and system-owned fields are not supported in this payload. Any field outside this V1 payload shape is rejected.
Methods:
__init__(**kwargs)Initializes a new InstancePoolLaunchOverrideDetails object with values from keyword arguments.
Attributes:
Gets the capacity_reservation_id of this InstancePoolLaunchOverrideDetails.
Gets the shape of this InstancePoolLaunchOverrideDetails.
Gets the shape_config_details of this InstancePoolLaunchOverrideDetails.
- __init__(**kwargs)¶
Initializes a new InstancePoolLaunchOverrideDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
shape (str) – The value to assign to the shape property of this InstancePoolLaunchOverrideDetails.
shape_config_details (oci.core.models.InstancePoolLaunchOverrideShapeConfigDetails) – The value to assign to the shape_config_details property of this InstancePoolLaunchOverrideDetails.
capacity_reservation_id (str) – The value to assign to the capacity_reservation_id property of this InstancePoolLaunchOverrideDetails.
- property capacity_reservation_id¶
Gets the capacity_reservation_id of this InstancePoolLaunchOverrideDetails. The OCID of the compute capacity reservation to use for the override option.
- Returns
The capacity_reservation_id of this InstancePoolLaunchOverrideDetails.
- Return type
str
- property shape¶
Gets the shape of this InstancePoolLaunchOverrideDetails. The shape of an 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_shapes().- Returns
The shape of this InstancePoolLaunchOverrideDetails.
- Return type
str
- property shape_config_details¶
Gets the shape_config_details of this InstancePoolLaunchOverrideDetails.
- Returns
The shape_config_details of this InstancePoolLaunchOverrideDetails.
- Return type
oci.core.models.InstancePoolLaunchOverrideShapeConfigDetails