github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/transport_node_state.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 TransportNodeState struct {
     9  
    10  	// Array of configuration state of various sub systems
    11  	Details []ConfigurationStateElement `json:"details,omitempty"`
    12  
    13  	// Error code
    14  	FailureCode int64 `json:"failure_code,omitempty"`
    15  
    16  	// Error message in case of failure
    17  	FailureMessage string `json:"failure_message,omitempty"`
    18  
    19  	// Gives details of state of desired configuration
    20  	State string `json:"state,omitempty"`
    21  
    22  	// States of HostSwitches on the host
    23  	HostSwitchStates []HostSwitchState `json:"host_switch_states,omitempty"`
    24  
    25  	// the present realized maintenance mode state
    26  	MaintenanceModeState string `json:"maintenance_mode_state,omitempty"`
    27  
    28  	// Unique Id of the TransportNode
    29  	TransportNodeId string `json:"transport_node_id,omitempty"`
    30  }