Class KubernetesOnlineDeployment


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

      • KubernetesOnlineDeployment

        public KubernetesOnlineDeployment()
    • Method Detail

      • containerResourceRequirements

        public ContainerResourceRequirements containerResourceRequirements()
        Get the containerResourceRequirements property: The resource requirements for the container (cpu and memory).
        Returns:
        the containerResourceRequirements value.
      • withContainerResourceRequirements

        public KubernetesOnlineDeployment withContainerResourceRequirements​(ContainerResourceRequirements containerResourceRequirements)
        Set the containerResourceRequirements property: The resource requirements for the container (cpu and memory).
        Parameters:
        containerResourceRequirements - the containerResourceRequirements value to set.
        Returns:
        the KubernetesOnlineDeployment object itself.
      • withAppInsightsEnabled

        public KubernetesOnlineDeployment 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.
      • withPrivateNetworkConnection

        public KubernetesOnlineDeployment 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 KubernetesOnlineDeployment 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 KubernetesOnlineDeployment 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.
      • withEnvironmentId

        public KubernetesOnlineDeployment 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.