Module netapp_ontap.models.aggregate_spare

Copyright © 2023 NetApp Inc. All rights reserved.

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

Classes

class AggregateSpareSchema (*, 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 AggregateSpare object

Ancestors

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

Class variables

checksum_style: str GET

The checksum type that has been assigned to the spares.

Valid choices:

  • block
  • advanced_zoned
disk_class: str GET

Disk class of spares.

Valid choices:

  • unknown
  • capacity
  • performance
  • archive
  • solid_state
  • array
  • virtual
  • data_center
  • capacity_flash
disk_type: str GET

Type of disk.

Valid choices:

  • fc
  • lun
  • nl_sas
  • nvme_ssd
  • sas
  • sata
  • scsi
  • ssd
  • ssd_cap
  • ssd_zns
  • vm_disk
is_partition: bool GET

Indicates whether a disk is partitioned (true) or whole (false)

Example: true

layout_requirements: List[LayoutRequirement] GET

Available RAID protections and their restrictions.

node: Node GET POST PATCH

The node field of the aggregate_spare.

size: Size GET

Usable size of each spare, in bytes.

Example: 10156769280

syncmirror_pool: str GET

SyncMirror spare pool.

Valid choices:

  • pool0
  • pool1
total: Size GET

Total number of spares in the bucket. The total spare count for each class of spares also includes reserved spare capacity recommended by ONTAP best practices.

Example: 10

usable: Size GET

Total number of usable spares in the bucket. The usable count for each class of spares does not include reserved spare capacity recommended by ONTAP best practices.

Example: 9