Class IscsiTargetUpdate

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.storagepool.models.IscsiTargetUpdate

public final class IscsiTargetUpdate extends com.azure.core.management.ProxyResource
Payload for iSCSI Target update requests.
  • Constructor Details

    • IscsiTargetUpdate

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

    • managedBy

      public String managedBy()
      Get the managedBy property: Azure resource id. Indicates if this resource is managed by another Azure resource.
      Returns:
      the managedBy value.
    • withManagedBy

      public IscsiTargetUpdate withManagedBy(String managedBy)
      Set the managedBy property: Azure resource id. Indicates if this resource is managed by another Azure resource.
      Parameters:
      managedBy - the managedBy value to set.
      Returns:
      the IscsiTargetUpdate object itself.
    • managedByExtended

      public List<String> managedByExtended()
      Get the managedByExtended property: List of Azure resource ids that manage this resource.
      Returns:
      the managedByExtended value.
    • withManagedByExtended

      public IscsiTargetUpdate withManagedByExtended(List<String> managedByExtended)
      Set the managedByExtended property: List of Azure resource ids that manage this resource.
      Parameters:
      managedByExtended - the managedByExtended value to set.
      Returns:
      the IscsiTargetUpdate object itself.
    • 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 IscsiTargetUpdate 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 IscsiTargetUpdate 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 IscsiTargetUpdate 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 IscsiTargetUpdate object itself.
    • validate

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