BlockVolumeAttachment

class oci.ocvp.models.BlockVolumeAttachment(**kwargs)

Bases: object

The details about the attachment of block volume.

Methods

__init__(**kwargs) Initializes a new BlockVolumeAttachment object with values from keyword arguments.

Attributes

esxi_host_id [Required] Gets the esxi_host_id of this BlockVolumeAttachment.
ip_address [Required] Gets the ip_address of this BlockVolumeAttachment.
port [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.
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
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
port

[Required] Gets the port of this BlockVolumeAttachment. The port of block volume attachment.

Returns:The port of this BlockVolumeAttachment.
Return type:int