Show / Hide Table of Contents

Class UpdateAgentReceiverTaskDetails

Request details for enabling/disabling the metric receiver on the management agent.

Inheritance
object
MonitoredResourceTaskDetails
UpdateAgentReceiverTaskDetails
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 UpdateAgentReceiverTaskDetails : MonitoredResourceTaskDetails

Properties

AgentId

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

Management Agent Identifier OCID.

Remarks

Required

HandlerType

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

Type of the handler.

Remarks

Required

IsEnable

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

True to enable the receiver and false to disable the receiver on the agent.

Remarks

Required

ReceiverProperties

Declaration
[JsonProperty(PropertyName = "receiverProperties")]
public AgentReceiverProperties ReceiverProperties { get; set; }
Property Value
Type Description
AgentReceiverProperties
In this article
Back to top