UpdateVolumeDetails

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

Bases: object

UpdateVolumeDetails model.

Methods

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

Attributes

defined_tags Gets the defined_tags of this UpdateVolumeDetails.
display_name Gets the display_name of this UpdateVolumeDetails.
freeform_tags Gets the freeform_tags of this UpdateVolumeDetails.
is_auto_tune_enabled Gets the is_auto_tune_enabled of this UpdateVolumeDetails.
size_in_gbs Gets the size_in_gbs of this UpdateVolumeDetails.
vpus_per_gb Gets the vpus_per_gb of this UpdateVolumeDetails.
__init__(**kwargs)

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

Parameters:
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateVolumeDetails.
  • display_name (str) – The value to assign to the display_name property of this UpdateVolumeDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateVolumeDetails.
  • vpus_per_gb (int) – The value to assign to the vpus_per_gb property of this UpdateVolumeDetails.
  • size_in_gbs (int) – The value to assign to the size_in_gbs property of this UpdateVolumeDetails.
  • is_auto_tune_enabled (bool) – The value to assign to the is_auto_tune_enabled property of this UpdateVolumeDetails.
defined_tags

Gets the defined_tags of this UpdateVolumeDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this UpdateVolumeDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this UpdateVolumeDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Returns:The display_name of this UpdateVolumeDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this UpdateVolumeDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Example: {“Department”: “Finance”}

Returns:The freeform_tags of this UpdateVolumeDetails.
Return type:dict(str, str)
is_auto_tune_enabled

Gets the is_auto_tune_enabled of this UpdateVolumeDetails. Specifies whether the auto-tune performance is enabled for this volume.

Returns:The is_auto_tune_enabled of this UpdateVolumeDetails.
Return type:bool
size_in_gbs

Gets the size_in_gbs of this UpdateVolumeDetails. The size to resize the volume to in GBs. Has to be larger than the current size.

Returns:The size_in_gbs of this UpdateVolumeDetails.
Return type:int
vpus_per_gb

Gets the vpus_per_gb of this UpdateVolumeDetails. The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service’s elastic performance options. See Block Volume Elastic Performance for more information.

Allowed values:

  • 0: Represents Lower Cost option.
  • 10: Represents Balanced option.
  • 20: Represents Higher Performance option.
Returns:The vpus_per_gb of this UpdateVolumeDetails.
Return type:int