Megosztás a következőn keresztül:


ArmDynatraceModelFactory.DynatraceMonitoredResourceDetails Method

Definition

Initializes a new instance of DynatraceMonitoredResourceDetails.

public static Azure.ResourceManager.Dynatrace.Models.DynatraceMonitoredResourceDetails DynatraceMonitoredResourceDetails (Azure.Core.ResourceIdentifier id = default, Azure.ResourceManager.Dynatrace.Models.MetricsSendingStatus? sendingMetricsStatus = default, string reasonForMetricsStatus = default, Azure.ResourceManager.Dynatrace.Models.LogsSendingStatus? sendingLogsStatus = default, string reasonForLogsStatus = default);
static member DynatraceMonitoredResourceDetails : Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Dynatrace.Models.MetricsSendingStatus> * string * Nullable<Azure.ResourceManager.Dynatrace.Models.LogsSendingStatus> * string -> Azure.ResourceManager.Dynatrace.Models.DynatraceMonitoredResourceDetails
Public Shared Function DynatraceMonitoredResourceDetails (Optional id As ResourceIdentifier = Nothing, Optional sendingMetricsStatus As Nullable(Of MetricsSendingStatus) = Nothing, Optional reasonForMetricsStatus As String = Nothing, Optional sendingLogsStatus As Nullable(Of LogsSendingStatus) = Nothing, Optional reasonForLogsStatus As String = Nothing) As DynatraceMonitoredResourceDetails

Parameters

id
ResourceIdentifier

The ARM id of the resource.

sendingMetricsStatus
Nullable<MetricsSendingStatus>

Flag indicating if resource is sending metrics to Dynatrace.

reasonForMetricsStatus
String

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

sendingLogsStatus
Nullable<LogsSendingStatus>

Flag indicating if resource is sending logs to Dynatrace.

reasonForLogsStatus
String

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

Returns

A new DynatraceMonitoredResourceDetails instance for mocking.

Applies to