Show / Hide Table of Contents

Class CreateMetricExtensionDetails

The information about new metric extension resource. The combination of metric extension name and resource type should be unique in a compartment.

Inheritance
object
CreateMetricExtensionDetails
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 CreateMetricExtensionDetails

Properties

CollectionRecurrences

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

Schedule of metric extension should use RFC 5545 format i.e. recur-rule-part = "FREQ";INTERVAL where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1

Remarks

Required

CompartmentId

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

Compartment Identifier OCID

Remarks

Required

Description

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

Description of the metric extension.

DisplayName

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

Metric Extension display name.

Remarks

Required

MetricList

Declaration
[Required(ErrorMessage = "MetricList is required.")]
[JsonProperty(PropertyName = "metricList")]
public List<Metric> MetricList { get; set; }
Property Value
Type Description
List<Metric>

List of metrics which are part of this metric extension

Remarks

Required

Name

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

Metric Extension Resource name.

Remarks

Required

QueryProperties

Declaration
[Required(ErrorMessage = "QueryProperties is required.")]
[JsonProperty(PropertyName = "queryProperties")]
public MetricExtensionQueryProperties QueryProperties { get; set; }
Property Value
Type Description
MetricExtensionQueryProperties
Remarks

Required

ResourceType

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

Resource type to which Metric Extension applies

Remarks

Required

In this article
Back to top