Class RequestSummarizedMetricDataDetails
The request details for retrieving aggregated data. Use the query and optional properties to filter the returned results.
Inherited Members
Namespace: Oci.OcicontrolcenterService.Models
Assembly: OCI.DotNetSDK.Ocicontrolcenter.dll
Syntax
public class RequestSummarizedMetricDataDetails
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment to use for authorization to read metrics. To use the root compartment, provide the tenancyId. |
Remarks
Required
Dimensions
Declaration
[JsonProperty(PropertyName = "dimensions")]
public Dictionary<string, DimensionValue> Dimensions { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, DimensionValue> | Qualifiers to use when searching for metric data. For a list of valid dimensions for a given metric, see {@link #listMetricProperties(ListMetricPropertiesRequest) listMetricProperties}. |
EndTime
Declaration
[JsonProperty(PropertyName = "endTime")]
public DateTime? EndTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |
MetricName
Declaration
[Required(ErrorMessage = "MetricName is required.")]
[JsonProperty(PropertyName = "metricName")]
public string MetricName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of a metric for retrieving aggregated data. For a list of valid metrics for a given namespace, see {@link #listMetricProperties(ListMetricPropertiesRequest) listMetricProperties}. |
Remarks
Required
NamespaceName
Declaration
[Required(ErrorMessage = "NamespaceName is required.")]
[JsonProperty(PropertyName = "namespaceName")]
public string NamespaceName { get; set; }
Property Value
Type | Description |
---|---|
string | The source service or application to use when searching for metric data points to aggregate. For a list of valid namespaces, see {@link #listNamespaces(ListNamespacesRequest) listNamespaces}. |
Remarks
Required
StartTime
Declaration
[JsonProperty(PropertyName = "startTime")]
public DateTime? StartTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |