Class EnvironmentVersionDetails


  • public final class EnvironmentVersionDetails
    extends AssetBase
    Environment version details.
    • Constructor Detail

      • EnvironmentVersionDetails

        public EnvironmentVersionDetails()
    • Method Detail

      • build

        public BuildContext build()
        Get the build property: Configuration settings for Docker build context.
        Returns:
        the build value.
      • withBuild

        public EnvironmentVersionDetails withBuild​(BuildContext build)
        Set the build property: Configuration settings for Docker build context.
        Parameters:
        build - the build value to set.
        Returns:
        the EnvironmentVersionDetails object itself.
      • condaFile

        public String condaFile()
        Get the condaFile property: Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages. <see href="https://repo2docker.readthedocs.io/en/latest/config_files.html#environment-yml-install-a-conda-environment" />.
        Returns:
        the condaFile value.
      • withCondaFile

        public EnvironmentVersionDetails withCondaFile​(String condaFile)
        Set the condaFile property: Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages. <see href="https://repo2docker.readthedocs.io/en/latest/config_files.html#environment-yml-install-a-conda-environment" />.
        Parameters:
        condaFile - the condaFile value to set.
        Returns:
        the EnvironmentVersionDetails object itself.
      • environmentType

        public EnvironmentType environmentType()
        Get the environmentType property: Environment type is either user managed or curated by the Azure ML service <see href="https://docs.microsoft.com/en-us/azure/machine-learning/resource-curated-environments" />.
        Returns:
        the environmentType value.
      • image

        public String image()
        Get the image property: Name of the image that will be used for the environment. <seealso href="https://docs.microsoft.com/en-us/azure/machine-learning" + "/how-to-deploy-custom-docker-image#use-a-custom-base-image" />.
        Returns:
        the image value.
      • withImage

        public EnvironmentVersionDetails withImage​(String image)
        Set the image property: Name of the image that will be used for the environment. <seealso href="https://docs.microsoft.com/en-us/azure/machine-learning" + "/how-to-deploy-custom-docker-image#use-a-custom-base-image" />.
        Parameters:
        image - the image value to set.
        Returns:
        the EnvironmentVersionDetails object itself.
      • inferenceConfig

        public InferenceContainerProperties inferenceConfig()
        Get the inferenceConfig property: Defines configuration specific to inference.
        Returns:
        the inferenceConfig value.
      • withInferenceConfig

        public EnvironmentVersionDetails withInferenceConfig​(InferenceContainerProperties inferenceConfig)
        Set the inferenceConfig property: Defines configuration specific to inference.
        Parameters:
        inferenceConfig - the inferenceConfig value to set.
        Returns:
        the EnvironmentVersionDetails object itself.
      • osType

        public OperatingSystemType osType()
        Get the osType property: The OS type of the environment.
        Returns:
        the osType value.
      • withOsType

        public EnvironmentVersionDetails withOsType​(OperatingSystemType osType)
        Set the osType property: The OS type of the environment.
        Parameters:
        osType - the osType value to set.
        Returns:
        the EnvironmentVersionDetails object itself.
      • withIsAnonymous

        public EnvironmentVersionDetails withIsAnonymous​(Boolean isAnonymous)
        Set the isAnonymous property: If the name version are system generated (anonymous registration).
        Overrides:
        withIsAnonymous in class AssetBase
        Parameters:
        isAnonymous - the isAnonymous value to set.
        Returns:
        the AssetBase object itself.
      • withIsArchived

        public EnvironmentVersionDetails withIsArchived​(Boolean isArchived)
        Set the isArchived property: Is the asset archived?.
        Overrides:
        withIsArchived in class AssetBase
        Parameters:
        isArchived - the isArchived value to set.
        Returns:
        the AssetBase object itself.
      • withDescription

        public EnvironmentVersionDetails withDescription​(String description)
        Set the description property: The asset description text.
        Overrides:
        withDescription in class AssetBase
        Parameters:
        description - the description value to set.
        Returns:
        the ResourceBase object itself.
      • withTags

        public EnvironmentVersionDetails withTags​(Map<String,​String> tags)
        Set the tags property: Tag dictionary. Tags can be added, removed, and updated.
        Overrides:
        withTags in class AssetBase
        Parameters:
        tags - the tags value to set.
        Returns:
        the ResourceBase object itself.