DatastoreAttachment¶
- class oci.ocvp.models.DatastoreAttachment(**kwargs)¶
Bases:
objectThe details about attachment of datastore
Methods:
__init__(**kwargs)Initializes a new DatastoreAttachment object with values from keyword arguments.
Attributes:
[Required] Gets the block_volume_id of this DatastoreAttachment.
[Required] Gets the datastore_id of this DatastoreAttachment.
[Required] Gets the ip_address of this DatastoreAttachment.
[Required] Gets the port of this DatastoreAttachment.
[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.
- property 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
- property 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
- property 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
- property port¶
[Required] Gets the port of this DatastoreAttachment. The port of datastore attachment.
- Returns
The port of this DatastoreAttachment.
- Return type
int
- property 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