azure_ml_sdk.services.connection.workspace

Classes

WorkspaceLoader

Class for handling workspaces Azure Machine Learning.

Module Contents

class azure_ml_sdk.services.connection.workspace.WorkspaceLoader(mlclient: azure.ai.ml.MLClient)

Class for handling workspaces Azure Machine Learning.

ml_client
get_ws(workspace_name: str) azure.ai.ml.entities.Workspace | None

Get a workspace details.

Parameters:

workspace_name (str) – Name of the workspace.

Returns:

The workspace details.

Return type:

ws (Workspace)

list_workspaces() list[str]

Get a list of all workspaces in the resource group.

Returns:

A list of the names of all workspaces.