# Module `netapp_ontap.models.consistency_group_response_records_luns`

Copyright © 2023 NetApp Inc. All rights reserved.

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

## Classes

`class ConsistencyGroupResponseRecordsLunsSchema (*, 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 ConsistencyGroupResponseRecordsLuns object

  ### Ancestors

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

  ### Class variables

  `clone: ConsistencyGroupConsistencyGroupsLunsClone POST PATCH`

    The clone field of the consistency_group_response_records_luns.

  `comment: str GET POST PATCH`

    A configurable comment available for use by the administrator. Valid in POST and PATCH.

  `create_time: ImpreciseDateTime GET`

    The time the LUN was created.

    Example: 2018-06-04T19:00:00Z

  `enabled: bool GET`

    The enabled state of the LUN. LUNs can be disabled to prevent access to the LUN. Certain error conditions also cause the LUN to become disabled. If the LUN is disabled, you can consult the `state` property to determine if the LUN is administratively disabled (offline) or has become disabled as a result of an error. A LUN in an error condition can be brought online by setting the `enabled` property to true or brought administratively offline by setting the `enabled` property to false. Upon creation, a LUN is enabled by default. Valid in PATCH.

  `lun_maps: List[ConsistencyGroupResponseRecordsConsistencyGroupsLunsLunMaps] GET POST PATCH`

    An array of LUN maps.
    A LUN map is an association between a LUN and an initiator group. When a LUN is mapped to an initiator group, the initiator group's initiators are granted access to the LUN. The relationship between a LUN and an initiator group is many LUNs to many initiator groups.

  `name: str GET POST`

    The fully qualified path name of the LUN composed of the "/vol" prefix, the volume name, the qtree name (optional), and the base name of the LUN. Valid in POST and PATCH.

    Example: /vol/volume1/lun1

  `os_type: str GET POST`

    The operating system type of the LUN.
    Required in POST when creating a LUN that is not a clone of another. Disallowed in POST when creating a LUN clone.

    Valid choices:

    - aix
    - hpux
    - hyper_v
    - linux
    - netware
    - openvms
    - solaris
    - solaris_efi
    - vmware
    - windows
    - windows_2008
    - windows_gpt
    - xen
  `provisioning_options: ConsistencyGroupVdiskProvisioningOptions POST PATCH`

    The provisioning_options field of the consistency_group_response_records_luns.

  `qos: ConsistencyGroupQos GET POST PATCH`

    The qos field of the consistency_group_response_records_luns.

  `serial_number: str GET`

    The LUN serial number. The serial number is generated by ONTAP when the LUN is created.

  `space: ConsistencyGroupLunSpace GET POST PATCH`

    The space field of the consistency_group_response_records_luns.

  `uuid: str GET`

    The unique identifier of the LUN. The UUID is generated by ONTAP when the LUN is created.

    Example: 1cd8a442-86d1-11e0-ae1c-123478563412