github.com/vmware/go-vmware-nsxt@v0.0.0-20230223012718-d31b8a1ca05e/manager/node_status_properties.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  import (
     9  	"github.com/vmware/go-vmware-nsxt/common"
    10  )
    11  
    12  type NodeStatusProperties struct {
    13  
    14  	// The server will populate this field when returing the resource. Ignored on PUT and POST.
    15  	Links []common.ResourceLink `json:"_links,omitempty"`
    16  
    17  	Schema string `json:"_schema,omitempty"`
    18  
    19  	Self *common.SelfResourceLink `json:"_self,omitempty"`
    20  
    21  	// Number of CPU cores on the system
    22  	CpuCores int64 `json:"cpu_cores,omitempty"`
    23  
    24  	// File systems configured on the system
    25  	FileSystems []NodeFileSystemProperties `json:"file_systems,omitempty"`
    26  
    27  	// One, five, and fifteen minute load averages for the system
    28  	LoadAverage []float32 `json:"load_average,omitempty"`
    29  
    30  	// Amount of RAM on the system that can be flushed out to disk, in kilobytes
    31  	MemCache int64 `json:"mem_cache,omitempty"`
    32  
    33  	// Amount of RAM allocated to the system, in kilobytes
    34  	MemTotal int64 `json:"mem_total,omitempty"`
    35  
    36  	// Amount of RAM in use on the system, in kilobytes
    37  	MemUsed int64 `json:"mem_used,omitempty"`
    38  
    39  	// Source of status data.
    40  	Source string `json:"source,omitempty"`
    41  
    42  	// Amount of disk available for swap, in kilobytes
    43  	SwapTotal int64 `json:"swap_total,omitempty"`
    44  
    45  	// Amount of swap disk in use, in kilobytes
    46  	SwapUsed int64 `json:"swap_used,omitempty"`
    47  
    48  	// Current time expressed in milliseconds since epoch
    49  	SystemTime int64 `json:"system_time,omitempty"`
    50  
    51  	// Milliseconds since system start
    52  	Uptime int64 `json:"uptime,omitempty"`
    53  }