Module netapp_ontap.models.status
Copyright © 2021 NetApp Inc. All rights reserved.
Classes
class StatusSchema (*, only: typing.Union = None, exclude: typing.Union = (), many: bool = False, context: typing.Dict = None, load_only: typing.Union = (), dump_only: typing.Union = (), partial: typing.Union = 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