java.lang.Object
com.azure.resourcemanager.storagepool.models.Acl

public final class Acl extends Object
Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.
  • Constructor Details

    • Acl

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

    • initiatorIqn

      public String initiatorIqn()
      Get the initiatorIqn property: iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
      Returns:
      the initiatorIqn value.
    • withInitiatorIqn

      public Acl withInitiatorIqn(String initiatorIqn)
      Set the initiatorIqn property: iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
      Parameters:
      initiatorIqn - the initiatorIqn value to set.
      Returns:
      the Acl object itself.
    • mappedLuns

      public List<String> mappedLuns()
      Get the mappedLuns property: List of LUN names mapped to the ACL.
      Returns:
      the mappedLuns value.
    • withMappedLuns

      public Acl withMappedLuns(List<String> mappedLuns)
      Set the mappedLuns property: List of LUN names mapped to the ACL.
      Parameters:
      mappedLuns - the mappedLuns value to set.
      Returns:
      the Acl object itself.
    • validate

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