Class IscsiTargetCreateProperties

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

public final class IscsiTargetCreateProperties extends Object
Properties for iSCSI Target create or update request.
  • Constructor Details

    • IscsiTargetCreateProperties

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

    • aclMode

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

      public IscsiTargetCreateProperties withAclMode(IscsiTargetAclMode aclMode)
      Set the aclMode property: Mode for Target connectivity.
      Parameters:
      aclMode - the aclMode value to set.
      Returns:
      the IscsiTargetCreateProperties 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 IscsiTargetCreateProperties 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 IscsiTargetCreateProperties 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 IscsiTargetCreateProperties 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 IscsiTargetCreateProperties 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 IscsiTargetCreateProperties 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 IscsiTargetCreateProperties object itself.
    • validate

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