Class UpdateAgentReceiverTaskDetails
Request details for enabling/disabling the metric receiver on the management agent.
Inherited Members
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 |