CapacityReportShapeAvailability

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

Bases: object

Information about the available capacity for a shape.

Attributes

AVAILABILITY_STATUS_AVAILABLE A constant which can be used with the availability_status property of a CapacityReportShapeAvailability.
AVAILABILITY_STATUS_HARDWARE_NOT_SUPPORTED A constant which can be used with the availability_status property of a CapacityReportShapeAvailability.
AVAILABILITY_STATUS_OUT_OF_HOST_CAPACITY A constant which can be used with the availability_status property of a CapacityReportShapeAvailability.
availability_status Gets the availability_status of this CapacityReportShapeAvailability.
available_count Gets the available_count of this CapacityReportShapeAvailability.
fault_domain Gets the fault_domain of this CapacityReportShapeAvailability.
instance_shape Gets the instance_shape of this CapacityReportShapeAvailability.
instance_shape_config Gets the instance_shape_config of this CapacityReportShapeAvailability.

Methods

__init__(**kwargs) Initializes a new CapacityReportShapeAvailability object with values from keyword arguments.
AVAILABILITY_STATUS_AVAILABLE = 'AVAILABLE'

A constant which can be used with the availability_status property of a CapacityReportShapeAvailability. This constant has a value of “AVAILABLE”

AVAILABILITY_STATUS_HARDWARE_NOT_SUPPORTED = 'HARDWARE_NOT_SUPPORTED'

A constant which can be used with the availability_status property of a CapacityReportShapeAvailability. This constant has a value of “HARDWARE_NOT_SUPPORTED”

AVAILABILITY_STATUS_OUT_OF_HOST_CAPACITY = 'OUT_OF_HOST_CAPACITY'

A constant which can be used with the availability_status property of a CapacityReportShapeAvailability. This constant has a value of “OUT_OF_HOST_CAPACITY”

__init__(**kwargs)

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

Parameters:
  • fault_domain (str) – The value to assign to the fault_domain property of this CapacityReportShapeAvailability.
  • instance_shape (str) – The value to assign to the instance_shape property of this CapacityReportShapeAvailability.
  • instance_shape_config (oci.core.models.CapacityReportInstanceShapeConfig) – The value to assign to the instance_shape_config property of this CapacityReportShapeAvailability.
  • available_count (int) – The value to assign to the available_count property of this CapacityReportShapeAvailability.
  • availability_status (str) – The value to assign to the availability_status property of this CapacityReportShapeAvailability. Allowed values for this property are: “OUT_OF_HOST_CAPACITY”, “HARDWARE_NOT_SUPPORTED”, “AVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
availability_status

Gets the availability_status of this CapacityReportShapeAvailability. A flag denoting whether capacity is available.

Allowed values for this property are: “OUT_OF_HOST_CAPACITY”, “HARDWARE_NOT_SUPPORTED”, “AVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The availability_status of this CapacityReportShapeAvailability.
Return type:str
available_count

Gets the available_count of this CapacityReportShapeAvailability. The total number of new instances that can be created with the specified shape configuration.

Returns:The available_count of this CapacityReportShapeAvailability.
Return type:int
fault_domain

Gets the fault_domain of this CapacityReportShapeAvailability. The fault domain for the capacity report.

If you do not specify the fault domain, the capacity report includes information about all fault domains.

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

Gets the instance_shape of this CapacityReportShapeAvailability. The shape that the capacity report was requested for.

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

Gets the instance_shape_config of this CapacityReportShapeAvailability.

Returns:The instance_shape_config of this CapacityReportShapeAvailability.
Return type:oci.core.models.CapacityReportInstanceShapeConfig