ManagedOnlineDeployment Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. EndpointDeploymentPropertiesBase - com.
azure. resourcemanager. machinelearning. models. OnlineDeploymentProperties - com.
azure. resourcemanager. machinelearning. models. ManagedOnlineDeployment
- com.
- com.
- com.
public final class ManagedOnlineDeployment
extends OnlineDeploymentProperties
Properties specific to a ManagedOnlineDeployment.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedOnlineDeployment() |
Creates an instance of Managed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Endpoint |
endpointComputeType()
Get the endpoint |
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
|
Deployment |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Managed |
withAppInsightsEnabled(Boolean appInsightsEnabled)
Set the app |
|
Managed |
withCodeConfiguration(CodeConfiguration codeConfiguration)
Set the code |
|
Managed |
withDataCollector(DataCollector dataCollector)
Set the data |
|
Managed |
withDescription(String description)
Set the description property: Description of the endpoint deployment. |
|
Managed |
withEgressPublicNetworkAccess(EgressPublicNetworkAccessType egressPublicNetworkAccess)
Set the egress |
|
Managed |
withEnvironmentId(String environmentId)
Set the environment |
|
Managed |
withEnvironmentVariables(Map<String,String> environmentVariables)
Set the environment |
|
Managed |
withInstanceType(String instanceType)
Set the instance |
|
Managed |
withLivenessProbe(ProbeSettings livenessProbe)
Set the liveness |
|
Managed |
withModel(String model)
Set the model property: The URI path to the model. |
|
Managed |
withModelMountPath(String modelMountPath)
Set the model |
|
Managed |
withProperties(Map<String,String> properties)
Set the properties property: Property dictionary. |
|
Managed |
withReadinessProbe(ProbeSettings readinessProbe)
Set the readiness |
|
Managed |
withRequestSettings(OnlineRequestSettings requestSettings)
Set the request |
|
Managed |
withScaleSettings(OnlineScaleSettings scaleSettings)
Set the scale |
Methods inherited from EndpointDeploymentPropertiesBase
Methods inherited from OnlineDeploymentProperties
Methods inherited from java.lang.Object
Constructor Details
ManagedOnlineDeployment
public ManagedOnlineDeployment()
Creates an instance of ManagedOnlineDeployment class.
Method Details
endpointComputeType
public EndpointComputeType endpointComputeType()
Get the endpointComputeType property: [Required] The compute type of the endpoint.
Overrides:
ManagedOnlineDeployment.endpointComputeType()Returns:
fromJson
public static ManagedOnlineDeployment fromJson(JsonReader jsonReader)
Reads an instance of ManagedOnlineDeployment from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public DeploymentProvisioningState provisioningState()
Get the provisioningState property: Provisioning state for the endpoint deployment.
Overrides:
ManagedOnlineDeployment.provisioningState()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ManagedOnlineDeployment.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
ManagedOnlineDeployment.validate()withAppInsightsEnabled
public ManagedOnlineDeployment withAppInsightsEnabled(Boolean appInsightsEnabled)
Set the appInsightsEnabled property: If true, enables Application Insights logging.
Overrides:
ManagedOnlineDeployment.withAppInsightsEnabled(Boolean appInsightsEnabled)Parameters:
withCodeConfiguration
public ManagedOnlineDeployment withCodeConfiguration(CodeConfiguration codeConfiguration)
Set the codeConfiguration property: Code configuration for the endpoint deployment.
Overrides:
ManagedOnlineDeployment.withCodeConfiguration(CodeConfiguration codeConfiguration)Parameters:
withDataCollector
public ManagedOnlineDeployment withDataCollector(DataCollector dataCollector)
Set the dataCollector property: The mdc configuration, we disable mdc when it's null.
Overrides:
ManagedOnlineDeployment.withDataCollector(DataCollector dataCollector)Parameters:
withDescription
public ManagedOnlineDeployment withDescription(String description)
Set the description property: Description of the endpoint deployment.
Overrides:
ManagedOnlineDeployment.withDescription(String description)Parameters:
withEgressPublicNetworkAccess
public ManagedOnlineDeployment withEgressPublicNetworkAccess(EgressPublicNetworkAccessType egressPublicNetworkAccess)
Set the egressPublicNetworkAccess property: If Enabled, allow egress public network access. If Disabled, this will create secure egress. Default: Enabled.
Overrides:
ManagedOnlineDeployment.withEgressPublicNetworkAccess(EgressPublicNetworkAccessType egressPublicNetworkAccess)Parameters:
withEnvironmentId
public ManagedOnlineDeployment withEnvironmentId(String environmentId)
Set the environmentId property: ARM resource ID or AssetId of the environment specification for the endpoint deployment.
Overrides:
ManagedOnlineDeployment.withEnvironmentId(String environmentId)Parameters:
withEnvironmentVariables
public ManagedOnlineDeployment withEnvironmentVariables(Map<String,String> environmentVariables)
Set the environmentVariables property: Environment variables configuration for the deployment.
Overrides:
ManagedOnlineDeployment.withEnvironmentVariables(Map<String,String> environmentVariables)Parameters:
withInstanceType
public ManagedOnlineDeployment withInstanceType(String instanceType)
Set the instanceType property: Compute instance type.
Overrides:
ManagedOnlineDeployment.withInstanceType(String instanceType)Parameters:
withLivenessProbe
public ManagedOnlineDeployment withLivenessProbe(ProbeSettings livenessProbe)
Set the livenessProbe property: Liveness probe monitors the health of the container regularly.
Overrides:
ManagedOnlineDeployment.withLivenessProbe(ProbeSettings livenessProbe)Parameters:
withModel
public ManagedOnlineDeployment withModel(String model)
Set the model property: The URI path to the model.
Overrides:
ManagedOnlineDeployment.withModel(String model)Parameters:
withModelMountPath
public ManagedOnlineDeployment withModelMountPath(String modelMountPath)
Set the modelMountPath property: The path to mount the model in custom container.
Overrides:
ManagedOnlineDeployment.withModelMountPath(String modelMountPath)Parameters:
withProperties
public ManagedOnlineDeployment withProperties(Map<String,String> properties)
Set the properties property: Property dictionary. Properties can be added, but not removed or altered.
Overrides:
ManagedOnlineDeployment.withProperties(Map<String,String> properties)Parameters:
withReadinessProbe
public ManagedOnlineDeployment withReadinessProbe(ProbeSettings readinessProbe)
Set the readinessProbe property: Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.
Overrides:
ManagedOnlineDeployment.withReadinessProbe(ProbeSettings readinessProbe)Parameters:
withRequestSettings
public ManagedOnlineDeployment withRequestSettings(OnlineRequestSettings requestSettings)
Set the requestSettings property: Request settings for the deployment.
Overrides:
ManagedOnlineDeployment.withRequestSettings(OnlineRequestSettings requestSettings)Parameters:
withScaleSettings
public ManagedOnlineDeployment withScaleSettings(OnlineScaleSettings scaleSettings)
Set the scaleSettings property: Scale settings for the deployment. If it is null or not provided, it defaults to TargetUtilizationScaleSettings for KubernetesOnlineDeployment and to DefaultScaleSettings for ManagedOnlineDeployment.
Overrides:
ManagedOnlineDeployment.withScaleSettings(OnlineScaleSettings scaleSettings)Parameters: