EnvironmentVersionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearning. models. ResourceBase - com.
azure. resourcemanager. machinelearning. models. AssetBase - com.
azure. resourcemanager. machinelearning. models. EnvironmentVersionProperties
- com.
- com.
- com.
public final class EnvironmentVersionProperties
extends AssetBase
Environment version details.
Constructor Summary
| Constructor | Description |
|---|---|
| EnvironmentVersionProperties() |
Creates an instance of Environment |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Auto |
autoRebuild()
Get the auto |
|
Build |
build()
Get the build property: Configuration settings for Docker build context. |
| String |
condaFile()
Get the conda |
|
Environment |
environmentType()
Get the environment |
|
static
Environment |
fromJson(JsonReader jsonReader)
Reads an instance of Environment |
| String |
image()
Get the image property: Name of the image that will be used for the environment. |
|
Inference |
inferenceConfig()
Get the inference |
|
Operating |
osType()
Get the os |
|
Asset |
provisioningState()
Get the provisioning |
| String |
stage()
Get the stage property: Stage in the environment lifecycle assigned to this environment. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Environment |
withAutoRebuild(AutoRebuildSetting autoRebuild)
Set the auto |
|
Environment |
withBuild(BuildContext build)
Set the build property: Configuration settings for Docker build context. |
|
Environment |
withCondaFile(String condaFile)
Set the conda |
|
Environment |
withDescription(String description)
Set the description property: The asset description text. |
|
Environment |
withImage(String image)
Set the image property: Name of the image that will be used for the environment. |
|
Environment |
withInferenceConfig(InferenceContainerProperties inferenceConfig)
Set the inference |
|
Environment |
withIsAnonymous(Boolean isAnonymous)
Set the is |
|
Environment |
withIsArchived(Boolean isArchived)
Set the is |
|
Environment |
withOsType(OperatingSystemType osType)
Set the os |
|
Environment |
withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary. |
|
Environment |
withStage(String stage)
Set the stage property: Stage in the environment lifecycle assigned to this environment. |
|
Environment |
withTags(Map<String,String> tags)
Set the tags property: Tag dictionary. |
Methods inherited from AssetBase
Methods inherited from ResourceBase
Methods inherited from java.lang.Object
Constructor Details
EnvironmentVersionProperties
public EnvironmentVersionProperties()
Creates an instance of EnvironmentVersionProperties class.
Method Details
autoRebuild
public AutoRebuildSetting autoRebuild()
Get the autoRebuild property: Defines if image needs to be rebuilt based on base image changes.
Returns:
build
public BuildContext build()
Get the build property: Configuration settings for Docker build context.
Returns:
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:
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:
fromJson
public static EnvironmentVersionProperties fromJson(JsonReader jsonReader)
Reads an instance of EnvironmentVersionProperties from the JsonReader.
Parameters:
Returns:
Throws:
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:
inferenceConfig
public InferenceContainerProperties inferenceConfig()
Get the inferenceConfig property: Defines configuration specific to inference.
Returns:
osType
public OperatingSystemType osType()
Get the osType property: The OS type of the environment.
Returns:
provisioningState
public AssetProvisioningState provisioningState()
Get the provisioningState property: Provisioning state for the environment version.
Returns:
stage
public String stage()
Get the stage property: Stage in the environment lifecycle assigned to this environment.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
EnvironmentVersionProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
EnvironmentVersionProperties.validate()withAutoRebuild
public EnvironmentVersionProperties withAutoRebuild(AutoRebuildSetting autoRebuild)
Set the autoRebuild property: Defines if image needs to be rebuilt based on base image changes.
Parameters:
Returns:
withBuild
public EnvironmentVersionProperties withBuild(BuildContext build)
Set the build property: Configuration settings for Docker build context.
Parameters:
Returns:
withCondaFile
public EnvironmentVersionProperties 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:
Returns:
withDescription
public EnvironmentVersionProperties withDescription(String description)
Set the description property: The asset description text.
Overrides:
EnvironmentVersionProperties.withDescription(String description)Parameters:
withImage
public EnvironmentVersionProperties 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:
Returns:
withInferenceConfig
public EnvironmentVersionProperties withInferenceConfig(InferenceContainerProperties inferenceConfig)
Set the inferenceConfig property: Defines configuration specific to inference.
Parameters:
Returns:
withIsAnonymous
public EnvironmentVersionProperties withIsAnonymous(Boolean isAnonymous)
Set the isAnonymous property: If the name version are system generated (anonymous registration).
Overrides:
EnvironmentVersionProperties.withIsAnonymous(Boolean isAnonymous)Parameters:
withIsArchived
public EnvironmentVersionProperties withIsArchived(Boolean isArchived)
Set the isArchived property: Is the asset archived?.
Overrides:
EnvironmentVersionProperties.withIsArchived(Boolean isArchived)Parameters:
withOsType
public EnvironmentVersionProperties withOsType(OperatingSystemType osType)
Set the osType property: The OS type of the environment.
Parameters:
Returns:
withProperties
public EnvironmentVersionProperties withProperties(Map<String,String> properties)
Set the properties property: The asset property dictionary.
Overrides:
EnvironmentVersionProperties.withProperties(Map<String,String> properties)Parameters:
withStage
public EnvironmentVersionProperties withStage(String stage)
Set the stage property: Stage in the environment lifecycle assigned to this environment.
Parameters:
Returns:
withTags
public EnvironmentVersionProperties withTags(Map<String,String> tags)
Set the tags property: Tag dictionary. Tags can be added, removed, and updated.
Overrides:
EnvironmentVersionProperties.withTags(Map<String,String> tags)Parameters: