CreateBootVolumeDetails

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

Bases: object

CreateBootVolumeDetails model.

__init__(**kwargs)

Initializes a new CreateBootVolumeDetails 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 CreateBootVolumeDetails.
  • backup_policy_id (str) -- The value to assign to the backup_policy_id property of this CreateBootVolumeDetails.
  • compartment_id (str) -- The value to assign to the compartment_id property of this CreateBootVolumeDetails.
  • defined_tags (dict(str, dict(str, object))) -- The value to assign to the defined_tags property of this CreateBootVolumeDetails.
  • display_name (str) -- The value to assign to the display_name property of this CreateBootVolumeDetails.
  • freeform_tags (dict(str, str)) -- The value to assign to the freeform_tags property of this CreateBootVolumeDetails.
  • kms_key_id (str) -- The value to assign to the kms_key_id property of this CreateBootVolumeDetails.
  • size_in_gbs (int) -- The value to assign to the size_in_gbs property of this CreateBootVolumeDetails.
  • source_details (BootVolumeSourceDetails) -- The value to assign to the source_details property of this CreateBootVolumeDetails.
availability_domain

[Required] Gets the availability_domain of this CreateBootVolumeDetails. The availability domain of the boot volume.

Example: Uocm:PHX-AD-1

Returns:The availability_domain of this CreateBootVolumeDetails.
Return type:str
backup_policy_id

Gets the backup_policy_id of this CreateBootVolumeDetails. If provided, specifies the ID of the boot volume backup policy to assign to the newly created boot volume. If omitted, no policy will be assigned.

Returns:The backup_policy_id of this CreateBootVolumeDetails.
Return type:str
compartment_id

[Required] Gets the compartment_id of this CreateBootVolumeDetails. The OCID of the compartment that contains the boot volume.

Returns:The compartment_id of this CreateBootVolumeDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateBootVolumeDetails. 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 CreateBootVolumeDetails.
Return type:dict(str, dict(str, object))
display_name

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

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

Gets the freeform_tags of this CreateBootVolumeDetails. 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 CreateBootVolumeDetails.
Return type:dict(str, str)
kms_key_id

Gets the kms_key_id of this CreateBootVolumeDetails. The OCID of the KMS key to be used as the master encryption key for the boot volume.

Returns:The kms_key_id of this CreateBootVolumeDetails.
Return type:str
size_in_gbs

Gets the size_in_gbs of this CreateBootVolumeDetails. The size of the volume in GBs.

Returns:The size_in_gbs of this CreateBootVolumeDetails.
Return type:int
source_details

[Required] Gets the source_details of this CreateBootVolumeDetails. Specifies the boot volume source details for a new boot volume. The volume source is either another boot volume in the same availability domain or a boot volume backup. This is a mandatory field for a boot volume.

Returns:The source_details of this CreateBootVolumeDetails.
Return type:BootVolumeSourceDetails