Class IscsiTargetInner

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

public final class IscsiTargetInner extends com.azure.core.management.ProxyResource
Response for iSCSI Target requests.
  • Constructor Details

    • IscsiTargetInner

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

    • systemData

      public SystemMetadata systemData()
      Get the systemData property: Resource metadata required by ARM RPC.
      Returns:
      the systemData value.
    • 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.
    • managedByExtended

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

      public IscsiTargetAclMode aclMode()
      Get the aclMode property: Mode for Target connectivity.
      Returns:
      the aclMode value.
    • withAclMode

      public IscsiTargetInner withAclMode(IscsiTargetAclMode aclMode)
      Set the aclMode property: Mode for Target connectivity.
      Parameters:
      aclMode - the aclMode value to set.
      Returns:
      the IscsiTargetInner 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 IscsiTargetInner 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 IscsiTargetInner 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 IscsiTargetInner 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 IscsiTargetInner object itself.
    • targetIqn

      public String targetIqn()
      Get the targetIqn property: iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".
      Returns:
      the targetIqn value.
    • withTargetIqn

      public IscsiTargetInner withTargetIqn(String targetIqn)
      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 IscsiTargetInner object itself.
    • provisioningState

      public ProvisioningStates provisioningState()
      Get the provisioningState property: State of the operation on the resource.
      Returns:
      the provisioningState value.
    • status

      public OperationalStatus status()
      Get the status property: Operational status of the iSCSI Target.
      Returns:
      the status value.
    • withStatus

      public IscsiTargetInner withStatus(OperationalStatus status)
      Set the status property: Operational status of the iSCSI Target.
      Parameters:
      status - the status value to set.
      Returns:
      the IscsiTargetInner object itself.
    • endpoints

      public List<String> endpoints()
      Get the endpoints property: List of private IPv4 addresses to connect to the iSCSI Target.
      Returns:
      the endpoints value.
    • withEndpoints

      public IscsiTargetInner withEndpoints(List<String> endpoints)
      Set the endpoints property: List of private IPv4 addresses to connect to the iSCSI Target.
      Parameters:
      endpoints - the endpoints value to set.
      Returns:
      the IscsiTargetInner object itself.
    • port

      public Integer port()
      Get the port property: The port used by iSCSI Target portal group.
      Returns:
      the port value.
    • withPort

      public IscsiTargetInner withPort(Integer port)
      Set the port property: The port used by iSCSI Target portal group.
      Parameters:
      port - the port value to set.
      Returns:
      the IscsiTargetInner object itself.
    • sessions

      public List<String> sessions()
      Get the sessions property: List of identifiers for active sessions on the iSCSI target.
      Returns:
      the sessions value.
    • validate

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