NamespaceManagementStatsTimeSeriesSpec

This structure is sent in a request for TimeSeries data and is used to specify what object stats should be returned for.


Properties

string
cluster Optional

Cluster identifier for queries for a cluster. This field is optional and it is only relevant when the value of TimeSeries.Spec.obj-type is CLUSTER. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: ClusterComputeResource. When operations return a value of this structure as a result, the field will be an identifier for the resource type: ClusterComputeResource.


integer as int64
end Required

UNIX timestamp value indicating when the requested series of statistical samples should end. https://en.wikipedia.org/wiki/Unix_time


string
namespace Optional

Namespace name for queries for a namespace. This field is optional and it is only relevant when the value of TimeSeries.Spec.obj-type is NAMESPACE. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vcenter.namespaces.Instance.


obj_type Required

Type of statistics object that this request is operating on.
CLUSTER : The CLUSTER object type is used when specifying a vSphere cluster.
NAMESPACE : The NAMESPACE object type is used to specify a namespace.
POD : The POD object type is used to specify an individual pod within a namespace.

Possible values are: CLUSTERNAMESPACEPOD


pod Optional

Pod Identifier for queries on an individual pod. This field is optional and it is only relevant when the value of TimeSeries.Spec.obj-type is POD.


integer as int64
start Required

UNIX timestamp value indicating when the requested series of statistical samples should begin. https://en.wikipedia.org/wiki/Unix_time

JSON Example

{
	"end": 0,
	"obj_type": "CLUSTER",
	"start": 0
}

Feedback

Was this page helpful?