Class LogAnalyticsMetric
LogAnalyticsMetric
Inherited Members
Namespace: Oci.LoganalyticsService.Models
Assembly: OCI.DotNetSDK.Loganalytics.dll
Syntax
public class LogAnalyticsMetric
Properties
AggregationField
Declaration
[JsonProperty(PropertyName = "aggregationField")]
public string AggregationField { get; set; }
Property Value
Type | Description |
---|---|
string | The aggregation field. |
BucketMetadata
Declaration
[JsonProperty(PropertyName = "bucketMetadata")]
public string BucketMetadata { get; set; }
Property Value
Type | Description |
---|---|
string | The bucket metadata. |
ClockPeriod
Declaration
[JsonProperty(PropertyName = "clockPeriod")]
public string ClockPeriod { get; set; }
Property Value
Type | Description |
---|---|
string | The clock period. |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | The metric description. |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The metric display name. |
EditVersion
Declaration
[JsonProperty(PropertyName = "editVersion")]
public long? EditVersion { get; set; }
Property Value
Type | Description |
---|---|
long? | The metric edit version. |
EntityType
Declaration
[JsonProperty(PropertyName = "entityType")]
public string EntityType { get; set; }
Property Value
Type | Description |
---|---|
string | The entity type. |
FieldName
Declaration
[JsonProperty(PropertyName = "fieldName")]
public string FieldName { get; set; }
Property Value
Type | Description |
---|---|
string | The field name. |
FieldValues
Declaration
[JsonProperty(PropertyName = "fieldValues")]
public List<string> FieldValues { get; set; }
Property Value
Type | Description |
---|---|
List<string> | The field values. |
GroupingField
Declaration
[JsonProperty(PropertyName = "groupingField")]
public string GroupingField { get; set; }
Property Value
Type | Description |
---|---|
string | The grouping fields. |
IsEnabled
Declaration
[JsonProperty(PropertyName = "isEnabled")]
public bool? IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | A flag inidcating whether or not the metric is enabled. |
IsMetricSourceEnabled
Declaration
[JsonProperty(PropertyName = "isMetricSourceEnabled")]
public bool? IsMetricSourceEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | A flag specifying whether or not the metric source is enabled. |
IsSystem
Declaration
[JsonProperty(PropertyName = "isSystem")]
public bool? IsSystem { get; set; }
Property Value
Type | Description |
---|---|
bool? | The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object. |
IsUserCustomized
Declaration
[JsonProperty(PropertyName = "isUserCustomized")]
public bool? IsUserCustomized { get; set; }
Property Value
Type | Description |
---|---|
bool? | A flag specifying whether or not this is a custom (user defined) metric. |
MetricReference
Declaration
[JsonProperty(PropertyName = "metricReference")]
public long? MetricReference { get; set; }
Property Value
Type | Description |
---|---|
long? | The metric unique identifier. |
MetricType
Declaration
[JsonProperty(PropertyName = "metricType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LogAnalyticsMetric.MetricTypeEnum? MetricType { get; set; }
Property Value
Type | Description |
---|---|
LogAnalyticsMetric.MetricTypeEnum? | The metric type, specifying the type of aggreation to perform. Default value is COUNT. |
Name
Declaration
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The metric name. |
Operator
Declaration
[JsonProperty(PropertyName = "operator")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LogAnalyticsMetric.OperatorEnum? Operator { get; set; }
Property Value
Type | Description |
---|---|
LogAnalyticsMetric.OperatorEnum? | The metric operator. |
Sources
Declaration
[JsonProperty(PropertyName = "sources")]
public List<LogAnalyticsSource> Sources { get; set; }
Property Value
Type | Description |
---|---|
List<LogAnalyticsSource> | The metric sources. |
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The last updated date. |
UnitType
Declaration
[JsonProperty(PropertyName = "unitType")]
public string UnitType { get; set; }
Property Value
Type | Description |
---|---|
string | The unit type. |