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 the request is operating on.

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": "enum",
    "start": 0
}
Feedback

Was this page helpful?