Module netapp_ontap.models.storage_unit_status

Copyright © 2024 NetApp Inc. All rights reserved.

This file has been automatically generated based on the ONTAP REST API documentation.

Classes

class StorageUnitStatusSchema (*, only: types.StrSequenceOrSet | None = None, exclude: types.StrSequenceOrSet = (), many: bool | None = None, context: dict | None = None, load_only: types.StrSequenceOrSet = (), dump_only: types.StrSequenceOrSet = (), partial: bool | types.StrSequenceOrSet | None = None, unknown: str | None = None)

The fields of the StorageUnitStatus object

Ancestors

  • netapp_ontap.resource.ResourceSchema
  • marshmallow.schema.Schema
  • marshmallow.base.SchemaABC
  • abc.ABC

Class variables

container_state: str GET

The state of the storage unit and aggregate that contains it. Storage units are only available when their containers are available.

Valid choices:

  • online
  • aggregate_offline
  • volume_offline
mapped: bool GET

Reports if the storage unit is mapped to one or more hosts.
There is an added computational 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: bool GET

Reports if the storage unit allows only read access.

state: str GET

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

Valid choices:

  • foreign_lun_error
  • nvfail
  • offline
  • online
  • space_error