ShapeMaxVnicAttachmentOptions

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

Bases: object

For a flexible shape, the number of VNIC attachments that are available for instances that use this shape.

If this field is null, then this shape has a fixed maximum number of VNIC attachments equal to maxVnicAttachments.

Methods

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

Attributes

default_per_ocpu Gets the default_per_ocpu of this ShapeMaxVnicAttachmentOptions.
max Gets the max of this ShapeMaxVnicAttachmentOptions.
min Gets the min of this ShapeMaxVnicAttachmentOptions.
__init__(**kwargs)

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

Parameters:
  • min (int) – The value to assign to the min property of this ShapeMaxVnicAttachmentOptions.
  • max (float) – The value to assign to the max property of this ShapeMaxVnicAttachmentOptions.
  • default_per_ocpu (float) – The value to assign to the default_per_ocpu property of this ShapeMaxVnicAttachmentOptions.
default_per_ocpu

Gets the default_per_ocpu of this ShapeMaxVnicAttachmentOptions. The default number of VNIC attachments allowed per OCPU.

Returns:The default_per_ocpu of this ShapeMaxVnicAttachmentOptions.
Return type:float
max

Gets the max of this ShapeMaxVnicAttachmentOptions. The highest maximum value of VNIC attachments.

Returns:The max of this ShapeMaxVnicAttachmentOptions.
Return type:float
min

Gets the min of this ShapeMaxVnicAttachmentOptions. The lowest maximum value of VNIC attachments.

Returns:The min of this ShapeMaxVnicAttachmentOptions.
Return type:int