Class IscsiTargetUpdateProperties

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

public final class IscsiTargetUpdateProperties extends Object
Properties for iSCSI Target update request.
  • Constructor Details

    • IscsiTargetUpdateProperties

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

    • 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 IscsiTargetUpdateProperties 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 IscsiTargetUpdateProperties 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 IscsiTargetUpdateProperties 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 IscsiTargetUpdateProperties object itself.
    • validate

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