UpdateVolumeDetails¶
- class oci.core.models.UpdateVolumeDetails(**kwargs)¶
Bases:
objectUpdateVolumeDetails model.
Methods:
__init__(**kwargs)Initializes a new UpdateVolumeDetails object with values from keyword arguments.
Attributes:
Gets the autotune_policies of this UpdateVolumeDetails.
Gets the block_volume_replicas of this UpdateVolumeDetails.
Gets the defined_tags of this UpdateVolumeDetails.
Gets the display_name of this UpdateVolumeDetails.
Gets the freeform_tags of this UpdateVolumeDetails.
Gets the is_auto_tune_enabled of this UpdateVolumeDetails.
Gets the is_reservations_enabled of this UpdateVolumeDetails.
Gets the size_in_gbs of this UpdateVolumeDetails.
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.
block_volume_replicas (list[oci.core.models.BlockVolumeReplicaDetails]) – The value to assign to the block_volume_replicas property of this UpdateVolumeDetails.
autotune_policies (list[oci.core.models.AutotunePolicy]) – The value to assign to the autotune_policies property of this UpdateVolumeDetails.
is_reservations_enabled (bool) – The value to assign to the is_reservations_enabled property of this UpdateVolumeDetails.
- property autotune_policies¶
Gets the autotune_policies of this UpdateVolumeDetails. The list of autotune policies enabled for this volume.
- Returns
The autotune_policies of this UpdateVolumeDetails.
- Return type
- property block_volume_replicas¶
Gets the block_volume_replicas of this UpdateVolumeDetails. The list of block volume replicas that this volume will be updated to have in the specified destination availability domains.
- Returns
The block_volume_replicas of this UpdateVolumeDetails.
- Return type
- property 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))
- property 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
- property 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)
- property is_auto_tune_enabled¶
Gets the is_auto_tune_enabled of this UpdateVolumeDetails. Specifies whether the auto-tune performance is enabled for this volume. This field is deprecated. Use the DetachedVolumeAutotunePolicy instead to enable the volume for detached autotune.
- Returns
The is_auto_tune_enabled of this UpdateVolumeDetails.
- Return type
bool
- property is_reservations_enabled¶
Gets the is_reservations_enabled of this UpdateVolumeDetails. When set to true, enables SCSI Persistent Reservation (SCSI PR) for the volume. For more information, see Persistent Reservations.
- Returns
The is_reservations_enabled of this UpdateVolumeDetails.
- Return type
bool
- property 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
- property 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 Performance Levels for more information.
Allowed values:
0: Represents Lower Cost option.
10: Represents Balanced option.
20: Represents Higher Performance option.
30-120: Represents the Ultra High Performance option.
For performance autotune enabled volumes, it would be the Default(Minimum) VPUs/GB.
- Returns
The vpus_per_gb of this UpdateVolumeDetails.
- Return type
int