Show / Hide Table of Contents

Class MonitoredInstance

Description of Monitored Instance.

Inheritance
object
MonitoredInstance
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.AppmgmtcontrolService.Models
Assembly: OCI.DotNetSDK.Appmgmtcontrol.dll
Syntax
public class MonitoredInstance

Properties

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

DisplayName

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

A user-friendly name of the monitored instance. It is binded to Compute Instance. DisplayName is fetched from Core Service API.

InstanceId

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

The OCID of monitored instance.

Remarks

Required

LifecycleDetails

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

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

LifecycleState

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

The current state of the monitored instance.

ManagementAgentId

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

Management Agent Identifier OCID. Used to invoke manage operations on Management Agent Cloud Service.

MonitoringState

Declaration
[JsonProperty(PropertyName = "monitoringState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MonitoredInstance.MonitoringStateEnum? MonitoringState { get; set; }
Property Value
Type Description
MonitoredInstance.MonitoringStateEnum?

Monitoring status. Can be either enabled or disabled.

TimeCreated

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

The time the MonitoredInstance was created. An RFC3339 formatted datetime string

TimeUpdated

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

The time the MonitoredInstance was updated. An RFC3339 formatted datetime string

In this article
Back to top