github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/metadata_proxy_status.go (about)

     1  /* Copyright © 2017 VMware, Inc. All Rights Reserved.
     2     SPDX-License-Identifier: BSD-2-Clause
     3  
     4     Generated by: https://github.com/swagger-api/swagger-codegen.git */
     5  
     6  package manager
     7  
     8  type MetadataProxyStatus struct {
     9  
    10  	// Error message, if available
    11  	ErrorMessage string `json:"error_message,omitempty"`
    12  
    13  	// UP means the metadata proxy is working fine on both transport-nodes(if have); DOWN means the metadata proxy is is down on both transport-nodes(if have), hence the metadata proxy will not repsonse any metadata request; Error means error happens on transport-node(s) or no status is reported from transport-node(s). The metadata proxy may be working (or not working); NO_BACK means metadata proxy is working in one of the transport node while not in the other transport-node (if have). Hence if the metadata proxy in the working transport-node goes down, the metadata proxy will go down.
    14  	ProxyStatus string `json:"proxy_status"`
    15  
    16  	// Order of the transport nodes is insensitive because Metadata Proxy is running in Active-Active mode among target transport nodes.
    17  	TransportNodes []string `json:"transport_nodes"`
    18  }