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.object
BaseEnvironment

Constructor

BaseEnvironment(type: str, resource_id: str | None = None)

Parameters

Name Description
type
Required
str

The type of the base environment.

resource_id
Required
str

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")