MonitoredResourceInner Class
- java.
lang. Object - com.
azure. resourcemanager. datadog. fluent. models. MonitoredResourceInner
- com.
public final class MonitoredResourceInner
The properties of a resource currently being monitored by the Datadog monitor resource.
Constructor Summary
Constructor | Description |
---|---|
MonitoredResourceInner() |
Creates an instance of Monitored |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
id()
Get the id property: The ARM id of the resource. |
String |
reasonForLogsStatus()
Get the reason |
String |
reasonForMetricsStatus()
Get the reason |
Boolean |
sendingLogs()
Get the sending |
Boolean |
sendingMetrics()
Get the sending |
void |
validate()
Validates the instance. |
Monitored |
withId(String id)
Set the id property: The ARM id of the resource. |
Monitored |
withReasonForLogsStatus(String reasonForLogsStatus)
Set the reason |
Monitored |
withReasonForMetricsStatus(String reasonForMetricsStatus)
Set the reason |
Monitored |
withSendingLogs(Boolean sendingLogs)
Set the sending |
Monitored |
withSendingMetrics(Boolean sendingMetrics)
Set the sending |
Methods inherited from java.lang.Object
Constructor Details
MonitoredResourceInner
public MonitoredResourceInner()
Creates an instance of MonitoredResourceInner class.
Method Details
id
public String id()
Get the id property: The ARM id of the resource.
Returns:
reasonForLogsStatus
public String reasonForLogsStatus()
Get the reasonForLogsStatus property: Reason for why the resource is sending logs (or why it is not sending).
Returns:
reasonForMetricsStatus
public String reasonForMetricsStatus()
Get the reasonForMetricsStatus property: Reason for why the resource is sending metrics (or why it is not sending).
Returns:
sendingLogs
public Boolean sendingLogs()
Get the sendingLogs property: Flag indicating if resource is sending logs to Datadog.
Returns:
sendingMetrics
public Boolean sendingMetrics()
Get the sendingMetrics property: Flag indicating if resource is sending metrics to Datadog.
Returns:
validate
public void validate()
Validates the instance.
withId
public MonitoredResourceInner withId(String id)
Set the id property: The ARM id of the resource.
Parameters:
Returns:
withReasonForLogsStatus
public MonitoredResourceInner withReasonForLogsStatus(String reasonForLogsStatus)
Set the reasonForLogsStatus property: Reason for why the resource is sending logs (or why it is not sending).
Parameters:
Returns:
withReasonForMetricsStatus
public MonitoredResourceInner withReasonForMetricsStatus(String reasonForMetricsStatus)
Set the reasonForMetricsStatus property: Reason for why the resource is sending metrics (or why it is not sending).
Parameters:
Returns:
withSendingLogs
public MonitoredResourceInner withSendingLogs(Boolean sendingLogs)
Set the sendingLogs property: Flag indicating if resource is sending logs to Datadog.
Parameters:
Returns:
withSendingMetrics
public MonitoredResourceInner withSendingMetrics(Boolean sendingMetrics)
Set the sendingMetrics property: Flag indicating if resource is sending metrics to Datadog.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for