Class MonitoredInstanceSummary
Summary of the monitored instance.
Inherited Members
Namespace: Oci.AppmgmtcontrolService.Models
Assembly: OCI.DotNetSDK.Appmgmtcontrol.dll
Syntax
public class MonitoredInstanceSummary
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
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(StringEnumConverter))]
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. |
MonitoringState
Declaration
[JsonProperty(PropertyName = "monitoringState")]
[JsonConverter(typeof(StringEnumConverter))]
public MonitoredInstance.MonitoringStateEnum? MonitoringState { get; set; }
Property Value
Type | Description |
---|---|
MonitoredInstance.MonitoringStateEnum? | Monitoring status. Can be either enabled or disabled. |