다음을 통해 공유


CustomMonitoringSignal Constructors

Definition

Overloads

CustomMonitoringSignal(String, IEnumerable<CustomMetricThreshold>)

Initializes a new instance of CustomMonitoringSignal.

CustomMonitoringSignal(String, IEnumerable<CustomMetricThreshold>, MonitoringWorkspaceConnection)

Initializes a new instance of CustomMonitoringSignal.

CustomMonitoringSignal(String, IEnumerable<CustomMetricThreshold>)

Source:
CustomMonitoringSignal.cs

Initializes a new instance of CustomMonitoringSignal.

public CustomMonitoringSignal (string componentId, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MachineLearning.Models.CustomMetricThreshold> metricThresholds);
new Azure.ResourceManager.MachineLearning.Models.CustomMonitoringSignal : string * seq<Azure.ResourceManager.MachineLearning.Models.CustomMetricThreshold> -> Azure.ResourceManager.MachineLearning.Models.CustomMonitoringSignal
Public Sub New (componentId As String, metricThresholds As IEnumerable(Of CustomMetricThreshold))

Parameters

componentId
String

[Required] Reference to the component asset used to calculate the custom metrics.

metricThresholds
IEnumerable<CustomMetricThreshold>

[Required] A list of metrics to calculate and their associated thresholds.

Exceptions

componentId or metricThresholds is null.

Applies to

CustomMonitoringSignal(String, IEnumerable<CustomMetricThreshold>, MonitoringWorkspaceConnection)

Source:
CustomMonitoringSignal.cs

Initializes a new instance of CustomMonitoringSignal.

public CustomMonitoringSignal (string componentId, System.Collections.Generic.IEnumerable<Azure.ResourceManager.MachineLearning.Models.CustomMetricThreshold> metricThresholds, Azure.ResourceManager.MachineLearning.Models.MonitoringWorkspaceConnection workspaceConnection);
new Azure.ResourceManager.MachineLearning.Models.CustomMonitoringSignal : string * seq<Azure.ResourceManager.MachineLearning.Models.CustomMetricThreshold> * Azure.ResourceManager.MachineLearning.Models.MonitoringWorkspaceConnection -> Azure.ResourceManager.MachineLearning.Models.CustomMonitoringSignal
Public Sub New (componentId As String, metricThresholds As IEnumerable(Of CustomMetricThreshold), workspaceConnection As MonitoringWorkspaceConnection)

Parameters

componentId
String

[Required] ARM resource ID of the component resource used to calculate the custom metrics.

metricThresholds
IEnumerable<CustomMetricThreshold>

[Required] A list of metrics to calculate and their associated thresholds.

workspaceConnection
MonitoringWorkspaceConnection

[Required] A list of metrics to calculate and their associated thresholds.

Exceptions

componentId, metricThresholds or workspaceConnection is null.

Applies to