Class Acl
java.lang.Object
com.azure.resourcemanager.storagepool.models.Acl
Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the initiatorIqn property: iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".Get the mappedLuns property: List of LUN names mapped to the ACL.void
validate()
Validates the instance.withInitiatorIqn
(String initiatorIqn) Set the initiatorIqn property: iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".withMappedLuns
(List<String> mappedLuns) Set the mappedLuns property: List of LUN names mapped to the ACL.
-
Constructor Details
-
Acl
public Acl()Creates an instance of Acl class.
-
-
Method Details
-
initiatorIqn
Get the initiatorIqn property: iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".- Returns:
- the initiatorIqn value.
-
withInitiatorIqn
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
Get the mappedLuns property: List of LUN names mapped to the ACL.- Returns:
- the mappedLuns value.
-
withMappedLuns
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.
-