NamespaceManagementStatsTimeSeriesSpec
This structure is sent in a request for TimeSeries data and is used to specify what object stats should be returned for.
Properties
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.
UNIX timestamp value indicating when the requested series of statistical samples should end. https://en.wikipedia.org/wiki/Unix_time
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.
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: CLUSTER , NAMESPACE , POD
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.
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
}