Project Class
Note
This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.
A Project is a lightweight object for orchestrating AI applications, and is parented by a hub. Unlike a standard workspace, a project does not have a variety of sub-resources directly associated with it. Instead, its parent hub managed these resources, which are then used by the project and its siblings.
As a type of workspace, project management is controlled by an MLClient's workspace operations.
- Inheritance
-
azure.ai.ml.entities._workspace.workspace.WorkspaceProject
Constructor
Project(*, name: str, hub_id: str, description: str | None = None, tags: Dict[str, str] | None = None, display_name: str | None = None, location: str | None = None, resource_group: str | None = None, **kwargs)
Parameters
Name | Description |
---|---|
name
Required
|
The name of the project. |
hub_id
Required
|
The hub parent of the project, as a resource ID. |
description
Required
|
The description of the project. |
tags
Required
|
Tags associated with the project. |
display_name
Required
|
The display name of the project. |
location
Required
|
The location of the project. Must match that of the parent hub and is automatically assigned to match the parent hub's location during creation. |
resource_group
Required
|
The project's resource group name. |
Methods
dump |
Dump the workspace spec into a file in yaml format. |
dump
Dump the workspace spec into a file in yaml format.
dump(dest: str | PathLike | IO, **kwargs: Any) -> None
Parameters
Name | Description |
---|---|
dest
Required
|
The destination to receive this workspace's spec. Must be either a path to a local file, or an already-open file stream. If dest is a file path, a new file will be created, and an exception is raised if the file exists. If dest is an open file, the file will be written to directly, and an exception will be raised if the file is not writable. |
Attributes
base_path
creation_context
The creation context of the resource.
Returns
Type | Description |
---|---|
The creation metadata for the resource. |
discovery_url
Backend service base URLs for the workspace.
Returns
Type | Description |
---|---|
Backend service URLs of the workspace |
hub_id
The UID of the hub parent of the project.
Returns
Type | Description |
---|---|
Resource ID of the parent hub. |
id
The resource ID.
Returns
Type | Description |
---|---|
The global ID of the resource, an Azure Resource Manager (ARM) ID. |
mlflow_tracking_uri
MLflow tracking uri for the workspace.
Returns
Type | Description |
---|---|
Returns mlflow tracking uri of the workspace. |
Azure SDK for Python