github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/logical_port_status_summary.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 LogicalPortStatusSummary struct {
     9  
    10  	// The filters used to find the logical ports- TransportZone id, LogicalSwitch id or LogicalSwitchProfile id
    11  	Filters []Filter `json:"filters,omitempty"`
    12  
    13  	// Timestamp when the data was last updated; unset if data source has never updated the data.
    14  	LastUpdateTimestamp int64 `json:"last_update_timestamp,omitempty"`
    15  
    16  	// The total number of logical ports.
    17  	TotalPorts int64 `json:"total_ports"`
    18  
    19  	// The number of logical ports whose Operational status is UP
    20  	UpPorts int64 `json:"up_ports"`
    21  }