ArmIotOperationsModelFactory.BrokerDiagnostics Method

Definition

public static Azure.ResourceManager.IotOperations.Models.BrokerDiagnostics BrokerDiagnostics(string logsLevel = default, int? metricsPrometheusPort = default, Azure.ResourceManager.IotOperations.Models.BrokerDiagnosticSelfCheck selfCheck = default, Azure.ResourceManager.IotOperations.Models.BrokerDiagnosticTraces traces = default);
static member BrokerDiagnostics : string * Nullable<int> * Azure.ResourceManager.IotOperations.Models.BrokerDiagnosticSelfCheck * Azure.ResourceManager.IotOperations.Models.BrokerDiagnosticTraces -> Azure.ResourceManager.IotOperations.Models.BrokerDiagnostics
Public Shared Function BrokerDiagnostics (Optional logsLevel As String = Nothing, Optional metricsPrometheusPort As Nullable(Of Integer) = Nothing, Optional selfCheck As BrokerDiagnosticSelfCheck = Nothing, Optional traces As BrokerDiagnosticTraces = Nothing) As BrokerDiagnostics

Parameters

logsLevel
String

The log level. Examples - 'debug', 'info', 'warn', 'error', 'trace'.

metricsPrometheusPort
Nullable<Int32>

The prometheus port to expose the metrics.

selfCheck
BrokerDiagnosticSelfCheck

The self check properties.

traces
BrokerDiagnosticTraces

The trace properties.

Returns

A new BrokerDiagnostics instance for mocking.

Applies to