Show / Hide Table of Contents

Class MetricExtraction

Specify metric extraction for SAVED_SEARCH scheduled task execution to post to OCI Monitoring.

Inheritance
object
MetricExtraction
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.LoganalyticsService.Models
Assembly: OCI.DotNetSDK.Loganalytics.dll
Syntax
public class MetricExtraction

Properties

CompartmentId

Declaration
[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.

MetricName

Declaration
[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 ($).

Namespace

Declaration
[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 (_).

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 ($).

In this article
Back to top