MonitoringTarget Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. MonitoringTarget
- com.
Implements
public final class MonitoringTarget
implements JsonSerializable<MonitoringTarget>
Monitoring target definition.
Constructor Summary
| Constructor | Description |
|---|---|
| MonitoringTarget() |
Creates an instance of Monitoring |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
deploymentId()
Get the deployment |
|
static
Monitoring |
fromJson(JsonReader jsonReader)
Reads an instance of Monitoring |
| String |
modelId()
Get the model |
|
Model |
taskType()
Get the task |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Monitoring |
withDeploymentId(String deploymentId)
Set the deployment |
|
Monitoring |
withModelId(String modelId)
Set the model |
|
Monitoring |
withTaskType(ModelTaskType taskType)
Set the task |
Methods inherited from java.lang.Object
Constructor Details
MonitoringTarget
public MonitoringTarget()
Creates an instance of MonitoringTarget class.
Method Details
deploymentId
public String deploymentId()
Get the deploymentId property: Reference to the deployment asset targeted by this monitor.
Returns:
fromJson
public static MonitoringTarget fromJson(JsonReader jsonReader)
Reads an instance of MonitoringTarget from the JsonReader.
Parameters:
Returns:
Throws:
modelId
public String modelId()
Get the modelId property: Reference to the model asset targeted by this monitor.
Returns:
taskType
public ModelTaskType taskType()
Get the taskType property: [Required] The machine learning task type of the monitored model.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDeploymentId
public MonitoringTarget withDeploymentId(String deploymentId)
Set the deploymentId property: Reference to the deployment asset targeted by this monitor.
Parameters:
Returns:
withModelId
public MonitoringTarget withModelId(String modelId)
Set the modelId property: Reference to the model asset targeted by this monitor.
Parameters:
Returns:
withTaskType
public MonitoringTarget withTaskType(ModelTaskType taskType)
Set the taskType property: [Required] The machine learning task type of the monitored model.
Parameters:
Returns: