Class EnvironmentVersionDetails
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.ResourceBase
-
- com.azure.resourcemanager.machinelearning.models.AssetBase
-
- com.azure.resourcemanager.machinelearning.models.EnvironmentVersionDetails
-
public final class EnvironmentVersionDetails extends AssetBase
Environment version details.
-
-
Constructor Summary
Constructors Constructor Description EnvironmentVersionDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildContext
build()
Get the build property: Configuration settings for Docker build context.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.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" />.String
image()
Get the image property: Name of the image that will be used for the environment.InferenceContainerProperties
inferenceConfig()
Get the inferenceConfig property: Defines configuration specific to inference.OperatingSystemType
osType()
Get the osType property: The OS type of the environment.void
validate()
Validates the instance.EnvironmentVersionDetails
withBuild(BuildContext build)
Set the build property: Configuration settings for Docker build context.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.EnvironmentVersionDetails
withDescription(String description)
Set the description property: The asset description text.EnvironmentVersionDetails
withImage(String image)
Set the image property: Name of the image that will be used for the environment.EnvironmentVersionDetails
withInferenceConfig(InferenceContainerProperties inferenceConfig)
Set the inferenceConfig property: Defines configuration specific to inference.EnvironmentVersionDetails
withIsAnonymous(Boolean isAnonymous)
Set the isAnonymous property: If the name version are system generated (anonymous registration).EnvironmentVersionDetails
withIsArchived(Boolean isArchived)
Set the isArchived property: Is the asset archived?.EnvironmentVersionDetails
withOsType(OperatingSystemType osType)
Set the osType property: The OS type of the environment.EnvironmentVersionDetails
withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.EnvironmentVersionDetails
withTags(Map<String,String> tags)
Set the tags property: Tag dictionary.-
Methods inherited from class com.azure.resourcemanager.machinelearning.models.AssetBase
isAnonymous, isArchived
-
Methods inherited from class com.azure.resourcemanager.machinelearning.models.ResourceBase
description, properties, tags
-
-
-
-
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 classAssetBase
- 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 classAssetBase
- 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 classAssetBase
- Parameters:
description
- the description value to set.- Returns:
- the ResourceBase object itself.
-
withProperties
public EnvironmentVersionDetails withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.- Overrides:
withProperties
in classAssetBase
- Parameters:
properties
- the properties 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.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAssetBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-