共用方式為


ArmDatadogModelFactory.MonitoredResourceContent Method

Definition

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.

sendingMetrics
Nullable<Boolean>

Flag indicating if resource is sending metrics to Datadog.

reasonForMetricsStatus
String

Reason for why the resource is sending metrics (or why it is not sending).

sendingLogs
Nullable<Boolean>

Flag indicating if resource is sending logs to Datadog.

reasonForLogsStatus
String

Reason for why the resource is sending logs (or why it is not sending).

Returns

A new MonitoredResourceContent instance for mocking.

Applies to