ArmMonitorModelFactory.MonitorWorkspaceMetrics(String, String) 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 MonitorWorkspaceMetrics.
public static Azure.ResourceManager.Monitor.Models.MonitorWorkspaceMetrics MonitorWorkspaceMetrics(string prometheusQueryEndpoint = default, string internalId = default);
static member MonitorWorkspaceMetrics : string * string -> Azure.ResourceManager.Monitor.Models.MonitorWorkspaceMetrics
Public Shared Function MonitorWorkspaceMetrics (Optional prometheusQueryEndpoint As String = Nothing, Optional internalId As String = Nothing) As MonitorWorkspaceMetrics
Parameters
- prometheusQueryEndpoint
- String
The Prometheus query endpoint for the workspace.
- internalId
- String
An internal identifier for the metrics container. Only to be used by the system.
Returns
A new MonitorWorkspaceMetrics instance for mocking.