LogicalUnit¶
-
class
oci.cloud_migrations.models.LogicalUnit(**kwargs)¶ Bases:
objectLogical unit of the host storage.
Attributes
LUN_STATUS_FREEA constant which can be used with the lun_status property of a LogicalUnit. LUN_STATUS_UNUSABLEA constant which can be used with the lun_status property of a LogicalUnit. LUN_STATUS_USEDA constant which can be used with the lun_status property of a LogicalUnit. addressGets the address of this LogicalUnit. discard_max_size_in_bytesGets the discard_max_size_in_bytes of this LogicalUnit. disk_idGets the disk_id of this LogicalUnit. idGets the id of this LogicalUnit. is_discard_zeroes_dataGets the is_discard_zeroes_data of this LogicalUnit. lun_mappingGets the lun_mapping of this LogicalUnit. lun_statusGets the lun_status of this LogicalUnit. passwordGets the password of this LogicalUnit. pathsGets the paths of this LogicalUnit. portGets the port of this LogicalUnit. portalGets the portal of this LogicalUnit. product_idGets the product_id of this LogicalUnit. serialGets the serial of this LogicalUnit. sizeGets the size of this LogicalUnit. storage_domain_idGets the storage_domain_id of this LogicalUnit. targetGets the target of this LogicalUnit. usernameGets the username of this LogicalUnit. vendor_idGets the vendor_id of this LogicalUnit. volume_group_idGets 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.
-
address¶ Gets the address of this LogicalUnit. Address of the logical unit.
Returns: The address of this LogicalUnit. Return type: str
-
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
-
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
-
id¶ Gets the id of this LogicalUnit. a unique identifier.
Returns: The id of this LogicalUnit. Return type: str
-
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
-
lun_mapping¶ Gets the lun_mapping of this LogicalUnit. LUN Mapping
Returns: The lun_mapping of this LogicalUnit. Return type: int
-
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
-
password¶ Gets the password of this LogicalUnit. Password of the logical unit.
Returns: The password of this LogicalUnit. Return type: str
-
paths¶ Gets the paths of this LogicalUnit. Paths of the logical unit.
Returns: The paths of this LogicalUnit. Return type: int
-
port¶ Gets the port of this LogicalUnit. Port of the logical unit.
Returns: The port of this LogicalUnit. Return type: int
-
portal¶ Gets the portal of this LogicalUnit. Portal of the logical unit.
Returns: The portal of this LogicalUnit. Return type: str
-
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
-
serial¶ Gets the serial of this LogicalUnit. Serial of the logical unit.
Returns: The serial of this LogicalUnit. Return type: str
-
size¶ Gets the size of this LogicalUnit. Size of the logical unit.
Returns: The size of this LogicalUnit. Return type: int
-
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
-
target¶ Gets the target of this LogicalUnit. Target of the logical unit.
Returns: The target of this LogicalUnit. Return type: str
-
username¶ Gets the username of this LogicalUnit. Username of the logical unit.
Returns: The username of this LogicalUnit. Return type: str
-
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
-
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
-