Class KubeEnvironmentProperties


  • public final class KubeEnvironmentProperties
    extends Object
    KubeEnvironment resource specific properties.
    • Constructor Detail

      • KubeEnvironmentProperties

        public KubeEnvironmentProperties()
    • Method Detail

      • provisioningState

        public KubeEnvironmentProvisioningState provisioningState()
        Get the provisioningState property: Provisioning state of the Kubernetes Environment.
        Returns:
        the provisioningState value.
      • deploymentErrors

        public String deploymentErrors()
        Get the deploymentErrors property: Any errors that occurred during deployment or deployment validation.
        Returns:
        the deploymentErrors value.
      • internalLoadBalancerEnabled

        public Boolean internalLoadBalancerEnabled()
        Get the internalLoadBalancerEnabled property: Only visible within Vnet/Subnet.
        Returns:
        the internalLoadBalancerEnabled value.
      • withInternalLoadBalancerEnabled

        public KubeEnvironmentProperties withInternalLoadBalancerEnabled​(Boolean internalLoadBalancerEnabled)
        Set the internalLoadBalancerEnabled property: Only visible within Vnet/Subnet.
        Parameters:
        internalLoadBalancerEnabled - the internalLoadBalancerEnabled value to set.
        Returns:
        the KubeEnvironmentProperties object itself.
      • defaultDomain

        public String defaultDomain()
        Get the defaultDomain property: Default Domain Name for the cluster.
        Returns:
        the defaultDomain value.
      • staticIp

        public String staticIp()
        Get the staticIp property: Static IP of the KubeEnvironment.
        Returns:
        the staticIp value.
      • withStaticIp

        public KubeEnvironmentProperties withStaticIp​(String staticIp)
        Set the staticIp property: Static IP of the KubeEnvironment.
        Parameters:
        staticIp - the staticIp value to set.
        Returns:
        the KubeEnvironmentProperties object itself.
      • environmentType

        public String environmentType()
        Get the environmentType property: Type of Kubernetes Environment. Only supported for Container App Environments with value as Managed.
        Returns:
        the environmentType value.
      • withEnvironmentType

        public KubeEnvironmentProperties withEnvironmentType​(String environmentType)
        Set the environmentType property: Type of Kubernetes Environment. Only supported for Container App Environments with value as Managed.
        Parameters:
        environmentType - the environmentType value to set.
        Returns:
        the KubeEnvironmentProperties object itself.
      • arcConfiguration

        public ArcConfiguration arcConfiguration()
        Get the arcConfiguration property: Cluster configuration which determines the ARC cluster components types. Eg: Choosing between BuildService kind, FrontEnd Service ArtifactsStorageType etc.
        Returns:
        the arcConfiguration value.
      • withArcConfiguration

        public KubeEnvironmentProperties withArcConfiguration​(ArcConfiguration arcConfiguration)
        Set the arcConfiguration property: Cluster configuration which determines the ARC cluster components types. Eg: Choosing between BuildService kind, FrontEnd Service ArtifactsStorageType etc.
        Parameters:
        arcConfiguration - the arcConfiguration value to set.
        Returns:
        the KubeEnvironmentProperties object itself.
      • appLogsConfiguration

        public AppLogsConfiguration appLogsConfiguration()
        Get the appLogsConfiguration property: Cluster configuration which enables the log daemon to export app logs to a destination. Currently only "log-analytics" is supported.
        Returns:
        the appLogsConfiguration value.
      • withAppLogsConfiguration

        public KubeEnvironmentProperties withAppLogsConfiguration​(AppLogsConfiguration appLogsConfiguration)
        Set the appLogsConfiguration property: Cluster configuration which enables the log daemon to export app logs to a destination. Currently only "log-analytics" is supported.
        Parameters:
        appLogsConfiguration - the appLogsConfiguration value to set.
        Returns:
        the KubeEnvironmentProperties object itself.
      • containerAppsConfiguration

        public ContainerAppsConfiguration containerAppsConfiguration()
        Get the containerAppsConfiguration property: Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration.
        Returns:
        the containerAppsConfiguration value.
      • withContainerAppsConfiguration

        public KubeEnvironmentProperties withContainerAppsConfiguration​(ContainerAppsConfiguration containerAppsConfiguration)
        Set the containerAppsConfiguration property: Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration.
        Parameters:
        containerAppsConfiguration - the containerAppsConfiguration value to set.
        Returns:
        the KubeEnvironmentProperties object itself.
      • aksResourceId

        public String aksResourceId()
        Get the aksResourceId property: The aksResourceID property.
        Returns:
        the aksResourceId value.
      • withAksResourceId

        public KubeEnvironmentProperties withAksResourceId​(String aksResourceId)
        Set the aksResourceId property: The aksResourceID property.
        Parameters:
        aksResourceId - the aksResourceId value to set.
        Returns:
        the KubeEnvironmentProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.