Class IscsiTargetProperties

java.lang.Object
com.azure.resourcemanager.storagepool.fluent.models.IscsiTargetProperties

public final class IscsiTargetProperties extends Object
Response properties for iSCSI Target operations.
  • Constructor Details

    • IscsiTargetProperties

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

    • aclMode

      public IscsiTargetAclMode aclMode()
      Get the aclMode property: Mode for Target connectivity.
      Returns:
      the aclMode value.
    • withAclMode

      public IscsiTargetProperties withAclMode(IscsiTargetAclMode aclMode)
      Set the aclMode property: Mode for Target connectivity.
      Parameters:
      aclMode - the aclMode value to set.
      Returns:
      the IscsiTargetProperties object itself.
    • staticAcls

      public List<Acl> staticAcls()
      Get the staticAcls property: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.
      Returns:
      the staticAcls value.
    • withStaticAcls

      public IscsiTargetProperties withStaticAcls(List<Acl> staticAcls)
      Set the staticAcls property: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.
      Parameters:
      staticAcls - the staticAcls value to set.
      Returns:
      the IscsiTargetProperties object itself.
    • luns

      public List<IscsiLun> luns()
      Get the luns property: List of LUNs to be exposed through iSCSI Target.
      Returns:
      the luns value.
    • withLuns

      public IscsiTargetProperties withLuns(List<IscsiLun> luns)
      Set the luns property: List of LUNs to be exposed through iSCSI Target.
      Parameters:
      luns - the luns value to set.
      Returns:
      the IscsiTargetProperties object itself.
    • 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.
    • withTargetIqn

      public IscsiTargetProperties withTargetIqn(String targetIqn)
      Set the targetIqn property: iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
      Parameters:
      targetIqn - the targetIqn value to set.
      Returns:
      the IscsiTargetProperties object itself.
    • 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 IscsiTargetProperties withStatus(OperationalStatus status)
      Set the status property: Operational status of the iSCSI Target.
      Parameters:
      status - the status value to set.
      Returns:
      the IscsiTargetProperties object itself.
    • endpoints

      public List<String> endpoints()
      Get the endpoints property: List of private IPv4 addresses to connect to the iSCSI Target.
      Returns:
      the endpoints value.
    • withEndpoints

      public IscsiTargetProperties withEndpoints(List<String> endpoints)
      Set the endpoints property: List of private IPv4 addresses to connect to the iSCSI Target.
      Parameters:
      endpoints - the endpoints value to set.
      Returns:
      the IscsiTargetProperties object itself.
    • port

      public Integer port()
      Get the port property: The port used by iSCSI Target portal group.
      Returns:
      the port value.
    • withPort

      public IscsiTargetProperties withPort(Integer port)
      Set the port property: The port used by iSCSI Target portal group.
      Parameters:
      port - the port value to set.
      Returns:
      the IscsiTargetProperties object itself.
    • sessions

      public List<String> sessions()
      Get the sessions property: List of identifiers for active sessions on the iSCSI target.
      Returns:
      the sessions value.
    • validate

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