ShapeConfig¶
- class oci.devops.models.ShapeConfig(**kwargs)¶
Bases:
objectDetermines the size and amount of resources available to the instance.
Methods:
__init__(**kwargs)Initializes a new ShapeConfig object with values from keyword arguments.
Attributes:
Gets the memory_in_gbs of this ShapeConfig.
[Required] Gets the ocpus of this ShapeConfig.
- __init__(**kwargs)¶
Initializes a new ShapeConfig 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 ShapeConfig.
memory_in_gbs (float) – The value to assign to the memory_in_gbs property of this ShapeConfig.
- property memory_in_gbs¶
Gets the memory_in_gbs of this ShapeConfig. The total amount of memory available to the instance, in gigabytes.
- Returns
The memory_in_gbs of this ShapeConfig.
- Return type
float
- property ocpus¶
[Required] Gets the ocpus of this ShapeConfig. The total number of OCPUs available to the instance.
- Returns
The ocpus of this ShapeConfig.
- Return type
float