Show / Hide Table of Contents

Class BaselineableMetric

Summary for the baseline-able metric

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

Properties

Column

Declaration
[Required(ErrorMessage = "Column is required.")]
[JsonProperty(PropertyName = "column")]
public string Column { get; set; }
Property Value
Type Description
string

metric column name

Remarks

Required

CompartmentId

Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

OCID of the compartment

CreatedBy

Declaration
[JsonProperty(PropertyName = "createdBy")]
public string CreatedBy { get; set; }
Property Value
Type Description
string

Created user id

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}}

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

OCID of the metric

Remarks

Required

IsOutOfBox

Declaration
[Required(ErrorMessage = "IsOutOfBox is required.")]
[JsonProperty(PropertyName = "isOutOfBox")]
public bool? IsOutOfBox { get; set; }
Property Value
Type Description
bool?

Is the metric created out of box, default false

Remarks

Required

LastUpdatedBy

Declaration
[JsonProperty(PropertyName = "lastUpdatedBy")]
public string LastUpdatedBy { get; set; }
Property Value
Type Description
string

last Updated user id

LifecycleState

Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public BaselineableMetricLifeCycleStates? LifecycleState { get; set; }
Property Value
Type Description
BaselineableMetricLifeCycleStates?

The current lifecycle state of the metric extension

Name

Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

name of the metric

Remarks

Required

Namespace

Declaration
[Required(ErrorMessage = "Namespace is required.")]
[JsonProperty(PropertyName = "namespace")]
public string Namespace { get; set; }
Property Value
Type Description
string

namespace of the metric

Remarks

Required

ResourceGroup

Declaration
[Required(ErrorMessage = "ResourceGroup is required.")]
[JsonProperty(PropertyName = "resourceGroup")]
public string ResourceGroup { get; set; }
Property Value
Type Description
string

Resource group of the metric

Remarks

Required

ResourceType

Declaration
[JsonProperty(PropertyName = "resourceType")]
public string ResourceType { get; set; }
Property Value
Type Description
string

Resource type of the metric

SystemTags

Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}

TenancyId

Declaration
[JsonProperty(PropertyName = "tenancyId")]
public string TenancyId { get; set; }
Property Value
Type Description
string

OCID of the tenancy

TimeCreated

Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

creation date

TimeLastUpdated

Declaration
[JsonProperty(PropertyName = "timeLastUpdated")]
public DateTime? TimeLastUpdated { get; set; }
Property Value
Type Description
DateTime?

last updated time

In this article
Back to top