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.

is_cbt_enabled

Gets the is_cbt_enabled 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.

  • is_cbt_enabled (bool) – The value to assign to the is_cbt_enabled property of this Disk.

property boot_order

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

Returns

The boot_order of this Disk.

Return type

int

property is_cbt_enabled

Gets the is_cbt_enabled of this Disk. Indicates that CBT (change disk tracking) is enabled for this virtual disk.

Returns

The is_cbt_enabled of this Disk.

Return type

bool

property location

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

Returns

The location of this Disk.

Return type

str

property name

Gets the name of this Disk. Disk name.

Returns

The name of this Disk.

Return type

str

property persistent_mode

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

Returns

The persistent_mode of this Disk.

Return type

str

property 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

property uuid

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

Returns

The uuid of this Disk.

Return type

str

property 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