stats

package
v4.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Module files.v4.stats of Nutanix Files APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AntivirusServerStatsApiResponse

type AntivirusServerStatsApiResponse struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*

	 */
	DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`

	Data *OneOfAntivirusServerStatsApiResponseData `json:"data,omitempty"`

	Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /files/v4.0/stats/file-servers/{fileServerExtId}/anti-virus-servers/{extId} Get operation

func NewAntivirusServerStatsApiResponse

func NewAntivirusServerStatsApiResponse() *AntivirusServerStatsApiResponse

func (*AntivirusServerStatsApiResponse) GetData

func (p *AntivirusServerStatsApiResponse) GetData() interface{}

func (*AntivirusServerStatsApiResponse) SetData

func (p *AntivirusServerStatsApiResponse) SetData(v interface{}) error

type AntivirusStats

type AntivirusStats struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The number of files cleaned by the antivirus.
	*/
	CleanedFileCount []import3.TimeIntValuePair `json:"cleanedFileCount,omitempty"`
	/*
	  The number of times the antivirus is disconnected.
	*/
	DisconnectCount []import3.TimeIntValuePair `json:"disconnectCount,omitempty"`
	/*
	  A globally unique identifier of an instance that is suitable for external consumption.
	*/
	ExtId *string `json:"extId,omitempty"`
	/*
	  The antivirus average latency in milliseconds.
	*/
	LatencyMs []import3.TimeIntValuePair `json:"latencyMs,omitempty"`
	/*
	  A HATEOAS style link for the response.  Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
	*/
	Links []import2.ApiLink `json:"links,omitempty"`
	/*
	  The number of files quarantined by the antivirus.
	*/
	QuarantinedFileCount []import3.TimeIntValuePair `json:"quarantinedFileCount,omitempty"`
	/*
	  The number of files scanned by the antivirus.
	*/
	ScannedFileCount []import3.TimeIntValuePair `json:"scannedFileCount,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
	*/
	TenantId *string `json:"tenantId,omitempty"`
	/*
	  The number of threats found by the antivirus.
	*/
	ThreatCount []import3.TimeIntValuePair `json:"threatCount,omitempty"`
	/*
	  The antivirus throughput in bytes per second.
	*/
	ThroughputBps []import3.TimeIntValuePair `json:"throughputBps,omitempty"`
}

A model that represents antivirus statistics.

func NewAntivirusStats

func NewAntivirusStats() *AntivirusStats

type FileDetail

type FileDetail struct {
	Path        *string `json:"-"`
	ObjectType_ *string `json:"-"`
}

func NewFileDetail

func NewFileDetail() *FileDetail

type FileServerStats

type FileServerStats struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The number of files cleaned by the antivirus.
	*/
	AvCleanedFileCount []import3.TimeIntValuePair `json:"avCleanedFileCount,omitempty"`
	/*
	  The antivirus average latency in milliseconds.
	*/
	AvLatencyMs []import3.TimeIntValuePair `json:"avLatencyMs,omitempty"`
	/*
	  The number of files quarantined by the antivirus.
	*/
	AvQuarantinedFileCount []import3.TimeIntValuePair `json:"avQuarantinedFileCount,omitempty"`
	/*
	  The number of files scanned by the antivirus.
	*/
	AvScannedFileCount []import3.TimeIntValuePair `json:"avScannedFileCount,omitempty"`
	/*
	  The number of threats found by the antivirus.
	*/
	AvThreatCount []import3.TimeIntValuePair `json:"avThreatCount,omitempty"`
	/*
	  The antivirus throughput in bytes per second.
	*/
	AvThroughputBps []import3.TimeIntValuePair `json:"avThroughputBps,omitempty"`
	/*
	  The average Input/Output rate metric is measured in IOPS.
	*/
	AverageIops []import3.TimeIntValuePair `json:"averageIops,omitempty"`
	/*
	  The average access latency metric in microseconds.
	*/
	AverageLatencyUs []import3.TimeIntValuePair `json:"averageLatencyUs,omitempty"`
	/*
	  The average throughput metric in bytes per second.
	*/
	AverageThroughputBps []import3.TimeIntValuePair `json:"averageThroughputBps,omitempty"`
	/*
	  Disk space in bytes used by the file server or mount target dataset.
	*/
	DatasetSpaceUsedBytes []import3.TimeIntValuePair `json:"datasetSpaceUsedBytes,omitempty"`
	/*
	  A globally unique identifier of an instance that is suitable for external consumption.
	*/
	ExtId *string `json:"extId,omitempty"`
	/*
	  The length of an antivirus scan queue.
	*/
	IcapDaemonQueueLength []import3.TimeIntValuePair `json:"icapDaemonQueueLength,omitempty"`
	/*
	  A HATEOAS style link for the response.  Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
	*/
	Links []import2.ApiLink `json:"links,omitempty"`
	/*
	  The metadata Input/Output rate metric is measured in IOPS.
	*/
	MetadataIops []import3.TimeIntValuePair `json:"metadataIops,omitempty"`
	/*
	  The average metadata latency in microseconds.
	*/
	MetadataLatencyUs []import3.TimeIntValuePair `json:"metadataLatencyUs,omitempty"`
	/*
	  The number of active connections metric.
	*/
	NumberOfConnections []import3.TimeIntValuePair `json:"numberOfConnections,omitempty"`
	/*
	  The number of files metric.
	*/
	NumberOfFiles []import3.TimeIntValuePair `json:"numberOfFiles,omitempty"`
	/*
	  The file server read Input/Output rate metric is measured in IOPS.
	*/
	ReadIops []import3.TimeIntValuePair `json:"readIops,omitempty"`
	/*
	  The average read latency metric in microseconds.
	*/
	ReadLatencyUs []import3.TimeIntValuePair `json:"readLatencyUs,omitempty"`
	/*
	  The read throughput metric in bytes per second.
	*/
	ReadThroughputBps []import3.TimeIntValuePair `json:"readThroughputBps,omitempty"`
	/*
	  Disk space in bytes used by the snapshots.
	*/
	SnapshotUsedBytes []import3.TimeIntValuePair `json:"snapshotUsedBytes,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
	*/
	TenantId *string `json:"tenantId,omitempty"`
	/*
	  Total tiered data in bytes to the object store.
	*/
	TotalTieredBytes []import3.TimeIntValuePair `json:"totalTieredBytes,omitempty"`
	/*
	  The write Input/Output rate metric is measured in IOPS.
	*/
	WriteIops []import3.TimeIntValuePair `json:"writeIops,omitempty"`
	/*
	  The average write latency metric in microseconds.
	*/
	WriteLatencyUs []import3.TimeIntValuePair `json:"writeLatencyUs,omitempty"`
	/*
	  The write throughput metric in bytes per second.
	*/
	WriteThroughputBps []import3.TimeIntValuePair `json:"writeThroughputBps,omitempty"`
}

File server statistics model

func NewFileServerStats

func NewFileServerStats() *FileServerStats

type FileServerStatsApiResponse

type FileServerStatsApiResponse struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*

	 */
	DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`

	Data *OneOfFileServerStatsApiResponseData `json:"data,omitempty"`

	Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /files/v4.0/stats/file-servers/{extId} Get operation

func NewFileServerStatsApiResponse

func NewFileServerStatsApiResponse() *FileServerStatsApiResponse

func (*FileServerStatsApiResponse) GetData

func (p *FileServerStatsApiResponse) GetData() interface{}

func (*FileServerStatsApiResponse) SetData

func (p *FileServerStatsApiResponse) SetData(v interface{}) error

type MountTargetStats

type MountTargetStats struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The average Input/Output rate metric is measured in IOPS.
	*/
	AverageIops []import3.TimeIntValuePair `json:"averageIops,omitempty"`
	/*
	  The average access latency metric in microseconds.
	*/
	AverageLatencyUs []import3.TimeIntValuePair `json:"averageLatencyUs,omitempty"`
	/*
	  The average throughput metric in bytes per second.
	*/
	AverageThroughputBps []import3.TimeIntValuePair `json:"averageThroughputBps,omitempty"`
	/*
	  Disk space in bytes used by the file server or mount target dataset.
	*/
	DatasetSpaceUsedBytes []import3.TimeIntValuePair `json:"datasetSpaceUsedBytes,omitempty"`
	/*
	  A globally unique identifier of an instance that is suitable for external consumption.
	*/
	ExtId *string `json:"extId,omitempty"`
	/*
	  A HATEOAS style link for the response.  Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
	*/
	Links []import2.ApiLink `json:"links,omitempty"`
	/*
	  The metadata Input/Output rate metric is measured in IOPS.
	*/
	MetadataIops []import3.TimeIntValuePair `json:"metadataIops,omitempty"`
	/*
	  The average metadata latency in microseconds.
	*/
	MetadataLatencyUs []import3.TimeIntValuePair `json:"metadataLatencyUs,omitempty"`
	/*
	  The number of active connections metric.
	*/
	NumberOfConnections []import3.TimeIntValuePair `json:"numberOfConnections,omitempty"`
	/*
	  The number of files metric.
	*/
	NumberOfFiles []import3.TimeIntValuePair `json:"numberOfFiles,omitempty"`
	/*
	  The file server read Input/Output rate metric is measured in IOPS.
	*/
	ReadIops []import3.TimeIntValuePair `json:"readIops,omitempty"`
	/*
	  The average read latency metric in microseconds.
	*/
	ReadLatencyUs []import3.TimeIntValuePair `json:"readLatencyUs,omitempty"`
	/*
	  The read throughput metric in bytes per second.
	*/
	ReadThroughputBps []import3.TimeIntValuePair `json:"readThroughputBps,omitempty"`
	/*
	  Disk space in bytes used by the snapshots.
	*/
	SnapshotUsedBytes []import3.TimeIntValuePair `json:"snapshotUsedBytes,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
	*/
	TenantId *string `json:"tenantId,omitempty"`
	/*
	  The average tiering access latency metric for put operation in milliseconds.
	*/
	TieringLatencyMs []import3.TimeIntValuePair `json:"tieringLatencyMs,omitempty"`
	/*
	  Disk space in bytes used by the mount target.
	*/
	UsedBytes []import3.TimeIntValuePair `json:"usedBytes,omitempty"`
	/*
	  The write Input/Output rate metric is measured in IOPS.
	*/
	WriteIops []import3.TimeIntValuePair `json:"writeIops,omitempty"`
	/*
	  The average write latency metric in microseconds.
	*/
	WriteLatencyUs []import3.TimeIntValuePair `json:"writeLatencyUs,omitempty"`
	/*
	  The write throughput metric in bytes per second.
	*/
	WriteThroughputBps []import3.TimeIntValuePair `json:"writeThroughputBps,omitempty"`
}

A model that represents mount target statistics.

func NewMountTargetStats

func NewMountTargetStats() *MountTargetStats

type MountTargetStatsApiResponse

type MountTargetStatsApiResponse struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*

	 */
	DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"`

	Data *OneOfMountTargetStatsApiResponseData `json:"data,omitempty"`

	Metadata *import2.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /files/v4.0/stats/file-servers/{fileServerExtId}/mount-targets/{extId} Get operation

func NewMountTargetStatsApiResponse

func NewMountTargetStatsApiResponse() *MountTargetStatsApiResponse

func (*MountTargetStatsApiResponse) GetData

func (p *MountTargetStatsApiResponse) GetData() interface{}

func (*MountTargetStatsApiResponse) SetData

func (p *MountTargetStatsApiResponse) SetData(v interface{}) error

type OneOfAntivirusServerStatsApiResponseData

type OneOfAntivirusServerStatsApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfAntivirusServerStatsApiResponseData

func NewOneOfAntivirusServerStatsApiResponseData() *OneOfAntivirusServerStatsApiResponseData

func (*OneOfAntivirusServerStatsApiResponseData) GetValue

func (p *OneOfAntivirusServerStatsApiResponseData) GetValue() interface{}

func (*OneOfAntivirusServerStatsApiResponseData) MarshalJSON

func (p *OneOfAntivirusServerStatsApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfAntivirusServerStatsApiResponseData) SetValue

func (p *OneOfAntivirusServerStatsApiResponseData) SetValue(v interface{}) error

func (*OneOfAntivirusServerStatsApiResponseData) UnmarshalJSON

func (p *OneOfAntivirusServerStatsApiResponseData) UnmarshalJSON(b []byte) error

type OneOfFileServerStatsApiResponseData

type OneOfFileServerStatsApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfFileServerStatsApiResponseData

func NewOneOfFileServerStatsApiResponseData() *OneOfFileServerStatsApiResponseData

func (*OneOfFileServerStatsApiResponseData) GetValue

func (p *OneOfFileServerStatsApiResponseData) GetValue() interface{}

func (*OneOfFileServerStatsApiResponseData) MarshalJSON

func (p *OneOfFileServerStatsApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfFileServerStatsApiResponseData) SetValue

func (p *OneOfFileServerStatsApiResponseData) SetValue(v interface{}) error

func (*OneOfFileServerStatsApiResponseData) UnmarshalJSON

func (p *OneOfFileServerStatsApiResponseData) UnmarshalJSON(b []byte) error

type OneOfMountTargetStatsApiResponseData

type OneOfMountTargetStatsApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfMountTargetStatsApiResponseData

func NewOneOfMountTargetStatsApiResponseData() *OneOfMountTargetStatsApiResponseData

func (*OneOfMountTargetStatsApiResponseData) GetValue

func (p *OneOfMountTargetStatsApiResponseData) GetValue() interface{}

func (*OneOfMountTargetStatsApiResponseData) MarshalJSON

func (p *OneOfMountTargetStatsApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfMountTargetStatsApiResponseData) SetValue

func (p *OneOfMountTargetStatsApiResponseData) SetValue(v interface{}) error

func (*OneOfMountTargetStatsApiResponseData) UnmarshalJSON

func (p *OneOfMountTargetStatsApiResponseData) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL