CreateComputeGpuMemoryClusterScaleConfig¶
-
class
oci.core.models.CreateComputeGpuMemoryClusterScaleConfig(**kwargs)¶ Bases:
objectConfiguration settings for GPU Memory Cluster scaling.
Methods
__init__(**kwargs)Initializes a new CreateComputeGpuMemoryClusterScaleConfig object with values from keyword arguments. Attributes
is_downsize_enabledGets the is_downsize_enabled of this CreateComputeGpuMemoryClusterScaleConfig. is_upsize_enabled[Required] Gets the is_upsize_enabled of this CreateComputeGpuMemoryClusterScaleConfig. target_sizeGets the target_size of this CreateComputeGpuMemoryClusterScaleConfig. -
__init__(**kwargs)¶ Initializes a new CreateComputeGpuMemoryClusterScaleConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - is_upsize_enabled (bool) – The value to assign to the is_upsize_enabled property of this CreateComputeGpuMemoryClusterScaleConfig.
- is_downsize_enabled (bool) – The value to assign to the is_downsize_enabled property of this CreateComputeGpuMemoryClusterScaleConfig.
- target_size (int) – The value to assign to the target_size property of this CreateComputeGpuMemoryClusterScaleConfig.
-
is_downsize_enabled¶ Gets the is_downsize_enabled of this CreateComputeGpuMemoryClusterScaleConfig. Enables downsizing towards the target size.
Returns: The is_downsize_enabled of this CreateComputeGpuMemoryClusterScaleConfig. Return type: bool
-
is_upsize_enabled¶ [Required] Gets the is_upsize_enabled of this CreateComputeGpuMemoryClusterScaleConfig. Enables upsizing towards the target size.
Returns: The is_upsize_enabled of this CreateComputeGpuMemoryClusterScaleConfig. Return type: bool
-
target_size¶ Gets the target_size of this CreateComputeGpuMemoryClusterScaleConfig. The configured target size for the GPU Memory cluster.
Returns: The target_size of this CreateComputeGpuMemoryClusterScaleConfig. Return type: int
-