Class ManagedOnlineDeployment


  • public final class ManagedOnlineDeployment
    extends OnlineDeploymentDetails
    Properties specific to a ManagedOnlineDeployment.
    • Constructor Detail

      • ManagedOnlineDeployment

        public ManagedOnlineDeployment()
    • Method Detail

      • withAppInsightsEnabled

        public ManagedOnlineDeployment withAppInsightsEnabled​(Boolean appInsightsEnabled)
        Set the appInsightsEnabled property: If true, enables Application Insights logging.
        Overrides:
        withAppInsightsEnabled in class OnlineDeploymentDetails
        Parameters:
        appInsightsEnabled - the appInsightsEnabled value to set.
        Returns:
        the OnlineDeploymentDetails object itself.
      • 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:
        withEgressPublicNetworkAccess in class OnlineDeploymentDetails
        Parameters:
        egressPublicNetworkAccess - the egressPublicNetworkAccess value to set.
        Returns:
        the OnlineDeploymentDetails object itself.
      • withModelMountPath

        public ManagedOnlineDeployment withModelMountPath​(String modelMountPath)
        Set the modelMountPath property: The path to mount the model in custom container.
        Overrides:
        withModelMountPath in class OnlineDeploymentDetails
        Parameters:
        modelMountPath - the modelMountPath value to set.
        Returns:
        the OnlineDeploymentDetails object itself.
      • withPrivateNetworkConnection

        public ManagedOnlineDeployment withPrivateNetworkConnection​(Boolean privateNetworkConnection)
        Set the privateNetworkConnection property: If true, enable private network connection. DEPRECATED for future API versions. Use EgressPublicNetworkAccess.
        Overrides:
        withPrivateNetworkConnection in class OnlineDeploymentDetails
        Parameters:
        privateNetworkConnection - the privateNetworkConnection value to set.
        Returns:
        the OnlineDeploymentDetails object itself.
      • 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:
        withReadinessProbe in class OnlineDeploymentDetails
        Parameters:
        readinessProbe - the readinessProbe value to set.
        Returns:
        the OnlineDeploymentDetails object itself.
      • 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:
        withScaleSettings in class OnlineDeploymentDetails
        Parameters:
        scaleSettings - the scaleSettings value to set.
        Returns:
        the OnlineDeploymentDetails object itself.
      • withDescription

        public ManagedOnlineDeployment withDescription​(String description)
        Set the description property: Description of the endpoint deployment.
        Overrides:
        withDescription in class OnlineDeploymentDetails
        Parameters:
        description - the description value to set.
        Returns:
        the EndpointDeploymentPropertiesBase object itself.
      • withEnvironmentId

        public ManagedOnlineDeployment withEnvironmentId​(String environmentId)
        Set the environmentId property: ARM resource ID of the environment specification for the endpoint deployment.
        Overrides:
        withEnvironmentId in class OnlineDeploymentDetails
        Parameters:
        environmentId - the environmentId value to set.
        Returns:
        the EndpointDeploymentPropertiesBase object itself.
      • withEnvironmentVariables

        public ManagedOnlineDeployment withEnvironmentVariables​(Map<String,​String> environmentVariables)
        Set the environmentVariables property: Environment variables configuration for the deployment.
        Overrides:
        withEnvironmentVariables in class OnlineDeploymentDetails
        Parameters:
        environmentVariables - the environmentVariables value to set.
        Returns:
        the EndpointDeploymentPropertiesBase object itself.
      • withProperties

        public ManagedOnlineDeployment withProperties​(Map<String,​String> properties)
        Set the properties property: Property dictionary. Properties can be added, but not removed or altered.
        Overrides:
        withProperties in class OnlineDeploymentDetails
        Parameters:
        properties - the properties value to set.
        Returns:
        the EndpointDeploymentPropertiesBase object itself.