CapacityConfig¶
-
class
oci.core.models.CapacityConfig(**kwargs)¶ Bases:
objectSpecifies the capacity configs that the Dedicated Virtual Machine Host (DVMH) Shape could support.
Methods
__init__(**kwargs)Initializes a new CapacityConfig object with values from keyword arguments. Attributes
capacity_binsGets the capacity_bins of this CapacityConfig. capacity_config_nameGets the capacity_config_name of this CapacityConfig. is_defaultGets the is_default of this CapacityConfig. supported_capabilitiesGets the supported_capabilities of this CapacityConfig. -
__init__(**kwargs)¶ Initializes a new CapacityConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - capacity_config_name (str) – The value to assign to the capacity_config_name property of this CapacityConfig.
- supported_capabilities (oci.core.models.SupportedCapabilities) – The value to assign to the supported_capabilities property of this CapacityConfig.
- is_default (bool) – The value to assign to the is_default property of this CapacityConfig.
- capacity_bins (list[oci.core.models.CapacityBinPreview]) – The value to assign to the capacity_bins property of this CapacityConfig.
-
capacity_bins¶ Gets the capacity_bins of this CapacityConfig. A list of total CPU and memory per capacity bucket.
Returns: The capacity_bins of this CapacityConfig. Return type: list[oci.core.models.CapacityBinPreview]
-
capacity_config_name¶ Gets the capacity_config_name of this CapacityConfig. The name of each capacity config.
Returns: The capacity_config_name of this CapacityConfig. Return type: str
-
is_default¶ Gets the is_default of this CapacityConfig. Whether this capacity config is the default config.
Returns: The is_default of this CapacityConfig. Return type: bool
-
supported_capabilities¶ Gets the supported_capabilities of this CapacityConfig.
Returns: The supported_capabilities of this CapacityConfig. Return type: oci.core.models.SupportedCapabilities
-