Class IscsiTargetUpdateProperties
java.lang.Object
com.azure.resourcemanager.storagepool.fluent.models.IscsiTargetUpdateProperties
Properties for iSCSI Target update request.
-
Constructor Summary
ConstructorDescriptionCreates an instance of IscsiTargetUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionluns()
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.void
validate()
Validates the instance.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.
-
Constructor Details
-
IscsiTargetUpdateProperties
public IscsiTargetUpdateProperties()Creates an instance of IscsiTargetUpdateProperties class.
-
-
Method Details
-
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 IscsiTargetUpdateProperties 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 IscsiTargetUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-