BaseEnvironment Class
Note
This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.
Base environment type.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
builtins.objectBaseEnvironment
Constructor
BaseEnvironment(type: str, resource_id: str | None = None)
Parameters
Name | Description |
---|---|
type
Required
|
The type of the base environment. |
resource_id
Required
|
The resource id of the base environment. e.g. azureml:name:version |
Examples
Create a Base Environment object.
from azure.ai.ml.entities._assets._artifacts._package.base_environment_source import BaseEnvironment
base_environment = BaseEnvironment(type="base-env-type", resource_id="base-env-resource-id")
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python