Module netapp_ontap.models.status
Copyright © 2023 NetApp Inc. All rights reserved.
This file has been automatically generated based on the ONTAP REST API documentation.
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: Size GET POST PATCH
-
Code corresponding to the status message. Code is 0 when the state is 'up'.
Example: 6684732
-
message: str 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: str 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: str GET POST PATCH
-
The validation status of the DNS server.
Valid choices:
- up
- down