Workspaces Interface

public interface Workspaces

Resource collection API of Workspaces.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new Workspace resource.

abstract void delete(String resourceGroupName, String workspaceName, Context context)

Deletes a machine learning workspace.

abstract void deleteById(String id)

Deletes a machine learning workspace.

abstract void deleteByIdWithResponse(String id, Context context)

Deletes a machine learning workspace.

abstract void deleteByResourceGroup(String resourceGroupName, String workspaceName)

Deletes a machine learning workspace.

abstract Workspace getById(String id)

Gets the properties of the specified machine learning workspace.

abstract Response<Workspace> getByIdWithResponse(String id, Context context)

Gets the properties of the specified machine learning workspace.

abstract Workspace getByResourceGroup(String resourceGroupName, String workspaceName)

Gets the properties of the specified machine learning workspace.

abstract Response<Workspace> getByResourceGroupWithResponse(String resourceGroupName, String workspaceName, Context context)

Gets the properties of the specified machine learning workspace.

abstract PagedIterable<Workspace> list()

Lists all the available machine learning workspaces under the specified subscription.

abstract PagedIterable<Workspace> list(String skip, Context context)

Lists all the available machine learning workspaces under the specified subscription.

abstract PagedIterable<Workspace> listByResourceGroup(String resourceGroupName)

Lists all the available machine learning workspaces under the specified resource group.

abstract PagedIterable<Workspace> listByResourceGroup(String resourceGroupName, String skip, Context context)

Lists all the available machine learning workspaces under the specified resource group.

abstract ListWorkspaceKeysResult listKeys(String resourceGroupName, String workspaceName)

Lists all the keys associated with this workspace.

abstract Response<ListWorkspaceKeysResult> listKeysWithResponse(String resourceGroupName, String workspaceName, Context context)

Lists all the keys associated with this workspace.

abstract NotebookAccessTokenResult listNotebookAccessToken(String resourceGroupName, String workspaceName)

return notebook access token and refresh token.

abstract Response<NotebookAccessTokenResult> listNotebookAccessTokenWithResponse(String resourceGroupName, String workspaceName, Context context)

return notebook access token and refresh token.

abstract void resyncKeys(String resourceGroupName, String workspaceName)

Resync all the keys associated with this workspace.

abstract void resyncKeys(String resourceGroupName, String workspaceName, Context context)

Resync all the keys associated with this workspace.

Method Details

define

public abstract Workspace.DefinitionStages.Blank define(String name)

Begins definition for a new Workspace resource.

Parameters:

name - resource name.

Returns:

the first stage of the new Workspace definition.

delete

public abstract void delete(String resourceGroupName, String workspaceName, Context context)

Deletes a machine learning workspace.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.
context - The context to associate with this operation.

deleteById

public abstract void deleteById(String id)

Deletes a machine learning workspace.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Deletes a machine learning workspace.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

deleteByResourceGroup

public abstract void deleteByResourceGroup(String resourceGroupName, String workspaceName)

Deletes a machine learning workspace.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.

getById

public abstract Workspace getById(String id)

Gets the properties of the specified machine learning workspace.

Parameters:

id - the resource ID.

Returns:

the properties of the specified machine learning workspace.

getByIdWithResponse

public abstract Response getByIdWithResponse(String id, Context context)

Gets the properties of the specified machine learning workspace.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

the properties of the specified machine learning workspace.

getByResourceGroup

public abstract Workspace getByResourceGroup(String resourceGroupName, String workspaceName)

Gets the properties of the specified machine learning workspace.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.

Returns:

the properties of the specified machine learning workspace.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String workspaceName, Context context)

Gets the properties of the specified machine learning workspace.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.
context - The context to associate with this operation.

Returns:

the properties of the specified machine learning workspace.

list

public abstract PagedIterable list()

Lists all the available machine learning workspaces under the specified subscription.

Returns:

the result of a request to list machine learning workspaces.

list

public abstract PagedIterable list(String skip, Context context)

Lists all the available machine learning workspaces under the specified subscription.

Parameters:

skip - Continuation token for pagination.
context - The context to associate with this operation.

Returns:

the result of a request to list machine learning workspaces.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Lists all the available machine learning workspaces under the specified resource group.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.

Returns:

the result of a request to list machine learning workspaces.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, String skip, Context context)

Lists all the available machine learning workspaces under the specified resource group.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
skip - Continuation token for pagination.
context - The context to associate with this operation.

Returns:

the result of a request to list machine learning workspaces.

listKeys

public abstract ListWorkspaceKeysResult listKeys(String resourceGroupName, String workspaceName)

Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.

Returns:

the response.

listKeysWithResponse

public abstract Response listKeysWithResponse(String resourceGroupName, String workspaceName, Context context)

Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.
context - The context to associate with this operation.

Returns:

the response.

listNotebookAccessToken

public abstract NotebookAccessTokenResult listNotebookAccessToken(String resourceGroupName, String workspaceName)

return notebook access token and refresh token.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.

Returns:

the response.

listNotebookAccessTokenWithResponse

public abstract Response listNotebookAccessTokenWithResponse(String resourceGroupName, String workspaceName, Context context)

return notebook access token and refresh token.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.
context - The context to associate with this operation.

Returns:

the response.

resyncKeys

public abstract void resyncKeys(String resourceGroupName, String workspaceName)

Resync all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.

resyncKeys

public abstract void resyncKeys(String resourceGroupName, String workspaceName, Context context)

Resync all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.
context - The context to associate with this operation.

Applies to