InferenceContainerProperties Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. InferenceContainerProperties
- com.
Implements
public final class InferenceContainerProperties
implements JsonSerializable<InferenceContainerProperties>
The InferenceContainerProperties model.
Constructor Summary
| Constructor | Description |
|---|---|
| InferenceContainerProperties() |
Creates an instance of Inference |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Inference |
fromJson(JsonReader jsonReader)
Reads an instance of Inference |
| Route |
livenessRoute()
Get the liveness |
| Route |
readinessRoute()
Get the readiness |
| Route |
scoringRoute()
Get the scoring |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Inference |
withLivenessRoute(Route livenessRoute)
Set the liveness |
|
Inference |
withReadinessRoute(Route readinessRoute)
Set the readiness |
|
Inference |
withScoringRoute(Route scoringRoute)
Set the scoring |
Methods inherited from java.lang.Object
Constructor Details
InferenceContainerProperties
public InferenceContainerProperties()
Creates an instance of InferenceContainerProperties class.
Method Details
fromJson
public static InferenceContainerProperties fromJson(JsonReader jsonReader)
Reads an instance of InferenceContainerProperties from the JsonReader.
Parameters:
Returns:
Throws:
livenessRoute
public Route livenessRoute()
Get the livenessRoute property: The route to check the liveness of the inference server container.
Returns:
readinessRoute
public Route readinessRoute()
Get the readinessRoute property: The route to check the readiness of the inference server container.
Returns:
scoringRoute
public Route scoringRoute()
Get the scoringRoute property: The port to send the scoring requests to, within the inference server container.
Returns:
toJson
validate
public void validate()
Validates the instance.
withLivenessRoute
public InferenceContainerProperties withLivenessRoute(Route livenessRoute)
Set the livenessRoute property: The route to check the liveness of the inference server container.
Parameters:
Returns:
withReadinessRoute
public InferenceContainerProperties withReadinessRoute(Route readinessRoute)
Set the readinessRoute property: The route to check the readiness of the inference server container.
Parameters:
Returns:
withScoringRoute
public InferenceContainerProperties withScoringRoute(Route scoringRoute)
Set the scoringRoute property: The port to send the scoring requests to, within the inference server container.
Parameters:
Returns: