Show / Hide Table of Contents

Class UpdateMonitoringTemplateDetails

The information about updating a monitoring template. The monitoring template displayName should be unique in a compartment.

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

Properties

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. It does not have to be unique, and it's changeable.

Destinations

Declaration
[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

DisplayName

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

A user-friendly name for the monitoring template. It is unique and mutable in nature.

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

IsAlarmsEnabled

Declaration
[JsonProperty(PropertyName = "isAlarmsEnabled")]
public bool? IsAlarmsEnabled { get; set; }
Property Value
Type Description
bool?

User can create the out of box alarm only for multiple resourceTypes not for individual resource instances and groups for specified compartment.

IsSplitNotificationEnabled

Declaration
[JsonProperty(PropertyName = "isSplitNotificationEnabled")]
public bool? IsSplitNotificationEnabled { get; set; }
Property Value
Type Description
bool?

Whether the alarm notification is enabled or disabled, it will be Enabled by default.

Members

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

List of members of this monitoring template.

MessageFormat

Declaration
[JsonProperty(PropertyName = "messageFormat")]
[JsonConverter(typeof(StringEnumConverter))]
public MessageFormat? MessageFormat { get; set; }
Property Value
Type Description
MessageFormat?

The format to use for alarm notifications.

RepeatNotificationDuration

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

The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, PT4H indicates four hours. Minimum- PT1M. Maximum - P30D.

In this article
Back to top