InstanceConfigurationCreateVolumeDetails¶
- class oci.core.models.InstanceConfigurationCreateVolumeDetails(**kwargs)¶
Bases:
objectCreates a new block volume. Please see
CreateVolumeDetailsMethods:
__init__(**kwargs)Initializes a new InstanceConfigurationCreateVolumeDetails object with values from keyword arguments.
Attributes:
Gets the autotune_policies of this InstanceConfigurationCreateVolumeDetails.
Gets the availability_domain of this InstanceConfigurationCreateVolumeDetails.
Gets the backup_policy_id of this InstanceConfigurationCreateVolumeDetails.
Gets the block_volume_replicas of this InstanceConfigurationCreateVolumeDetails.
Gets the cluster_placement_group_id of this InstanceConfigurationCreateVolumeDetails.
Gets the compartment_id of this InstanceConfigurationCreateVolumeDetails.
Gets the defined_tags of this InstanceConfigurationCreateVolumeDetails.
Gets the display_name of this InstanceConfigurationCreateVolumeDetails.
Gets the freeform_tags of this InstanceConfigurationCreateVolumeDetails.
Gets the is_auto_tune_enabled of this InstanceConfigurationCreateVolumeDetails.
Gets the is_reservations_enabled of this InstanceConfigurationCreateVolumeDetails.
Gets the kms_key_id of this InstanceConfigurationCreateVolumeDetails.
Gets the size_in_gbs of this InstanceConfigurationCreateVolumeDetails.
Gets the source_details of this InstanceConfigurationCreateVolumeDetails.
Gets the vpus_per_gb of this InstanceConfigurationCreateVolumeDetails.
Gets the xrc_kms_key_id of this InstanceConfigurationCreateVolumeDetails.
- __init__(**kwargs)¶
Initializes a new InstanceConfigurationCreateVolumeDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
availability_domain (str) – The value to assign to the availability_domain property of this InstanceConfigurationCreateVolumeDetails.
backup_policy_id (str) – The value to assign to the backup_policy_id property of this InstanceConfigurationCreateVolumeDetails.
compartment_id (str) – The value to assign to the compartment_id property of this InstanceConfigurationCreateVolumeDetails.
is_auto_tune_enabled (bool) – The value to assign to the is_auto_tune_enabled property of this InstanceConfigurationCreateVolumeDetails.
block_volume_replicas (list[oci.core.models.InstanceConfigurationBlockVolumeReplicaDetails]) – The value to assign to the block_volume_replicas property of this InstanceConfigurationCreateVolumeDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this InstanceConfigurationCreateVolumeDetails.
display_name (str) – The value to assign to the display_name property of this InstanceConfigurationCreateVolumeDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this InstanceConfigurationCreateVolumeDetails.
kms_key_id (str) – The value to assign to the kms_key_id property of this InstanceConfigurationCreateVolumeDetails.
vpus_per_gb (int) – The value to assign to the vpus_per_gb property of this InstanceConfigurationCreateVolumeDetails.
cluster_placement_group_id (str) – The value to assign to the cluster_placement_group_id property of this InstanceConfigurationCreateVolumeDetails.
size_in_gbs (int) – The value to assign to the size_in_gbs property of this InstanceConfigurationCreateVolumeDetails.
source_details (oci.core.models.InstanceConfigurationVolumeSourceDetails) – The value to assign to the source_details property of this InstanceConfigurationCreateVolumeDetails.
autotune_policies (list[oci.core.models.InstanceConfigurationAutotunePolicy]) – The value to assign to the autotune_policies property of this InstanceConfigurationCreateVolumeDetails.
xrc_kms_key_id (str) – The value to assign to the xrc_kms_key_id property of this InstanceConfigurationCreateVolumeDetails.
is_reservations_enabled (bool) – The value to assign to the is_reservations_enabled property of this InstanceConfigurationCreateVolumeDetails.
- property autotune_policies¶
Gets the autotune_policies of this InstanceConfigurationCreateVolumeDetails. The list of autotune policies enabled for this volume.
- Returns
The autotune_policies of this InstanceConfigurationCreateVolumeDetails.
- Return type
- property availability_domain¶
Gets the availability_domain of this InstanceConfigurationCreateVolumeDetails. The availability domain of the volume.
Example: Uocm:PHX-AD-1
- Returns
The availability_domain of this InstanceConfigurationCreateVolumeDetails.
- Return type
str
- property backup_policy_id¶
Gets the backup_policy_id of this InstanceConfigurationCreateVolumeDetails. If provided, specifies the ID of the volume backup policy to assign to the newly created volume. If omitted, no policy will be assigned.
- Returns
The backup_policy_id of this InstanceConfigurationCreateVolumeDetails.
- Return type
str
- property block_volume_replicas¶
Gets the block_volume_replicas of this InstanceConfigurationCreateVolumeDetails. The list of block volume replicas to be enabled for this volume in the specified destination availability domains.
- Returns
The block_volume_replicas of this InstanceConfigurationCreateVolumeDetails.
- Return type
list[oci.core.models.InstanceConfigurationBlockVolumeReplicaDetails]
- property cluster_placement_group_id¶
Gets the cluster_placement_group_id of this InstanceConfigurationCreateVolumeDetails. The clusterPlacementGroup Id of the volume for volume placement.
- Returns
The cluster_placement_group_id of this InstanceConfigurationCreateVolumeDetails.
- Return type
str
- property compartment_id¶
Gets the compartment_id of this InstanceConfigurationCreateVolumeDetails. The OCID of the compartment that contains the volume.
- Returns
The compartment_id of this InstanceConfigurationCreateVolumeDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this InstanceConfigurationCreateVolumeDetails. 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 InstanceConfigurationCreateVolumeDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this InstanceConfigurationCreateVolumeDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this InstanceConfigurationCreateVolumeDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this InstanceConfigurationCreateVolumeDetails. 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 InstanceConfigurationCreateVolumeDetails.
- Return type
dict(str, str)
- property is_auto_tune_enabled¶
Gets the is_auto_tune_enabled of this InstanceConfigurationCreateVolumeDetails. Specifies whether the auto-tune performance is enabled for this boot volume. This field is deprecated. Use the InstanceConfigurationDetachedVolumeAutotunePolicy instead to enable the volume for detached autotune.
- Returns
The is_auto_tune_enabled of this InstanceConfigurationCreateVolumeDetails.
- Return type
bool
- property is_reservations_enabled¶
Gets the is_reservations_enabled of this InstanceConfigurationCreateVolumeDetails. 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 InstanceConfigurationCreateVolumeDetails.
- Return type
bool
- property kms_key_id¶
Gets the kms_key_id of this InstanceConfigurationCreateVolumeDetails. The OCID of the Vault service key to assign as the master encryption key for the volume.
- Returns
The kms_key_id of this InstanceConfigurationCreateVolumeDetails.
- Return type
str
- property size_in_gbs¶
Gets the size_in_gbs of this InstanceConfigurationCreateVolumeDetails. The size of the volume in GBs.
- Returns
The size_in_gbs of this InstanceConfigurationCreateVolumeDetails.
- Return type
int
- property source_details¶
Gets the source_details of this InstanceConfigurationCreateVolumeDetails.
- Returns
The source_details of this InstanceConfigurationCreateVolumeDetails.
- Return type
- property vpus_per_gb¶
Gets the vpus_per_gb of this InstanceConfigurationCreateVolumeDetails. 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 InstanceConfigurationCreateVolumeDetails.
- Return type
int
- property xrc_kms_key_id¶
Gets the xrc_kms_key_id of this InstanceConfigurationCreateVolumeDetails. The OCID of the Vault service key which is the master encryption key for the block volume cross region backups, which will be used in the destination region to encrypt the backup’s encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- Returns
The xrc_kms_key_id of this InstanceConfigurationCreateVolumeDetails.
- Return type
str