WorkspacesClient Interface

public interface WorkspacesClient

An instance of this class provides access to all the operations defined in WorkspacesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<WorkspaceInner>,WorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner parameters)

Creates or updates a workspace with the specified parameters.

abstract SyncPoller<PollResult<WorkspaceInner>,WorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner parameters, Context context)

Creates or updates a workspace with the specified parameters.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName)

Deletes a machine learning workspace.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, Context context)

Deletes a machine learning workspace.

abstract SyncPoller<PollResult<Void>,Void> beginResyncKeys(String resourceGroupName, String workspaceName)

Resync all the keys associated with this workspace.

abstract SyncPoller<PollResult<Void>,Void> beginResyncKeys(String resourceGroupName, String workspaceName, Context context)

Resync all the keys associated with this workspace.

abstract WorkspaceInner createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner parameters)

Creates or updates a workspace with the specified parameters.

abstract WorkspaceInner createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner parameters, Context context)

Creates or updates a workspace with the specified parameters.

abstract void delete(String resourceGroupName, String workspaceName)

Deletes a machine learning workspace.

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

Deletes a machine learning workspace.

abstract WorkspaceInner getByResourceGroup(String resourceGroupName, String workspaceName)

Gets the properties of the specified machine learning workspace.

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

Gets the properties of the specified machine learning workspace.

abstract PagedIterable<WorkspaceInner> list()

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

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

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

abstract PagedIterable<WorkspaceInner> listByResourceGroup(String resourceGroupName)

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

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

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

abstract ListWorkspaceKeysResultInner listKeys(String resourceGroupName, String workspaceName)

Lists all the keys associated with this workspace.

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

Lists all the keys associated with this workspace.

abstract NotebookAccessTokenResultInner listNotebookAccessToken(String resourceGroupName, String workspaceName)

return notebook access token and refresh token.

abstract Response<NotebookAccessTokenResultInner> 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.

abstract WorkspaceInner update(String resourceGroupName, String workspaceName, WorkspaceUpdateParameters parameters)

Updates a machine learning workspace with the specified parameters.

abstract Response<WorkspaceInner> updateWithResponse(String resourceGroupName, String workspaceName, WorkspaceUpdateParameters parameters, Context context)

Updates a machine learning workspace with the specified parameters.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<>,WorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner parameters)

Creates or updates a workspace with the specified parameters.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.
parameters - The parameters for creating or updating a machine learning workspace.

Returns:

an object that represents a machine learning workspace.

beginCreateOrUpdate

public abstract SyncPoller<>,WorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner parameters, Context context)

Creates or updates a workspace with the specified parameters.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.
parameters - The parameters for creating or updating a machine learning workspace.
context - The context to associate with this operation.

Returns:

an object that represents a machine learning workspace.

beginDelete

public abstract SyncPoller<>,Void> beginDelete(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.

Returns:

the completion.

beginDelete

public abstract SyncPoller<>,Void> beginDelete(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.

Returns:

the completion.

beginResyncKeys

public abstract SyncPoller<>,Void> beginResyncKeys(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.

Returns:

the completion.

beginResyncKeys

public abstract SyncPoller<>,Void> beginResyncKeys(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.

Returns:

the completion.

createOrUpdate

public abstract WorkspaceInner createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner parameters)

Creates or updates a workspace with the specified parameters.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.
parameters - The parameters for creating or updating a machine learning workspace.

Returns:

an object that represents a machine learning workspace.

createOrUpdate

public abstract WorkspaceInner createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner parameters, Context context)

Creates or updates a workspace with the specified parameters.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.
parameters - The parameters for creating or updating a machine learning workspace.
context - The context to associate with this operation.

Returns:

an object that represents a machine learning workspace.

delete

public abstract void delete(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.

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.

getByResourceGroup

public abstract WorkspaceInner 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 ListWorkspaceKeysResultInner 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 NotebookAccessTokenResultInner 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.

update

public abstract WorkspaceInner update(String resourceGroupName, String workspaceName, WorkspaceUpdateParameters parameters)

Updates a machine learning workspace with the specified parameters.

Parameters:

resourceGroupName - Name of the resource group in which workspace is located.
workspaceName - Name of Azure Machine Learning workspace.
parameters - The parameters for updating a machine learning workspace.

Returns:

an object that represents a machine learning workspace.

updateWithResponse

public abstract Response updateWithResponse(String resourceGroupName, String workspaceName, WorkspaceUpdateParameters parameters, Context context)

Updates a machine learning workspace with the specified parameters.

Parameters:

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

Returns:

an object that represents a machine learning workspace.

Applies to