DatastoreAttachment¶
-
class
oci.ocvp.models.
DatastoreAttachment
(**kwargs)¶ Bases:
object
The details about attachment of datastore
Methods
__init__
(**kwargs)Initializes a new DatastoreAttachment object with values from keyword arguments. Attributes
block_volume_id
[Required] Gets the block_volume_id of this DatastoreAttachment. datastore_id
[Required] Gets the datastore_id of this DatastoreAttachment. ip_address
[Required] Gets the ip_address of this DatastoreAttachment. port
[Required] Gets the port of this DatastoreAttachment. volume_iqn
[Required] Gets the volume_iqn of this DatastoreAttachment. -
__init__
(**kwargs)¶ Initializes a new DatastoreAttachment object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - volume_iqn (str) – The value to assign to the volume_iqn property of this DatastoreAttachment.
- block_volume_id (str) – The value to assign to the block_volume_id property of this DatastoreAttachment.
- datastore_id (str) – The value to assign to the datastore_id property of this DatastoreAttachment.
- ip_address (str) – The value to assign to the ip_address property of this DatastoreAttachment.
- port (int) – The value to assign to the port property of this DatastoreAttachment.
-
block_volume_id
¶ [Required] Gets the block_volume_id of this DatastoreAttachment. The OCID of the Block Volume that belongs to the datastore.
Returns: The block_volume_id of this DatastoreAttachment. Return type: str
-
datastore_id
¶ [Required] Gets the datastore_id of this DatastoreAttachment. The OCIDs of the Datastore that ESXi host is attached to.
Returns: The datastore_id of this DatastoreAttachment. Return type: str
-
ip_address
¶ [Required] Gets the ip_address of this DatastoreAttachment. The IP address of datastore attachment.
Returns: The ip_address of this DatastoreAttachment. Return type: str
-
port
¶ [Required] Gets the port of this DatastoreAttachment. The port of datastore attachment.
Returns: The port of this DatastoreAttachment. Return type: int
-
volume_iqn
¶ [Required] Gets the volume_iqn of this DatastoreAttachment. An IQN of the Block Storage Volume.
Returns: The volume_iqn of this DatastoreAttachment. Return type: str
-