Class NamespaceMetric
Metric associated with a namespace.
Inherited Members
Namespace: Oci.ApmconfigService.Models
Assembly: OCI.DotNetSDK.Apmconfig.dll
Syntax
public class NamespaceMetric
Properties
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
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MetricTypes? Type { get; set; }
Property Value
Type | Description |
---|---|
MetricTypes? | Type of metric. |
Remarks
Required
Unit
Declaration
[JsonProperty(PropertyName = "unit")]
public string Unit { get; set; }
Property Value
Type | Description |
---|---|
string | Unit of the metric. |