nvmet.namespace.create
======================

Create a NVMe target namespace in a subsystem (``subsys``).

This will expose the namespace to any hosts permitted to access the subsystem.

.. 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: nvmet_namespace_create</h5>
    <div class="card">
    <div class="card-body items-definition" id="Call_parameters_items_i0">
    <h4>nvmet_namespace_create</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="description"><p>NVMe-oF namespace configuration data for creation.</p>
    </span> <span class="badge badge-info no-additional">No Additional Properties</span>
    <div class="accordion" id="accordionCall_parameters_items_i0_nsid">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_nsid">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_nsid" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_nsid" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_nsid')" type="button"><span class="property-name">nsid</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_nsid" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_nsid" id="Call_parameters_items_i0_nsid">
    <div class="card-body pl-5">
    <h4>Nsid</h4> <span class="badge badge-success default-value">Default: null</span><br/>
    <span class="description"><p>Namespace ID (NSID).</p>
    <p>Each namespace within a subsystem has an associated NSID, unique within that subsystem.</p>
    <p>If not supplied during <code>namespace</code> creation then the next available NSID will be used.</p>
    </span><div class="any-of-value" id="Call_parameters_items_i0_nsid_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsCall_parameters_items_i0_nsid_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Call_parameters_items_i0_nsid_anyOf_i0" id="Call_parameters_items_i0_nsid_anyOf_i0" onclick="setAnchor('#Call_parameters_items_i0_nsid_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_i0_nsid_anyOf_i1" id="Call_parameters_items_i0_nsid_anyOf_i1" onclick="setAnchor('#Call_parameters_items_i0_nsid_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_i0_nsid_anyOf_i0" role="tabpanel">
    <span class="badge badge-dark value-type">Type: integer</span><br/>
    <p><span class="badge badge-light restriction numeric-restriction" id="Call_parameters_items_i0_nsid_anyOf_i0_number">Value must be greater or equal to <code>1</code> and strictly lesser than <code>4294967295</code></span></p>
    </div><div class="tab-pane fade card-body" id="tab-pane_Call_parameters_items_i0_nsid_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_i0_device_type">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_device_type">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_device_type" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_device_type" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_device_type')" type="button"><span class="property-name">device_type</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_device_type" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_device_type" id="Call_parameters_items_i0_device_type">
    <div class="card-body pl-5">
    <h4>Device Type</h4><span class="badge badge-dark value-type">Type: enum (of string)</span><br/>
    <span class="description"><p>Type of device (or file) used to implement the namespace.</p>
    </span><div class="enum-value" id="Call_parameters_items_i0_device_type_enum">
    <h5>Must be one of:</h5>
    <ul class="list-group"><li class="list-group-item enum-item">"ZVOL"</li><li class="list-group-item enum-item">"FILE"</li></ul>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_device_path">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_device_path">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_device_path" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_device_path" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_device_path')" type="button"><span class="property-name">device_path</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_device_path" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_device_path" id="Call_parameters_items_i0_device_path">
    <div class="card-body pl-5">
    <h4>Device Path</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>Normalized path to the device or file for the namespace.</p>
    </span>
    <p><span class="badge badge-light restriction min-length-restriction" id="Call_parameters_items_i0_device_path_minLength">Must be at least <code>1</code> characters long</span></p>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_filesize">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_filesize">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_filesize" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_filesize" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_filesize')" type="button"><span class="property-name">filesize</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_filesize" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_filesize" id="Call_parameters_items_i0_filesize">
    <div class="card-body pl-5">
    <h4>Filesize</h4> <span class="badge badge-success default-value">Default: null</span><br/>
    <span class="description"><p>When <code>device_type</code> is "FILE" then this will be the size of the file in bytes.</p>
    </span><div class="any-of-value" id="Call_parameters_items_i0_filesize_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsCall_parameters_items_i0_filesize_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Call_parameters_items_i0_filesize_anyOf_i0" id="Call_parameters_items_i0_filesize_anyOf_i0" onclick="setAnchor('#Call_parameters_items_i0_filesize_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_i0_filesize_anyOf_i1" id="Call_parameters_items_i0_filesize_anyOf_i1" onclick="setAnchor('#Call_parameters_items_i0_filesize_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_i0_filesize_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_i0_filesize_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_i0_enabled">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_enabled">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_enabled" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_enabled" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_enabled')" type="button"><span class="property-name">enabled</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_enabled" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_enabled" id="Call_parameters_items_i0_enabled">
    <div class="card-body pl-5">
    <h4>Enabled</h4><span class="badge badge-dark value-type">Type: boolean</span> <span class="badge badge-success default-value">Default: true</span><br/>
    <span class="description"><p>If <code>enabled</code> is <code>False</code> then the namespace will not be accessible.</p>
    <p>Some namespace configuration changes are blocked when that namespace is enabled.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionCall_parameters_items_i0_subsys_id">
    <div class="card">
    <div class="card-header" id="headingCall_parameters_items_i0_subsys_id">
    <h2 class="mb-0">
    <button aria-controls="Call_parameters_items_i0_subsys_id" aria-expanded="" class="btn btn-link property-name-button" data-target="#Call_parameters_items_i0_subsys_id" data-toggle="collapse" onclick="setAnchor('#Call_parameters_items_i0_subsys_id')" type="button"><span class="property-name">subsys_id</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingCall_parameters_items_i0_subsys_id" class="collapse property-definition-div" data-parent="#accordionCall_parameters_items_i0_subsys_id" id="Call_parameters_items_i0_subsys_id">
    <div class="card-body pl-5">
    <h4>Subsys Id</h4><span class="badge badge-dark value-type">Type: integer</span><br/>
    <span class="description"><p>ID of the NVMe-oF subsystem to contain this namespace.</p>
    </span>
    </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>NVMetNamespaceEntry</h4><span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="description"><p>The created NVMe-oF namespace 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 NVMe-oF namespace.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_nsid">
    <div class="card">
    <div class="card-header" id="headingReturn_value_nsid">
    <h2 class="mb-0">
    <button aria-controls="Return_value_nsid" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_nsid" data-toggle="collapse" onclick="setAnchor('#Return_value_nsid')" type="button"><span class="property-name">nsid</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_nsid" class="collapse property-definition-div" data-parent="#accordionReturn_value_nsid" id="Return_value_nsid">
    <div class="card-body pl-5">
    <h4>Nsid</h4> <span class="badge badge-success default-value">Default: null</span><br/>
    <span class="description"><p>Namespace ID (NSID).</p>
    <p>Each namespace within a subsystem has an associated NSID, unique within that subsystem.</p>
    <p>If not supplied during <code>namespace</code> creation then the next available NSID will be used.</p>
    </span><div class="any-of-value" id="Return_value_nsid_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsReturn_value_nsid_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_nsid_anyOf_i0" id="Return_value_nsid_anyOf_i0" onclick="setAnchor('#Return_value_nsid_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_nsid_anyOf_i1" id="Return_value_nsid_anyOf_i1" onclick="setAnchor('#Return_value_nsid_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_nsid_anyOf_i0" role="tabpanel">
    <span class="badge badge-dark value-type">Type: integer</span><br/>
    <p><span class="badge badge-light restriction numeric-restriction" id="Return_value_nsid_anyOf_i0_number">Value must be greater or equal to <code>1</code> and strictly lesser than <code>4294967295</code></span></p>
    </div><div class="tab-pane fade card-body" id="tab-pane_Return_value_nsid_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_subsys">
    <div class="card">
    <div class="card-header" id="headingReturn_value_subsys">
    <h2 class="mb-0">
    <button aria-controls="Return_value_subsys" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_subsys" data-toggle="collapse" onclick="setAnchor('#Return_value_subsys')" type="button"><span class="property-name">subsys</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_subsys" class="collapse property-definition-div" data-parent="#accordionReturn_value_subsys" id="Return_value_subsys">
    <div class="card-body pl-5">
    <span class="badge badge-dark value-type">Type: object</span><br/>
    <span class="description"><p>NVMe-oF subsystem that contains this namespace.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_device_type">
    <div class="card">
    <div class="card-header" id="headingReturn_value_device_type">
    <h2 class="mb-0">
    <button aria-controls="Return_value_device_type" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_device_type" data-toggle="collapse" onclick="setAnchor('#Return_value_device_type')" type="button"><span class="property-name">device_type</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_device_type" class="collapse property-definition-div" data-parent="#accordionReturn_value_device_type" id="Return_value_device_type">
    <div class="card-body pl-5">
    <h4>Device Type</h4><span class="badge badge-dark value-type">Type: enum (of string)</span><br/>
    <span class="description"><p>Type of device (or file) used to implement the namespace.</p>
    </span><div class="enum-value" id="Return_value_device_type_enum">
    <h5>Must be one of:</h5>
    <ul class="list-group"><li class="list-group-item enum-item">"ZVOL"</li><li class="list-group-item enum-item">"FILE"</li></ul>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_device_path">
    <div class="card">
    <div class="card-header" id="headingReturn_value_device_path">
    <h2 class="mb-0">
    <button aria-controls="Return_value_device_path" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_device_path" data-toggle="collapse" onclick="setAnchor('#Return_value_device_path')" type="button"><span class="property-name">device_path</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_device_path" class="collapse property-definition-div" data-parent="#accordionReturn_value_device_path" id="Return_value_device_path">
    <div class="card-body pl-5">
    <h4>Device Path</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>Path to the device or file being used to implement the namespace.</p>
    <p>When <code>device_type</code> is:</p>
    <ul>
    <li>"ZVOL": <code>device_path</code> is e.g. "zvol/poolname/zvolname"</li>
    <li>"FILE": <code>device_path</code> is e.g. "/mnt/poolmnt/path/to/file". The file will be created if necessary.</li>
    </ul>
    </span>
    <p><span class="badge badge-light restriction min-length-restriction" id="Return_value_device_path_minLength">Must be at least <code>1</code> characters long</span></p>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_filesize">
    <div class="card">
    <div class="card-header" id="headingReturn_value_filesize">
    <h2 class="mb-0">
    <button aria-controls="Return_value_filesize" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_filesize" data-toggle="collapse" onclick="setAnchor('#Return_value_filesize')" type="button"><span class="property-name">filesize</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_filesize" class="collapse property-definition-div" data-parent="#accordionReturn_value_filesize" id="Return_value_filesize">
    <div class="card-body pl-5">
    <h4>Filesize</h4> <span class="badge badge-success default-value">Default: null</span><br/>
    <span class="description"><p>When <code>device_type</code> is "FILE" then this will be the size of the file in bytes.</p>
    </span><div class="any-of-value" id="Return_value_filesize_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsReturn_value_filesize_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_filesize_anyOf_i0" id="Return_value_filesize_anyOf_i0" onclick="setAnchor('#Return_value_filesize_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_filesize_anyOf_i1" id="Return_value_filesize_anyOf_i1" onclick="setAnchor('#Return_value_filesize_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_filesize_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_filesize_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_device_uuid">
    <div class="card">
    <div class="card-header" id="headingReturn_value_device_uuid">
    <h2 class="mb-0">
    <button aria-controls="Return_value_device_uuid" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_device_uuid" data-toggle="collapse" onclick="setAnchor('#Return_value_device_uuid')" type="button"><span class="property-name">device_uuid</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_device_uuid" class="collapse property-definition-div" data-parent="#accordionReturn_value_device_uuid" id="Return_value_device_uuid">
    <div class="card-body pl-5">
    <h4>Device Uuid</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>Unique device identifier for the namespace.</p>
    </span>
    <p><span class="badge badge-light restriction min-length-restriction" id="Return_value_device_uuid_minLength">Must be at least <code>1</code> characters long</span></p>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_device_nguid">
    <div class="card">
    <div class="card-header" id="headingReturn_value_device_nguid">
    <h2 class="mb-0">
    <button aria-controls="Return_value_device_nguid" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_device_nguid" data-toggle="collapse" onclick="setAnchor('#Return_value_device_nguid')" type="button"><span class="property-name">device_nguid</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_device_nguid" class="collapse property-definition-div" data-parent="#accordionReturn_value_device_nguid" id="Return_value_device_nguid">
    <div class="card-body pl-5">
    <h4>Device Nguid</h4><span class="badge badge-dark value-type">Type: string</span><br/>
    <span class="description"><p>Namespace Globally Unique Identifier for the namespace.</p>
    </span>
    <p><span class="badge badge-light restriction min-length-restriction" id="Return_value_device_nguid_minLength">Must be at least <code>1</code> characters long</span></p>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_enabled">
    <div class="card">
    <div class="card-header" id="headingReturn_value_enabled">
    <h2 class="mb-0">
    <button aria-controls="Return_value_enabled" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_enabled" data-toggle="collapse" onclick="setAnchor('#Return_value_enabled')" type="button"><span class="property-name">enabled</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_enabled" class="collapse property-definition-div" data-parent="#accordionReturn_value_enabled" id="Return_value_enabled">
    <div class="card-body pl-5">
    <h4>Enabled</h4><span class="badge badge-dark value-type">Type: boolean</span> <span class="badge badge-success default-value">Default: true</span><br/>
    <span class="description"><p>If <code>enabled</code> is <code>False</code> then the namespace will not be accessible.</p>
    <p>Some namespace configuration changes are blocked when that namespace is enabled.</p>
    </span>
    </div>
    </div>
    </div>
    </div>
    <div class="accordion" id="accordionReturn_value_locked">
    <div class="card">
    <div class="card-header" id="headingReturn_value_locked">
    <h2 class="mb-0">
    <button aria-controls="Return_value_locked" aria-expanded="" class="btn btn-link property-name-button" data-target="#Return_value_locked" data-toggle="collapse" onclick="setAnchor('#Return_value_locked')" type="button"><span class="property-name">locked</span> <span class="badge badge-warning required-property">Required</span></button>
    </h2>
    </div>
    <div aria-labelledby="headingReturn_value_locked" class="collapse property-definition-div" data-parent="#accordionReturn_value_locked" id="Return_value_locked">
    <div class="card-body pl-5">
    <h4>Locked</h4><br/>
    <span class="description"><p>Reflect the locked state of the namespace.</p>
    <p>The underlying <code>device_path</code> could be an encrypted ZVOL, or a file on an encrypted dataset. In either case <code>locked</code> will be <code>True</code> if the underlying entity is locked.</p>
    </span><div class="any-of-value" id="Return_value_locked_anyOf"><h2 class="handle">
    <label>Any of</label>
    </h2><ul class="nav nav-tabs" id="tabsReturn_value_locked_anyOf_anyOf" role="tablist"><li class="nav-item">
    <a class="nav-link active anyOf-option" data-toggle="tab" href="#tab-pane_Return_value_locked_anyOf_i0" id="Return_value_locked_anyOf_i0" onclick="setAnchor('#Return_value_locked_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_locked_anyOf_i1" id="Return_value_locked_anyOf_i1" onclick="setAnchor('#Return_value_locked_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_locked_anyOf_i0" role="tabpanel">
    <span class="badge badge-dark value-type">Type: boolean</span><br/>
    </div><div class="tab-pane fade card-body" id="tab-pane_Return_value_locked_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_NVME_TARGET_WRITE

