Disk

class oci.cloud_bridge.models.Disk(**kwargs)

Bases: object

The assets disk.

Methods

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

Attributes

boot_order Gets the boot_order of this Disk.
location Gets the location of this Disk.
name Gets the name of this Disk.
persistent_mode Gets the persistent_mode of this Disk.
size_in_mbs Gets the size_in_mbs of this Disk.
uuid Gets the uuid of this Disk.
uuid_lun Gets the uuid_lun of this Disk.
__init__(**kwargs)

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

Parameters:
  • name (str) – The value to assign to the name property of this Disk.
  • boot_order (int) – The value to assign to the boot_order property of this Disk.
  • uuid (str) – The value to assign to the uuid property of this Disk.
  • uuid_lun (str) – The value to assign to the uuid_lun property of this Disk.
  • size_in_mbs (int) – The value to assign to the size_in_mbs property of this Disk.
  • location (str) – The value to assign to the location property of this Disk.
  • persistent_mode (str) – The value to assign to the persistent_mode property of this Disk.
boot_order

Gets the boot_order of this Disk. Order of boot volumes.

Returns:The boot_order of this Disk.
Return type:int
location

Gets the location of this Disk. Location of the boot/data volume.

Returns:The location of this Disk.
Return type:str
name

Gets the name of this Disk. Disk name.

Returns:The name of this Disk.
Return type:str
persistent_mode

Gets the persistent_mode of this Disk. The disk persistent mode.

Returns:The persistent_mode of this Disk.
Return type:str
size_in_mbs

Gets the size_in_mbs of this Disk. The size of the volume in MBs.

Returns:The size_in_mbs of this Disk.
Return type:int
uuid

Gets the uuid of this Disk. Disk UUID for the virtual disk, if available.

Returns:The uuid of this Disk.
Return type:str
uuid_lun

Gets the uuid_lun of this Disk. Disk UUID LUN for the virtual disk, if available.

Returns:The uuid_lun of this Disk.
Return type:str