PercentageOfCoresEnabledOptions

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

Bases: object

Configuration options for the percentage of cores enabled.

Methods

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

Attributes

default_value Gets the default_value of this PercentageOfCoresEnabledOptions.
max Gets the max of this PercentageOfCoresEnabledOptions.
min Gets the min of this PercentageOfCoresEnabledOptions.
__init__(**kwargs)

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

Parameters:
  • min (int) – The value to assign to the min property of this PercentageOfCoresEnabledOptions.
  • max (int) – The value to assign to the max property of this PercentageOfCoresEnabledOptions.
  • default_value (int) – The value to assign to the default_value property of this PercentageOfCoresEnabledOptions.
default_value

Gets the default_value of this PercentageOfCoresEnabledOptions. The default percentage of cores enabled.

Returns:The default_value of this PercentageOfCoresEnabledOptions.
Return type:int
max

Gets the max of this PercentageOfCoresEnabledOptions. The maximum allowed percentage of cores enabled.

Returns:The max of this PercentageOfCoresEnabledOptions.
Return type:int
min

Gets the min of this PercentageOfCoresEnabledOptions. The minimum allowed percentage of cores enabled.

Returns:The min of this PercentageOfCoresEnabledOptions.
Return type:int