ArmDynatraceModelFactory.DynatraceMonitoredResourceDetails 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 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
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
Azure SDK for .NET