Class IscsiTargetInfo

java.lang.Object
com.azure.resourcemanager.elasticsan.models.IscsiTargetInfo

public final class IscsiTargetInfo extends Object
Iscsi target information.
  • Constructor Details

    • IscsiTargetInfo

      public IscsiTargetInfo()
      Creates an instance of IscsiTargetInfo class.
  • Method Details

    • targetIqn

      public String targetIqn()
      Get the targetIqn property: iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
      Returns:
      the targetIqn value.
    • targetPortalHostname

      public String targetPortalHostname()
      Get the targetPortalHostname property: iSCSI Target Portal Host Name.
      Returns:
      the targetPortalHostname value.
    • targetPortalPort

      public Integer targetPortalPort()
      Get the targetPortalPort property: iSCSI Target Portal Port.
      Returns:
      the targetPortalPort value.
    • provisioningState

      public ProvisioningStates provisioningState()
      Get the provisioningState property: State of the operation on the resource.
      Returns:
      the provisioningState value.
    • status

      public OperationalStatus status()
      Get the status property: Operational status of the iSCSI Target.
      Returns:
      the status value.
    • withStatus

      public IscsiTargetInfo withStatus(OperationalStatus status)
      Set the status property: Operational status of the iSCSI Target.
      Parameters:
      status - the status value to set.
      Returns:
      the IscsiTargetInfo object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.