LogicalUnit¶
- class oci.cloud_migrations.models.LogicalUnit(**kwargs)¶
Bases:
objectLogical unit of the host storage.
Attributes:
A constant which can be used with the lun_status property of a LogicalUnit.
A constant which can be used with the lun_status property of a LogicalUnit.
A constant which can be used with the lun_status property of a LogicalUnit.
Gets the address of this LogicalUnit.
Gets the discard_max_size_in_bytes of this LogicalUnit.
Gets the disk_id of this LogicalUnit.
Gets the id of this LogicalUnit.
Gets the is_discard_zeroes_data of this LogicalUnit.
Gets the lun_mapping of this LogicalUnit.
Gets the lun_status of this LogicalUnit.
Gets the password of this LogicalUnit.
Gets the paths of this LogicalUnit.
Gets the port of this LogicalUnit.
Gets the portal of this LogicalUnit.
Gets the product_id of this LogicalUnit.
Gets the serial of this LogicalUnit.
Gets the size of this LogicalUnit.
Gets the storage_domain_id of this LogicalUnit.
Gets the target of this LogicalUnit.
Gets the username of this LogicalUnit.
Gets the vendor_id of this LogicalUnit.
Gets the volume_group_id of this LogicalUnit.
Methods:
__init__(**kwargs)Initializes a new LogicalUnit object with values from keyword arguments.
- LUN_STATUS_FREE = 'FREE'¶
A constant which can be used with the lun_status property of a LogicalUnit. This constant has a value of “FREE”
- LUN_STATUS_UNUSABLE = 'UNUSABLE'¶
A constant which can be used with the lun_status property of a LogicalUnit. This constant has a value of “UNUSABLE”
- LUN_STATUS_USED = 'USED'¶
A constant which can be used with the lun_status property of a LogicalUnit. This constant has a value of “USED”
- __init__(**kwargs)¶
Initializes a new LogicalUnit object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
address (str) – The value to assign to the address property of this LogicalUnit.
discard_max_size_in_bytes (int) – The value to assign to the discard_max_size_in_bytes property of this LogicalUnit.
is_discard_zeroes_data (bool) – The value to assign to the is_discard_zeroes_data property of this LogicalUnit.
disk_id (str) – The value to assign to the disk_id property of this LogicalUnit.
id (str) – The value to assign to the id property of this LogicalUnit.
lun_mapping (int) – The value to assign to the lun_mapping property of this LogicalUnit.
lun_status (str) – The value to assign to the lun_status property of this LogicalUnit. Allowed values for this property are: “FREE”, “UNUSABLE”, “USED”
password (str) – The value to assign to the password property of this LogicalUnit.
paths (int) – The value to assign to the paths property of this LogicalUnit.
port (int) – The value to assign to the port property of this LogicalUnit.
portal (str) – The value to assign to the portal property of this LogicalUnit.
product_id (str) – The value to assign to the product_id property of this LogicalUnit.
serial (str) – The value to assign to the serial property of this LogicalUnit.
size (int) – The value to assign to the size property of this LogicalUnit.
storage_domain_id (str) – The value to assign to the storage_domain_id property of this LogicalUnit.
target (str) – The value to assign to the target property of this LogicalUnit.
username (str) – The value to assign to the username property of this LogicalUnit.
vendor_id (str) – The value to assign to the vendor_id property of this LogicalUnit.
volume_group_id (str) – The value to assign to the volume_group_id property of this LogicalUnit.
- property address¶
Gets the address of this LogicalUnit. Address of the logical unit.
- Returns
The address of this LogicalUnit.
- Return type
str
- property discard_max_size_in_bytes¶
Gets the discard_max_size_in_bytes of this LogicalUnit. The maximum number of bytes that can be discarded by the logical unit???s underlying storage in a single operation.
- Returns
The discard_max_size_in_bytes of this LogicalUnit.
- Return type
int
- property disk_id¶
Gets the disk_id of this LogicalUnit. Disk ID of the logical unit.
- Returns
The disk_id of this LogicalUnit.
- Return type
str
- property id¶
Gets the id of this LogicalUnit. a unique identifier.
- Returns
The id of this LogicalUnit.
- Return type
str
- property is_discard_zeroes_data¶
Gets the is_discard_zeroes_data of this LogicalUnit. True, if previously discarded blocks in the logical unit???s underlying storage are read back as zeros.
- Returns
The is_discard_zeroes_data of this LogicalUnit.
- Return type
bool
- property lun_mapping¶
Gets the lun_mapping of this LogicalUnit. LUN Mapping
- Returns
The lun_mapping of this LogicalUnit.
- Return type
int
- property lun_status¶
Gets the lun_status of this LogicalUnit. LUN Status
Allowed values for this property are: “FREE”, “UNUSABLE”, “USED”
- Returns
The lun_status of this LogicalUnit.
- Return type
str
- property password¶
Gets the password of this LogicalUnit. Password of the logical unit.
- Returns
The password of this LogicalUnit.
- Return type
str
- property paths¶
Gets the paths of this LogicalUnit. Paths of the logical unit.
- Returns
The paths of this LogicalUnit.
- Return type
int
- property port¶
Gets the port of this LogicalUnit. Port of the logical unit.
- Returns
The port of this LogicalUnit.
- Return type
int
- property portal¶
Gets the portal of this LogicalUnit. Portal of the logical unit.
- Returns
The portal of this LogicalUnit.
- Return type
str
- property product_id¶
Gets the product_id of this LogicalUnit. Product ID of the logical unit.
- Returns
The product_id of this LogicalUnit.
- Return type
str
- property serial¶
Gets the serial of this LogicalUnit. Serial of the logical unit.
- Returns
The serial of this LogicalUnit.
- Return type
str
- property size¶
Gets the size of this LogicalUnit. Size of the logical unit.
- Returns
The size of this LogicalUnit.
- Return type
int
- property storage_domain_id¶
Gets the storage_domain_id of this LogicalUnit. Storage Domain ID of the logical unit.
- Returns
The storage_domain_id of this LogicalUnit.
- Return type
str
- property target¶
Gets the target of this LogicalUnit. Target of the logical unit.
- Returns
The target of this LogicalUnit.
- Return type
str
- property username¶
Gets the username of this LogicalUnit. Username of the logical unit.
- Returns
The username of this LogicalUnit.
- Return type
str
- property vendor_id¶
Gets the vendor_id of this LogicalUnit. Vendor ID of the logical unit.
- Returns
The vendor_id of this LogicalUnit.
- Return type
str
- property volume_group_id¶
Gets the volume_group_id of this LogicalUnit. Volume Group ID of the logical unit.
- Returns
The volume_group_id of this LogicalUnit.
- Return type
str