InstanceShapeConfig

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

Bases: object

The shape configuration for an instance. The shape configuration determines the resources allocated to an instance.

Methods

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

Attributes

gpu_description Gets the gpu_description of this InstanceShapeConfig.
gpus Gets the gpus of this InstanceShapeConfig.
local_disk_description Gets the local_disk_description of this InstanceShapeConfig.
local_disks Gets the local_disks of this InstanceShapeConfig.
local_disks_total_size_in_gbs Gets the local_disks_total_size_in_gbs of this InstanceShapeConfig.
max_vnic_attachments Gets the max_vnic_attachments of this InstanceShapeConfig.
memory_in_gbs Gets the memory_in_gbs of this InstanceShapeConfig.
networking_bandwidth_in_gbps Gets the networking_bandwidth_in_gbps of this InstanceShapeConfig.
ocpus Gets the ocpus of this InstanceShapeConfig.
processor_description Gets the processor_description of this InstanceShapeConfig.
__init__(**kwargs)

Initializes a new InstanceShapeConfig 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 InstanceShapeConfig.
  • memory_in_gbs (float) – The value to assign to the memory_in_gbs property of this InstanceShapeConfig.
  • processor_description (str) – The value to assign to the processor_description property of this InstanceShapeConfig.
  • networking_bandwidth_in_gbps (float) – The value to assign to the networking_bandwidth_in_gbps property of this InstanceShapeConfig.
  • max_vnic_attachments (int) – The value to assign to the max_vnic_attachments property of this InstanceShapeConfig.
  • gpus (int) – The value to assign to the gpus property of this InstanceShapeConfig.
  • gpu_description (str) – The value to assign to the gpu_description property of this InstanceShapeConfig.
  • local_disks (int) – The value to assign to the local_disks property of this InstanceShapeConfig.
  • local_disks_total_size_in_gbs (float) – The value to assign to the local_disks_total_size_in_gbs property of this InstanceShapeConfig.
  • local_disk_description (str) – The value to assign to the local_disk_description property of this InstanceShapeConfig.
gpu_description

Gets the gpu_description of this InstanceShapeConfig. A short description of the instance’s graphics processing unit (GPU).

If the instance does not have any GPUs, this field is null.

Returns:The gpu_description of this InstanceShapeConfig.
Return type:str
gpus

Gets the gpus of this InstanceShapeConfig. The number of GPUs available to the instance.

Returns:The gpus of this InstanceShapeConfig.
Return type:int
local_disk_description

Gets the local_disk_description of this InstanceShapeConfig. A short description of the local disks available to this instance.

If the instance does not have any local disks, this field is null.

Returns:The local_disk_description of this InstanceShapeConfig.
Return type:str
local_disks

Gets the local_disks of this InstanceShapeConfig. The number of local disks available to the instance.

Returns:The local_disks of this InstanceShapeConfig.
Return type:int
local_disks_total_size_in_gbs

Gets the local_disks_total_size_in_gbs of this InstanceShapeConfig. The aggregate size of all local disks, in gigabytes.

If the instance does not have any local disks, this field is null.

Returns:The local_disks_total_size_in_gbs of this InstanceShapeConfig.
Return type:float
max_vnic_attachments

Gets the max_vnic_attachments of this InstanceShapeConfig. The maximum number of VNIC attachments for the instance.

Returns:The max_vnic_attachments of this InstanceShapeConfig.
Return type:int
memory_in_gbs

Gets the memory_in_gbs of this InstanceShapeConfig. The total amount of memory available to the instance, in gigabytes.

Returns:The memory_in_gbs of this InstanceShapeConfig.
Return type:float
networking_bandwidth_in_gbps

Gets the networking_bandwidth_in_gbps of this InstanceShapeConfig. The networking bandwidth available to the instance, in gigabits per second.

Returns:The networking_bandwidth_in_gbps of this InstanceShapeConfig.
Return type:float
ocpus

Gets the ocpus of this InstanceShapeConfig. The total number of OCPUs available to the instance.

Returns:The ocpus of this InstanceShapeConfig.
Return type:float
processor_description

Gets the processor_description of this InstanceShapeConfig. A short description of the instance’s processor (CPU).

Returns:The processor_description of this InstanceShapeConfig.
Return type:str