Documentation
¶
Overview ¶
Module common.v1.stats of Nutanix Cluster Management APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownSamplingOperator ¶
type DownSamplingOperator int
The operator to use while performing down-sampling on stats data. Allowed values are SUM, MIN, MAX, AVG, COUNT and LAST.
const ( DOWNSAMPLINGOPERATOR_UNKNOWN DownSamplingOperator = 0 DOWNSAMPLINGOPERATOR_REDACTED DownSamplingOperator = 1 DOWNSAMPLINGOPERATOR_SUM DownSamplingOperator = 2 DOWNSAMPLINGOPERATOR_MIN DownSamplingOperator = 3 DOWNSAMPLINGOPERATOR_MAX DownSamplingOperator = 4 DOWNSAMPLINGOPERATOR_AVG DownSamplingOperator = 5 DOWNSAMPLINGOPERATOR_COUNT DownSamplingOperator = 6 DOWNSAMPLINGOPERATOR_LAST DownSamplingOperator = 7 )
func (DownSamplingOperator) GetName ¶
func (e DownSamplingOperator) GetName() string
Returns the name of the enum
func (*DownSamplingOperator) MarshalJSON ¶
func (e *DownSamplingOperator) MarshalJSON() ([]byte, error)
func (DownSamplingOperator) Ref ¶
func (e DownSamplingOperator) Ref() *DownSamplingOperator
func (*DownSamplingOperator) UnmarshalJSON ¶
func (e *DownSamplingOperator) UnmarshalJSON(b []byte) error
type FileDetail ¶
func NewFileDetail ¶
func NewFileDetail() *FileDetail
type TimeIntValuePair ¶
type TimeIntValuePair struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* The date and time at which the stat was recorded.The value should be in extended ISO-8601 format. For example, start time of 2022-04-23T01:23:45.678+09:00 would consider all stats starting at 1:23:45.678 on the 23rd of April 2022. Details around ISO-8601 format can be found at https://www.iso.org/standard/70907.html */ Timestamp *time.Time `json:"timestamp,omitempty"` /* Value of the stat at the recorded date and time in extended ISO-8601 format." */ Value *int64 `json:"value,omitempty"` }
A time value pair representing a stat associated with a given entity at a given point of date and time represented in extended ISO-8601 format."
func NewTimeIntValuePair ¶
func NewTimeIntValuePair() *TimeIntValuePair
Click to show internal directories.
Click to hide internal directories.