Module netapp_ontap.models.status

Copyright © 2022 NetApp Inc. All rights reserved.

Classes

class StatusSchema (*, 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 Status object

Ancestors

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

Class variables

code GET POST PATCH

Code corresponding to the status message. Code is 0 when the state is 'up'.

Example: 6684732

message GET POST PATCH

Detailed description of the validation state if the state is 'down' or the response time of the DNS server if the state is 'up'.

name_server GET POST PATCH

The IP address of the DNS server. The address can be either an IPv4 or an IPv6 address.

Example: 10.10.10.10

state GET POST PATCH

The validation status of the DNS server.

Valid choices:

  • up
  • down