# Module `netapp_ontap.models.lun_status`

Copyright © 2022 NetApp Inc. All rights reserved.

## Classes

`class LunStatusSchema (*, only: Union[Sequence[str], Set[str]] = None, exclude: Union[Sequence[str], Set[str]] = (), many: bool = False, context: Dict = None, load_only: Union[Sequence[str], Set[str]] = (), dump_only: Union[Sequence[str], Set[str]] = (), partial: Union[bool, Sequence[str], Set[str]] = False, unknown: str = None)`

  The fields of the LunStatus object

  ### Ancestors

  - netapp_ontap.resource.ResourceSchema
  - marshmallow.schema.Schema
  - marshmallow.base.SchemaABC

  ### Class variables

  `container_state GET`

    The state of the volume and aggregate that contain the LUN. LUNs are only available when their containers are available.

    Valid choices:

    - online
    - aggregate_offline
    - volume_offline
  `mapped GET`

    Reports if the LUN is mapped to one or more initiator groups.
    There is an added cost to retrieving this property's value. It is not populated for either a collection GET or an instance GET unless it is explicitly requested using the `fields` query parameter. See `Requesting specific fields` to learn more.

  `read_only GET`

    Reports if the LUN allows only read access.

  `state GET`

    The state of the LUN. Normal states for a LUN are online and offline. Other states indicate errors.

    Valid choices:

    - foreign_lun_error
    - nvfail
    - offline
    - online
    - space_error