Class IngestTimeRuleMetricExtractionAction
Details of metric to post to OCI Monitoring if ingest time rule condition(s) are satisfied.
Inherited Members
Namespace: Oci.LoganalyticsService.Models
Assembly: OCI.DotNetSDK.Loganalytics.dll
Syntax
public class IngestTimeRuleMetricExtractionAction : IngestTimeRuleAction
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The compartment OCID (/iaas/Content/General/Concepts/identifiers.htm) of the extracted metric. |
Remarks
Required
Dimensions
Declaration
[JsonProperty(PropertyName = "dimensions")]
public List<string> Dimensions { get; set; }
Property Value
Type | Description |
---|---|
List<string> | Additional dimensions to publish for the extracted metric. A valid list contains the source field names whose values are to be published as dimensions. The source name itself is specified using a special macro SOURCE_NAME |
MetricName
Declaration
[Required(ErrorMessage = "MetricName is required.")]
[JsonProperty(PropertyName = "metricName")]
public string MetricName { get; set; }
Property Value
Type | Description |
---|---|
string | The metric name of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). |
Remarks
Required
Namespace
Declaration
[Required(ErrorMessage = "Namespace is required.")]
[JsonProperty(PropertyName = "namespace")]
public string Namespace { get; set; }
Property Value
Type | Description |
---|---|
string | The namespace of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters and underscores (_). |
Remarks
Required
ResourceGroup
Declaration
[JsonProperty(PropertyName = "resourceGroup")]
public string ResourceGroup { get; set; }
Property Value
Type | Description |
---|---|
string | The resourceGroup of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). |