# Module `netapp_ontap.models.metrocluster_diag_connection`

Copyright © 2023 NetApp Inc. All rights reserved.

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

## Classes

`class MetroclusterDiagConnectionSchema (*, 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 MetroclusterDiagConnection object

  ### Ancestors

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

  ### Class variables

  `destination_address: str GET`

    The destination_address field of the metrocluster_diag_connection.

  `partner: MetroclusterPartner GET POST PATCH`

    The partner field of the metrocluster_diag_connection.

  `port: str GET`

    The port field of the metrocluster_diag_connection.

  `result: str GET`

    Result of the diagnostic operation on this component.

    Valid choices:

    - ok
    - warning
    - not_run
    - not_applicable
  `source_address: str GET`

    The source_address field of the metrocluster_diag_connection.

  `state: str GET`

    The state field of the metrocluster_diag_connection.

    Valid choices:

    - disconnected
    - completed
    - pinging_partner_nodes
    - enabling_ip_ports
    - connecting_to_storage
    - disconnecting_from_storage
    - disabling_ip_ports
    - configuring_ip_addresses
    - updating_node_roles
    - connecting_to_mediator
    - disconnecting_from_mediator