ResourceLimitConfiguration

class oci.data_science.models.ResourceLimitConfiguration(**kwargs)

Bases: object

Resource limit configuration details for workload on managed compute cluster type compute target

Methods

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

Attributes

memory_in_gbs [Required] Gets the memory_in_gbs of this ResourceLimitConfiguration.
ocpus [Required] Gets the ocpus of this ResourceLimitConfiguration.
__init__(**kwargs)

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

Parameters:
  • ocpus (float) – The value to assign to the ocpus property of this ResourceLimitConfiguration.
  • memory_in_gbs (float) – The value to assign to the memory_in_gbs property of this ResourceLimitConfiguration.
memory_in_gbs

[Required] Gets the memory_in_gbs of this ResourceLimitConfiguration. Burstable limit for memory.

Returns:The memory_in_gbs of this ResourceLimitConfiguration.
Return type:float
ocpus

[Required] Gets the ocpus of this ResourceLimitConfiguration. Burstable limit for cpu.

Returns:The ocpus of this ResourceLimitConfiguration.
Return type:float