ArmIotOperationsModelFactory.BrokerDiagnostics 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.
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'.
- selfCheck
- BrokerDiagnosticSelfCheck
The self check properties.
- traces
- BrokerDiagnosticTraces
The trace properties.
Returns
A new BrokerDiagnostics instance for mocking.