netapp_ontap.models.license API documentation
Description: Copyright &copy; 2026 NetApp Inc. All rights reserved …

# Module `netapp_ontap.models.license`

Copyright © 2026 NetApp Inc. All rights reserved.

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

## Classes

`class LicenseSchema (*, 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 License object

  ### Ancestors

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

  ### Class variables

  `active: bool GET`

    A flag indicating whether the license is currently being enforced.

  `capacity: LicenseCapacity GET`

    The capacity field of the license.

  `compliance: LicenseCompliance GET POST PATCH`

    The compliance field of the license.

  `evaluation: bool GET`

    A flag indicating whether the license is in evaluation mode.

  `expiry_time: ImpreciseDateTime GET`

    Date and time when the license expires.

    Example: 2019-03-02T19:00:00.000+0000

  `host_id: str GET`

    A string that associates the license with a node or cluster.

    Example: 456-44-1234

  `installed_license: str GET`

    Name of license that enabled the feature.

    Example: Core Bundle

  `owner: str GET`

    Cluster, node or license manager that owns the license.

    Example: cluster1

  `serial_number: str GET`

    Serial number of the license.

    Example: 123456789

  `shutdown_imminent: bool GET`

    A flag indicating whether the Cloud ONTAP system is going to shutdown as the Cloud platform license has already expired.

  `start_time: ImpreciseDateTime GET`

    Date and time when the license starts.

    Example: 2019-02-02T19:00:00.000+0000