Show / Hide Table of Contents

Class MetricExtensionSummary

Summary information about metric extension resources

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

Properties

CollectionMethod

Declaration
[JsonProperty(PropertyName = "collectionMethod")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MetricExtensionCollectionMethods? CollectionMethod { get; set; }
Property Value
Type Description
MetricExtensionCollectionMethods?

Type of possible collection methods.

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
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

Metric Extension resource display name.

EnabledOnResourcesCount

Declaration
[JsonProperty(PropertyName = "enabledOnResourcesCount")]
public int? EnabledOnResourcesCount { get; set; }
Property Value
Type Description
int?

Count of resources on which this metric extension is enabled.

Id

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

The OCID of metric extension.

Remarks

Required

LifecycleState

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

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

Metric Extension Resource name.

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

ResourceUri

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

The URI path that the user can do a GET on to access the metric extension metadata

Status

Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MetricExtensionLifeCycleDetails? Status { get; set; }
Property Value
Type Description
MetricExtensionLifeCycleDetails?

The current state of the metric extension.

Remarks

Required

TimeCreated

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

Metric Extension creation time. An RFC3339 formatted datetime string

TimeUpdated

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

Metric Extension updation time. An RFC3339 formatted datetime string

In this article
Back to top