ArmDatadogModelFactory.MonitoredResourceContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of MonitoredResourceContent.
public static Azure.ResourceManager.Datadog.Models.MonitoredResourceContent MonitoredResourceContent (string id = default, bool? sendingMetrics = default, string reasonForMetricsStatus = default, bool? sendingLogs = default, string reasonForLogsStatus = default);
static member MonitoredResourceContent : string * Nullable<bool> * string * Nullable<bool> * string -> Azure.ResourceManager.Datadog.Models.MonitoredResourceContent
Public Shared Function MonitoredResourceContent (Optional id As String = Nothing, Optional sendingMetrics As Nullable(Of Boolean) = Nothing, Optional reasonForMetricsStatus As String = Nothing, Optional sendingLogs As Nullable(Of Boolean) = Nothing, Optional reasonForLogsStatus As String = Nothing) As MonitoredResourceContent
Parameters
- id
- String
The ARM id of the resource.
- reasonForMetricsStatus
- String
Reason for why the resource is sending metrics (or why it is not sending).
- reasonForLogsStatus
- String
Reason for why the resource is sending logs (or why it is not sending).
Returns
A new MonitoredResourceContent instance for mocking.