Show / Hide Table of Contents

Class MonitoringTemplateSummary

Summary information about Monitoring Template.

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

Properties

CompartmentId

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

The OCID of the compartment containing the monitoringTemplate.

Remarks

Required

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"}}

Description

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

A user-friendly description for the monitoring template

Destinations

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

A list of destinations for alarm notifications. Each destination is represented by the OCID of a related resource

Remarks

Required

DisplayName

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

A user-friendly name for the monitoring template.

Remarks

Required

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

The OCID of the monitoringTemplate

Remarks

Required

LifecycleState

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

The current lifecycle state of the monitoring template

Remarks

Required

Members

Declaration
[JsonProperty(PropertyName = "members")]
public List<MemberReference> Members { get; set; }
Property Value
Type Description
List<MemberReference>

List of members of this monitoring template

Status

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

The current status of the monitoring template i.e. whether it is Applied or Not Applied

Remarks

Required

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"}}

TenantId

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

Tenant Identifier OCID

Remarks

Required

TimeCreated

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

The date and time the monitoringTemplate was created. Format defined by RFC3339.

Remarks

Required

TimeUpdated

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

The date and time the monitoringTemplate was last updated. Format defined by RFC3339.

Remarks

Required

TotalAlarmConditions

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

Total Alarm Conditions

Remarks

Required

TotalAppliedAlarmConditions

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

Total Applied Alarm Conditions

Remarks

Required

In this article
Back to top