Class IscsiTargetCreateProperties
java.lang.Object
com.azure.resourcemanager.storagepool.fluent.models.IscsiTargetCreateProperties
Properties for iSCSI Target create or update request.
-
Constructor Summary
ConstructorDescriptionCreates an instance of IscsiTargetCreateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionaclMode()
Get the aclMode property: Mode for Target connectivity.luns()
Get the luns property: List of LUNs to be exposed through iSCSI Target.Get the staticAcls property: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.Get the targetIqn property: iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".void
validate()
Validates the instance.withAclMode
(IscsiTargetAclMode aclMode) Set the aclMode property: Mode for Target connectivity.Set the luns property: List of LUNs to be exposed through iSCSI Target.withStaticAcls
(List<Acl> staticAcls) Set the staticAcls property: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.withTargetIqn
(String targetIqn) Set the targetIqn property: iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
-
Constructor Details
-
IscsiTargetCreateProperties
public IscsiTargetCreateProperties()Creates an instance of IscsiTargetCreateProperties class.
-
-
Method Details
-
aclMode
Get the aclMode property: Mode for Target connectivity.- Returns:
- the aclMode value.
-
withAclMode
Set the aclMode property: Mode for Target connectivity.- Parameters:
aclMode
- the aclMode value to set.- Returns:
- the IscsiTargetCreateProperties object itself.
-
targetIqn
Get the targetIqn property: iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".- Returns:
- the targetIqn value.
-
withTargetIqn
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
Get the staticAcls property: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy.- Returns:
- the staticAcls value.
-
withStaticAcls
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
Get the luns property: List of LUNs to be exposed through iSCSI Target.- Returns:
- the luns value.
-
withLuns
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.
-