iscsi.target.update
===================

Update iSCSI Target of `id`.

.. raw:: html

    <div id="json-schema">
    <span class="badge badge-dark value-type">Type: object</span><br/>
    <div class="accordion" id="accordionCall_parameters">
    <div class="card">
    <div class="card-header" id="headingCall_parameters">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters" data-toggle="collapse" onclick="setAnchor('#Call_parameters')" type="button"><span class="property-name">Call parameters</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters" class="collapse property-definition-div" data-parent="#accordionCall_parameters" id="Call_parameters">
    <div class="card-body pl-5">
    <span class="badge badge-dark value-type">Type: array</span><br/>
    <span class="badge badge-info no-additional">No Additional Items</span><h4>Tuple Validation</h4>
    <h5>Parameter 1: id</h5>
    <div class="card">
    <div class="card-body items-definition" id="Call_parameters_items_i0">
    <h4>id</h4><span class="badge badge-dark value-type">Type: integer</span><br/>
    <span class="description"><p>ID of the iSCSI target to update.</p>
    </span>
    </div>
    </div>
    <h5>Parameter 2: iscsi_target_update</h5>
    <div class="card">
    <div class="card-body items-definition" id="Call_parameters_items_i1">
    <h4>iscsi_target_update</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="description"><p>Updated iSCSI target configuration data.</p>
    </span> <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionCall_parameters_items_i1_name">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i1_name">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i1_name" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i1_name" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i1_name')" type="button"><span class="property-name">name</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i1_name" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i1_name" id="Call_parameters_items_i1_name">
    <div class="card-body pl-5">
    <h4>Name</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>Name of the iSCSI target (maximum 120 characters).</p>
    </span>
    <p><span class="badge badge-light restriction min-length-restriction" id="Call_parameters_items_i1_name_minLength">Must be at least <code>1</code> characters long</span></p><p><span class="badge badge-light restriction max-length-restriction" id="Call_parameters_items_i1_name_maxLength">Must be at most <code>120</code> characters long</span></p>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i1_alias">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i1_alias">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i1_alias" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i1_alias" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i1_alias')" type="button"><span class="property-name">alias</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i1_alias" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i1_alias" id="Call_parameters_items_i1_alias">
    <div class="card-body pl-5">
    <h4>Alias</h4><br/>
    <span class="description"><p>Optional alias name for the iSCSI target.</p>
    </span><div class="any-of-value" id="Call_parameters_items_i1_alias_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsCall_parameters_items_i1_alias_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Call_parameters_items_i1_alias_anyOf_i0" id="Call_parameters_items_i1_alias_anyOf_i0" onclick="setAnchor('#Call_parameters_items_i1_alias_anyOf_i0')" role="tab">Option 1</a>
    </li><li class="nav-item">
    <a class="nav-link anyOf-option" data-toggle="tab" href="#tab-pane_Call_parameters_items_i1_alias_anyOf_i1" id="Call_parameters_items_i1_alias_anyOf_i1" onclick="setAnchor('#Call_parameters_items_i1_alias_anyOf_i1')" role="tab">Option 2</a>
    </li></ul>
    <div class="tab-content card"><div class="tab-pane fade card-body active show" id="tab-pane_Call_parameters_items_i1_alias_anyOf_i0" role="tabpanel">
    <span class="badge badge-dark value-type">Type: string</span><br/>
    </div><div class="tab-pane fade card-body" id="tab-pane_Call_parameters_items_i1_alias_anyOf_i1" role="tabpanel">
    <span class="badge badge-dark value-type">Type: null</span><br/>
    </div></div></div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i1_mode">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i1_mode">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i1_mode" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i1_mode" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i1_mode')" type="button"><span class="property-name">mode</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i1_mode" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i1_mode" id="Call_parameters_items_i1_mode">
    <div class="card-body pl-5">
    <h4>Mode</h4><span class="badge badge-dark value-type">Type: enum (of string)</span><br/>
    <span class="description"><p>Protocol mode for the target.</p>
    <ul>
    <li><code>ISCSI</code>: iSCSI protocol only</li>
    <li><code>FC</code>: Fibre Channel protocol only</li>
    <li><code>BOTH</code>: Both iSCSI and Fibre Channel protocols</li>
    </ul>
    <p>Fibre Channel may only be selected on TrueNAS Enterprise-licensed systems with a suitable Fibre Channel HBA.</p>
    </span><div class="enum-value" id="Call_parameters_items_i1_mode_enum">
    <h5>Must be one of:</h5>
    <ul class="list-group"><li class="list-group-item enum-item">"ISCSI"</li><li class="list-group-item enum-item">"FC"</li><li class="list-group-item enum-item">"BOTH"</li></ul>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i1_groups">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i1_groups">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i1_groups" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i1_groups" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i1_groups')" type="button"><span class="property-name">groups</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i1_groups" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i1_groups" id="Call_parameters_items_i1_groups">
    <div class="card-body pl-5">
    <h4>Groups</h4><span class="badge badge-dark value-type">Type: array of object</span><br/>
    <span class="description"><p>Array of portal-initiator group associations for this target.</p>
    </span>
    <span class="badge badge-info no-additional">No Additional Items</span><h5>Each item of this array must be:</h5>
    <div class="card">
    <div class="card-body items-definition" id="Call_parameters_items_i1_groups_items">
    <h4>IscsiGroup</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionCall_parameters_items_i1_groups_items_portal">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i1_groups_items_portal">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i1_groups_items_portal" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i1_groups_items_portal" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i1_groups_items_portal')" type="button"><span class="property-name">portal</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i1_groups_items_portal" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i1_groups_items_portal" id="Call_parameters_items_i1_groups_items_portal">
    <div class="card-body pl-5">
    <h4>Portal</h4><span class="badge badge-dark value-type">Type: integer</span><br/>
    <span class="description"><p>ID of the iSCSI portal to use for this target group.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i1_groups_items_initiator">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i1_groups_items_initiator">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i1_groups_items_initiator" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i1_groups_items_initiator" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i1_groups_items_initiator')" type="button"><span class="property-name">initiator</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i1_groups_items_initiator" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i1_groups_items_initiator" id="Call_parameters_items_i1_groups_items_initiator">
    <div class="card-body pl-5">
    <h4>Initiator</h4> <span class="badge badge-success default-value">Default: null</span><br/>
    <span class="description"><p>ID of the authorized initiator group or <code>null</code> to allow any initiator.</p>
    </span><div class="any-of-value" id="Call_parameters_items_i1_groups_items_initiator_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsCall_parameters_items_i1_groups_items_initiator_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Call_parameters_items_i1_groups_items_initiator_anyOf_i0" id="Call_parameters_items_i1_groups_items_initiator_anyOf_i0" onclick="setAnchor('#Call_parameters_items_i1_groups_items_initiator_anyOf_i0')" role="tab">Option 1</a>
    </li><li class="nav-item">
    <a class="nav-link anyOf-option" data-toggle="tab" href="#tab-pane_Call_parameters_items_i1_groups_items_initiator_anyOf_i1" id="Call_parameters_items_i1_groups_items_initiator_anyOf_i1" onclick="setAnchor('#Call_parameters_items_i1_groups_items_initiator_anyOf_i1')" role="tab">Option 2</a>
    </li></ul>
    <div class="tab-content card"><div class="tab-pane fade card-body active show" id="tab-pane_Call_parameters_items_i1_groups_items_initiator_anyOf_i0" role="tabpanel">
    <span class="badge badge-dark value-type">Type: integer</span><br/>
    </div><div class="tab-pane fade card-body" id="tab-pane_Call_parameters_items_i1_groups_items_initiator_anyOf_i1" role="tabpanel">
    <span class="badge badge-dark value-type">Type: null</span><br/>
    </div></div></div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i1_groups_items_authmethod">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i1_groups_items_authmethod">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i1_groups_items_authmethod" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i1_groups_items_authmethod" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i1_groups_items_authmethod')" type="button"><span class="property-name">authmethod</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i1_groups_items_authmethod" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i1_groups_items_authmethod" id="Call_parameters_items_i1_groups_items_authmethod">
    <div class="card-body pl-5">
    <h4>Authmethod</h4><span class="badge badge-dark value-type">Type: enum (of string)</span> <span class="badge badge-success default-value">Default: "NONE"</span><br/>
    <span class="description"><p>Authentication method for this target group.</p>
    </span><div class="enum-value" id="Call_parameters_items_i1_groups_items_authmethod_enum">
    <h5>Must be one of:</h5>
    <ul class="list-group"><li class="list-group-item enum-item">"NONE"</li><li class="list-group-item enum-item">"CHAP"</li><li class="list-group-item enum-item">"CHAP_MUTUAL"</li></ul>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i1_groups_items_auth">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i1_groups_items_auth">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i1_groups_items_auth" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i1_groups_items_auth" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i1_groups_items_auth')" type="button"><span class="property-name">auth</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i1_groups_items_auth" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i1_groups_items_auth" id="Call_parameters_items_i1_groups_items_auth">
    <div class="card-body pl-5">
    <h4>Auth</h4> <span class="badge badge-success default-value">Default: null</span><br/>
    <span class="description"><p>ID of the authentication credential or <code>null</code> if no authentication.</p>
    </span><div class="any-of-value" id="Call_parameters_items_i1_groups_items_auth_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsCall_parameters_items_i1_groups_items_auth_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Call_parameters_items_i1_groups_items_auth_anyOf_i0" id="Call_parameters_items_i1_groups_items_auth_anyOf_i0" onclick="setAnchor('#Call_parameters_items_i1_groups_items_auth_anyOf_i0')" role="tab">Option 1</a>
    </li><li class="nav-item">
    <a class="nav-link anyOf-option" data-toggle="tab" href="#tab-pane_Call_parameters_items_i1_groups_items_auth_anyOf_i1" id="Call_parameters_items_i1_groups_items_auth_anyOf_i1" onclick="setAnchor('#Call_parameters_items_i1_groups_items_auth_anyOf_i1')" role="tab">Option 2</a>
    </li></ul>
    <div class="tab-content card"><div class="tab-pane fade card-body active show" id="tab-pane_Call_parameters_items_i1_groups_items_auth_anyOf_i0" role="tabpanel">
    <span class="badge badge-dark value-type">Type: integer</span><br/>
    </div><div class="tab-pane fade card-body" id="tab-pane_Call_parameters_items_i1_groups_items_auth_anyOf_i1" role="tabpanel">
    <span class="badge badge-dark value-type">Type: null</span><br/>
    </div></div></div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i1_auth_networks">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i1_auth_networks">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i1_auth_networks" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i1_auth_networks" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i1_auth_networks')" type="button"><span class="property-name">auth_networks</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i1_auth_networks" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i1_auth_networks" id="Call_parameters_items_i1_auth_networks">
    <div class="card-body pl-5">
    <h4>Auth Networks</h4><span class="badge badge-dark value-type">Type: array of string</span><br/>
    <span class="description"><p>Array of network addresses allowed to access this target.</p>
    </span>
    <span class="badge badge-info no-additional">No Additional Items</span><h5>Each item of this array must be:</h5>
    <div class="card">
    <div class="card-body items-definition" id="Call_parameters_items_i1_auth_networks_items">
    <span class="badge badge-dark value-type">Type: string</span><br/>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i1_iscsi_parameters">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i1_iscsi_parameters">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i1_iscsi_parameters" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i1_iscsi_parameters" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i1_iscsi_parameters')" type="button"><span class="property-name">iscsi_parameters</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i1_iscsi_parameters" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i1_iscsi_parameters" id="Call_parameters_items_i1_iscsi_parameters">
    <div class="card-body pl-5">
    <br/>
    <span class="description"><p>Optional iSCSI-specific parameters for this target.</p>
    </span><div class="any-of-value" id="Call_parameters_items_i1_iscsi_parameters_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsCall_parameters_items_i1_iscsi_parameters_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Call_parameters_items_i1_iscsi_parameters_anyOf_i0" id="Call_parameters_items_i1_iscsi_parameters_anyOf_i0" onclick="setAnchor('#Call_parameters_items_i1_iscsi_parameters_anyOf_i0')" role="tab">IscsiTargetParameters</a>
    </li><li class="nav-item">
    <a class="nav-link anyOf-option" data-toggle="tab" href="#tab-pane_Call_parameters_items_i1_iscsi_parameters_anyOf_i1" id="Call_parameters_items_i1_iscsi_parameters_anyOf_i1" onclick="setAnchor('#Call_parameters_items_i1_iscsi_parameters_anyOf_i1')" role="tab">Option 2</a>
    </li></ul>
    <div class="tab-content card"><div class="tab-pane fade card-body active show" id="tab-pane_Call_parameters_items_i1_iscsi_parameters_anyOf_i0" role="tabpanel">
    <h4>IscsiTargetParameters</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionCall_parameters_items_i1_iscsi_parameters_anyOf_i0_QueuedCommands">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i1_iscsi_parameters_anyOf_i0_QueuedCommands">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i1_iscsi_parameters_anyOf_i0_QueuedCommands" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i1_iscsi_parameters_anyOf_i0_QueuedCommands" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i1_iscsi_parameters_anyOf_i0_QueuedCommands')" type="button"><span class="property-name">QueuedCommands</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i1_iscsi_parameters_anyOf_i0_QueuedCommands" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i1_iscsi_parameters_anyOf_i0_QueuedCommands" id="Call_parameters_items_i1_iscsi_parameters_anyOf_i0_QueuedCommands">
    <div class="card-body pl-5">
    <h4>Queuedcommands</h4> <span class="badge badge-success default-value">Default: null</span><br/>
    <span class="description"><p>Maximum number of queued commands per iSCSI session.</p>
    <ul>
    <li><code>32</code>: Standard queue depth for most use cases</li>
    <li><code>128</code>: Higher queue depth for performance-critical applications</li>
    </ul>
    </span><div class="any-of-value" id="Call_parameters_items_i1_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsCall_parameters_items_i1_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Call_parameters_items_i1_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf_i0" id="Call_parameters_items_i1_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf_i0" onclick="setAnchor('#Call_parameters_items_i1_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf_i0')" role="tab">Option 1</a>
    </li><li class="nav-item">
    <a class="nav-link anyOf-option" data-toggle="tab" href="#tab-pane_Call_parameters_items_i1_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf_i1" id="Call_parameters_items_i1_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf_i1" onclick="setAnchor('#Call_parameters_items_i1_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf_i1')" role="tab">Option 2</a>
    </li></ul>
    <div class="tab-content card"><div class="tab-pane fade card-body active show" id="tab-pane_Call_parameters_items_i1_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf_i0" role="tabpanel">
    <span class="badge badge-dark value-type">Type: enum (of integer)</span><br/>
    <div class="enum-value" id="Call_parameters_items_i1_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf_i0_enum">
    <h5>Must be one of:</h5>
    <ul class="list-group"><li class="list-group-item enum-item">32</li><li class="list-group-item enum-item">128</li></ul>
    </div>
    </div><div class="tab-pane fade card-body" id="tab-pane_Call_parameters_items_i1_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf_i1" role="tabpanel">
    <span class="badge badge-dark value-type">Type: null</span><br/>
    </div></div></div>
    </div>
    </div>
    </div>
    </div>
    </div><div class="tab-pane fade card-body" id="tab-pane_Call_parameters_items_i1_iscsi_parameters_anyOf_i1" role="tabpanel">
    <span class="badge badge-dark value-type">Type: null</span><br/>
    </div></div></div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value">
    <div class="card">
    <div class="card-header" id="headingReturn_value">
    <h2 class="mb-0">
    <button aria-controls="Return_value" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value" data-toggle="collapse" onclick="setAnchor('#Return_value')" type="button"><span class="property-name">Return value</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value" class="collapse property-definition-div" data-parent="#accordionReturn_value" id="Return_value">
    <div class="card-body pl-5">
    <h4>IscsiTargetEntry</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="description"><p>The updated iSCSI target configuration.</p>
    </span> <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionReturn_value_id">
    <div class="card">
    <div class="card-header" id="headingReturn_value_id">
    <h2 class="mb-0">
    <button aria-controls="Return_value_id" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_id" data-toggle="collapse" onclick="setAnchor('#Return_value_id')" type="button"><span class="property-name">id</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_id" class="collapse property-definition-div" data-parent="#accordionReturn_value_id" id="Return_value_id">
    <div class="card-body pl-5">
    <h4>Id</h4><span class="badge badge-dark value-type">Type: integer</span><br/>
    <span class="description"><p>Unique identifier for the iSCSI target.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_name">
    <div class="card">
    <div class="card-header" id="headingReturn_value_name">
    <h2 class="mb-0">
    <button aria-controls="Return_value_name" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_name" data-toggle="collapse" onclick="setAnchor('#Return_value_name')" type="button"><span class="property-name">name</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_name" class="collapse property-definition-div" data-parent="#accordionReturn_value_name" id="Return_value_name">
    <div class="card-body pl-5">
    <h4>Name</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>Name of the iSCSI target (maximum 120 characters).</p>
    </span>
    <p><span class="badge badge-light restriction min-length-restriction" id="Return_value_name_minLength">Must be at least <code>1</code> characters long</span></p><p><span class="badge badge-light restriction max-length-restriction" id="Return_value_name_maxLength">Must be at most <code>120</code> characters long</span></p>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_alias">
    <div class="card">
    <div class="card-header" id="headingReturn_value_alias">
    <h2 class="mb-0">
    <button aria-controls="Return_value_alias" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_alias" data-toggle="collapse" onclick="setAnchor('#Return_value_alias')" type="button"><span class="property-name">alias</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_alias" class="collapse property-definition-div" data-parent="#accordionReturn_value_alias" id="Return_value_alias">
    <div class="card-body pl-5">
    <h4>Alias</h4> <span class="badge badge-success default-value">Default: null</span><br/>
    <span class="description"><p>Optional alias name for the iSCSI target.</p>
    </span><div class="any-of-value" id="Return_value_alias_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsReturn_value_alias_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_alias_anyOf_i0" id="Return_value_alias_anyOf_i0" onclick="setAnchor('#Return_value_alias_anyOf_i0')" role="tab">Option 1</a>
    </li><li class="nav-item">
    <a class="nav-link anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_alias_anyOf_i1" id="Return_value_alias_anyOf_i1" onclick="setAnchor('#Return_value_alias_anyOf_i1')" role="tab">Option 2</a>
    </li></ul>
    <div class="tab-content card"><div class="tab-pane fade card-body active show" id="tab-pane_Return_value_alias_anyOf_i0" role="tabpanel">
    <span class="badge badge-dark value-type">Type: string</span><br/>
    </div><div class="tab-pane fade card-body" id="tab-pane_Return_value_alias_anyOf_i1" role="tabpanel">
    <span class="badge badge-dark value-type">Type: null</span><br/>
    </div></div></div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_mode">
    <div class="card">
    <div class="card-header" id="headingReturn_value_mode">
    <h2 class="mb-0">
    <button aria-controls="Return_value_mode" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_mode" data-toggle="collapse" onclick="setAnchor('#Return_value_mode')" type="button"><span class="property-name">mode</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_mode" class="collapse property-definition-div" data-parent="#accordionReturn_value_mode" id="Return_value_mode">
    <div class="card-body pl-5">
    <h4>Mode</h4><span class="badge badge-dark value-type">Type: enum (of string)</span> <span class="badge badge-success default-value">Default: "ISCSI"</span><br/>
    <span class="description"><p>Protocol mode for the target.</p>
    <ul>
    <li><code>ISCSI</code>: iSCSI protocol only</li>
    <li><code>FC</code>: Fibre Channel protocol only</li>
    <li><code>BOTH</code>: Both iSCSI and Fibre Channel protocols</li>
    </ul>
    <p>Fibre Channel may only be selected on TrueNAS Enterprise-licensed systems with a suitable Fibre Channel HBA.</p>
    </span><div class="enum-value" id="Return_value_mode_enum">
    <h5>Must be one of:</h5>
    <ul class="list-group"><li class="list-group-item enum-item">"ISCSI"</li><li class="list-group-item enum-item">"FC"</li><li class="list-group-item enum-item">"BOTH"</li></ul>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_groups">
    <div class="card">
    <div class="card-header" id="headingReturn_value_groups">
    <h2 class="mb-0">
    <button aria-controls="Return_value_groups" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_groups" data-toggle="collapse" onclick="setAnchor('#Return_value_groups')" type="button"><span class="property-name">groups</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_groups" class="collapse property-definition-div" data-parent="#accordionReturn_value_groups" id="Return_value_groups">
    <div class="card-body pl-5">
    <h4>Groups</h4><span class="badge badge-dark value-type">Type: array of object</span> <span class="badge badge-success default-value">Default: []</span><br/>
    <span class="description"><p>Array of portal-initiator group associations for this target.</p>
    </span>
    <span class="badge badge-info no-additional">No Additional Items</span><h5>Each item of this array must be:</h5>
    <div class="card">
    <div class="card-body items-definition" id="Return_value_groups_items">
    <h4>IscsiGroup</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionReturn_value_groups_items_portal">
    <div class="card">
    <div class="card-header" id="headingReturn_value_groups_items_portal">
    <h2 class="mb-0">
    <button aria-controls="Return_value_groups_items_portal" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_groups_items_portal" data-toggle="collapse" onclick="setAnchor('#Return_value_groups_items_portal')" type="button"><span class="property-name">portal</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_groups_items_portal" class="collapse property-definition-div" data-parent="#accordionReturn_value_groups_items_portal" id="Return_value_groups_items_portal">
    <div class="card-body pl-5">
    <h4>Portal</h4><span class="badge badge-dark value-type">Type: integer</span><br/>
    <span class="description"><p>ID of the iSCSI portal to use for this target group.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_groups_items_initiator">
    <div class="card">
    <div class="card-header" id="headingReturn_value_groups_items_initiator">
    <h2 class="mb-0">
    <button aria-controls="Return_value_groups_items_initiator" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_groups_items_initiator" data-toggle="collapse" onclick="setAnchor('#Return_value_groups_items_initiator')" type="button"><span class="property-name">initiator</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_groups_items_initiator" class="collapse property-definition-div" data-parent="#accordionReturn_value_groups_items_initiator" id="Return_value_groups_items_initiator">
    <div class="card-body pl-5">
    <h4>Initiator</h4> <span class="badge badge-success default-value">Default: null</span><br/>
    <span class="description"><p>ID of the authorized initiator group or <code>null</code> to allow any initiator.</p>
    </span><div class="any-of-value" id="Return_value_groups_items_initiator_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsReturn_value_groups_items_initiator_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_groups_items_initiator_anyOf_i0" id="Return_value_groups_items_initiator_anyOf_i0" onclick="setAnchor('#Return_value_groups_items_initiator_anyOf_i0')" role="tab">Option 1</a>
    </li><li class="nav-item">
    <a class="nav-link anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_groups_items_initiator_anyOf_i1" id="Return_value_groups_items_initiator_anyOf_i1" onclick="setAnchor('#Return_value_groups_items_initiator_anyOf_i1')" role="tab">Option 2</a>
    </li></ul>
    <div class="tab-content card"><div class="tab-pane fade card-body active show" id="tab-pane_Return_value_groups_items_initiator_anyOf_i0" role="tabpanel">
    <span class="badge badge-dark value-type">Type: integer</span><br/>
    </div><div class="tab-pane fade card-body" id="tab-pane_Return_value_groups_items_initiator_anyOf_i1" role="tabpanel">
    <span class="badge badge-dark value-type">Type: null</span><br/>
    </div></div></div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_groups_items_authmethod">
    <div class="card">
    <div class="card-header" id="headingReturn_value_groups_items_authmethod">
    <h2 class="mb-0">
    <button aria-controls="Return_value_groups_items_authmethod" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_groups_items_authmethod" data-toggle="collapse" onclick="setAnchor('#Return_value_groups_items_authmethod')" type="button"><span class="property-name">authmethod</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_groups_items_authmethod" class="collapse property-definition-div" data-parent="#accordionReturn_value_groups_items_authmethod" id="Return_value_groups_items_authmethod">
    <div class="card-body pl-5">
    <h4>Authmethod</h4><span class="badge badge-dark value-type">Type: enum (of string)</span> <span class="badge badge-success default-value">Default: "NONE"</span><br/>
    <span class="description"><p>Authentication method for this target group.</p>
    </span><div class="enum-value" id="Return_value_groups_items_authmethod_enum">
    <h5>Must be one of:</h5>
    <ul class="list-group"><li class="list-group-item enum-item">"NONE"</li><li class="list-group-item enum-item">"CHAP"</li><li class="list-group-item enum-item">"CHAP_MUTUAL"</li></ul>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_groups_items_auth">
    <div class="card">
    <div class="card-header" id="headingReturn_value_groups_items_auth">
    <h2 class="mb-0">
    <button aria-controls="Return_value_groups_items_auth" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_groups_items_auth" data-toggle="collapse" onclick="setAnchor('#Return_value_groups_items_auth')" type="button"><span class="property-name">auth</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_groups_items_auth" class="collapse property-definition-div" data-parent="#accordionReturn_value_groups_items_auth" id="Return_value_groups_items_auth">
    <div class="card-body pl-5">
    <h4>Auth</h4> <span class="badge badge-success default-value">Default: null</span><br/>
    <span class="description"><p>ID of the authentication credential or <code>null</code> if no authentication.</p>
    </span><div class="any-of-value" id="Return_value_groups_items_auth_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsReturn_value_groups_items_auth_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_groups_items_auth_anyOf_i0" id="Return_value_groups_items_auth_anyOf_i0" onclick="setAnchor('#Return_value_groups_items_auth_anyOf_i0')" role="tab">Option 1</a>
    </li><li class="nav-item">
    <a class="nav-link anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_groups_items_auth_anyOf_i1" id="Return_value_groups_items_auth_anyOf_i1" onclick="setAnchor('#Return_value_groups_items_auth_anyOf_i1')" role="tab">Option 2</a>
    </li></ul>
    <div class="tab-content card"><div class="tab-pane fade card-body active show" id="tab-pane_Return_value_groups_items_auth_anyOf_i0" role="tabpanel">
    <span class="badge badge-dark value-type">Type: integer</span><br/>
    </div><div class="tab-pane fade card-body" id="tab-pane_Return_value_groups_items_auth_anyOf_i1" role="tabpanel">
    <span class="badge badge-dark value-type">Type: null</span><br/>
    </div></div></div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_auth_networks">
    <div class="card">
    <div class="card-header" id="headingReturn_value_auth_networks">
    <h2 class="mb-0">
    <button aria-controls="Return_value_auth_networks" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_auth_networks" data-toggle="collapse" onclick="setAnchor('#Return_value_auth_networks')" type="button"><span class="property-name">auth_networks</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_auth_networks" class="collapse property-definition-div" data-parent="#accordionReturn_value_auth_networks" id="Return_value_auth_networks">
    <div class="card-body pl-5">
    <h4>Auth Networks</h4><span class="badge badge-dark value-type">Type: array of string</span> <span class="badge badge-success default-value">Default: []</span><br/>
    <span class="description"><p>Array of network addresses allowed to access this target.</p>
    </span>
    <span class="badge badge-info no-additional">No Additional Items</span><h5>Each item of this array must be:</h5>
    <div class="card">
    <div class="card-body items-definition" id="Return_value_auth_networks_items">
    <span class="badge badge-dark value-type">Type: string</span><br/>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_rel_tgt_id">
    <div class="card">
    <div class="card-header" id="headingReturn_value_rel_tgt_id">
    <h2 class="mb-0">
    <button aria-controls="Return_value_rel_tgt_id" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_rel_tgt_id" data-toggle="collapse" onclick="setAnchor('#Return_value_rel_tgt_id')" type="button"><span class="property-name">rel_tgt_id</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_rel_tgt_id" class="collapse property-definition-div" data-parent="#accordionReturn_value_rel_tgt_id" id="Return_value_rel_tgt_id">
    <div class="card-body pl-5">
    <h4>Rel Tgt Id</h4><span class="badge badge-dark value-type">Type: integer</span><br/>
    <span class="description"><p>Relative target ID number assigned by the system.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_iscsi_parameters">
    <div class="card">
    <div class="card-header" id="headingReturn_value_iscsi_parameters">
    <h2 class="mb-0">
    <button aria-controls="Return_value_iscsi_parameters" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_iscsi_parameters" data-toggle="collapse" onclick="setAnchor('#Return_value_iscsi_parameters')" type="button"><span class="property-name">iscsi_parameters</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_iscsi_parameters" class="collapse property-definition-div" data-parent="#accordionReturn_value_iscsi_parameters" id="Return_value_iscsi_parameters">
    <div class="card-body pl-5">
    <span class="badge badge-success default-value">Default: null</span><br/>
    <span class="description"><p>Optional iSCSI-specific parameters for this target.</p>
    </span><div class="any-of-value" id="Return_value_iscsi_parameters_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsReturn_value_iscsi_parameters_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_iscsi_parameters_anyOf_i0" id="Return_value_iscsi_parameters_anyOf_i0" onclick="setAnchor('#Return_value_iscsi_parameters_anyOf_i0')" role="tab">IscsiTargetParameters</a>
    </li><li class="nav-item">
    <a class="nav-link anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_iscsi_parameters_anyOf_i1" id="Return_value_iscsi_parameters_anyOf_i1" onclick="setAnchor('#Return_value_iscsi_parameters_anyOf_i1')" role="tab">Option 2</a>
    </li></ul>
    <div class="tab-content card"><div class="tab-pane fade card-body active show" id="tab-pane_Return_value_iscsi_parameters_anyOf_i0" role="tabpanel">
    <h4>IscsiTargetParameters</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionReturn_value_iscsi_parameters_anyOf_i0_QueuedCommands">
    <div class="card">
    <div class="card-header" id="headingReturn_value_iscsi_parameters_anyOf_i0_QueuedCommands">
    <h2 class="mb-0">
    <button aria-controls="Return_value_iscsi_parameters_anyOf_i0_QueuedCommands" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_iscsi_parameters_anyOf_i0_QueuedCommands" data-toggle="collapse" onclick="setAnchor('#Return_value_iscsi_parameters_anyOf_i0_QueuedCommands')" type="button"><span class="property-name">QueuedCommands</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_iscsi_parameters_anyOf_i0_QueuedCommands" class="collapse property-definition-div" data-parent="#accordionReturn_value_iscsi_parameters_anyOf_i0_QueuedCommands" id="Return_value_iscsi_parameters_anyOf_i0_QueuedCommands">
    <div class="card-body pl-5">
    <h4>Queuedcommands</h4> <span class="badge badge-success default-value">Default: null</span><br/>
    <span class="description"><p>Maximum number of queued commands per iSCSI session.</p>
    <ul>
    <li><code>32</code>: Standard queue depth for most use cases</li>
    <li><code>128</code>: Higher queue depth for performance-critical applications</li>
    </ul>
    </span><div class="any-of-value" id="Return_value_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsReturn_value_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf_i0" id="Return_value_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf_i0" onclick="setAnchor('#Return_value_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf_i0')" role="tab">Option 1</a>
    </li><li class="nav-item">
    <a class="nav-link anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf_i1" id="Return_value_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf_i1" onclick="setAnchor('#Return_value_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf_i1')" role="tab">Option 2</a>
    </li></ul>
    <div class="tab-content card"><div class="tab-pane fade card-body active show" id="tab-pane_Return_value_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf_i0" role="tabpanel">
    <span class="badge badge-dark value-type">Type: enum (of integer)</span><br/>
    <div class="enum-value" id="Return_value_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf_i0_enum">
    <h5>Must be one of:</h5>
    <ul class="list-group"><li class="list-group-item enum-item">32</li><li class="list-group-item enum-item">128</li></ul>
    </div>
    </div><div class="tab-pane fade card-body" id="tab-pane_Return_value_iscsi_parameters_anyOf_i0_QueuedCommands_anyOf_i1" role="tabpanel">
    <span class="badge badge-dark value-type">Type: null</span><br/>
    </div></div></div>
    </div>
    </div>
    </div>
    </div>
    </div><div class="tab-pane fade card-body" id="tab-pane_Return_value_iscsi_parameters_anyOf_i1" role="tabpanel">
    <span class="badge badge-dark value-type">Type: null</span><br/>
    </div></div></div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div><br><br>

*Required roles:* SHARING_ISCSI_TARGET_WRITE

