ContainerInstanceShapeConfig¶
-
class
oci.container_instances.models.ContainerInstanceShapeConfig(**kwargs)¶ Bases:
objectThe shape configuration for a container instance. The shape configuration determines the resources thats are available to the container instance and its containers.
Methods
__init__(**kwargs)Initializes a new ContainerInstanceShapeConfig object with values from keyword arguments. Attributes
memory_in_gbs[Required] Gets the memory_in_gbs of this ContainerInstanceShapeConfig. networking_bandwidth_in_gbps[Required] Gets the networking_bandwidth_in_gbps of this ContainerInstanceShapeConfig. ocpus[Required] Gets the ocpus of this ContainerInstanceShapeConfig. processor_description[Required] Gets the processor_description of this ContainerInstanceShapeConfig. -
__init__(**kwargs)¶ Initializes a new ContainerInstanceShapeConfig 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 ContainerInstanceShapeConfig.
- memory_in_gbs (float) – The value to assign to the memory_in_gbs property of this ContainerInstanceShapeConfig.
- processor_description (str) – The value to assign to the processor_description property of this ContainerInstanceShapeConfig.
- networking_bandwidth_in_gbps (float) – The value to assign to the networking_bandwidth_in_gbps property of this ContainerInstanceShapeConfig.
-
memory_in_gbs¶ [Required] Gets the memory_in_gbs of this ContainerInstanceShapeConfig. The total amount of memory available to the container instance, in gigabytes.
Returns: The memory_in_gbs of this ContainerInstanceShapeConfig. Return type: float
-
networking_bandwidth_in_gbps¶ [Required] Gets the networking_bandwidth_in_gbps of this ContainerInstanceShapeConfig. The networking bandwidth available to the container instance, in gigabits per second.
Returns: The networking_bandwidth_in_gbps of this ContainerInstanceShapeConfig. Return type: float
-
ocpus¶ [Required] Gets the ocpus of this ContainerInstanceShapeConfig. The total number of OCPUs available to the container instance.
Returns: The ocpus of this ContainerInstanceShapeConfig. Return type: float
-
processor_description¶ [Required] Gets the processor_description of this ContainerInstanceShapeConfig. A short description of the container instance’s processor (CPU).
Returns: The processor_description of this ContainerInstanceShapeConfig. Return type: str
-