BlockVolumeAttachment¶
- class oci.ocvp.models.BlockVolumeAttachment(**kwargs)¶
Bases:
objectThe details about the attachment of block volume.
Methods:
__init__(**kwargs)Initializes a new BlockVolumeAttachment object with values from keyword arguments.
Attributes:
[Required] Gets the esxi_host_id of this BlockVolumeAttachment.
[Required] Gets the ip_address of this BlockVolumeAttachment.
[Required] Gets the port of this BlockVolumeAttachment.
- __init__(**kwargs)¶
Initializes a new BlockVolumeAttachment object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
esxi_host_id (str) – The value to assign to the esxi_host_id property of this BlockVolumeAttachment.
ip_address (str) – The value to assign to the ip_address property of this BlockVolumeAttachment.
port (int) – The value to assign to the port property of this BlockVolumeAttachment.
- property esxi_host_id¶
[Required] Gets the esxi_host_id of this BlockVolumeAttachment. The OCIDs of the ESXi host that block volume is attached to.
- Returns
The esxi_host_id of this BlockVolumeAttachment.
- Return type
str
- property ip_address¶
[Required] Gets the ip_address of this BlockVolumeAttachment. The IP address of block volume attachment.
- Returns
The ip_address of this BlockVolumeAttachment.
- Return type
str
- property port¶
[Required] Gets the port of this BlockVolumeAttachment. The port of block volume attachment.
- Returns
The port of this BlockVolumeAttachment.
- Return type
int