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
Paged |
list()
Lists all the available machine learning workspaces under the specified subscription. |
abstract
Paged |
list(String skip, Context context)
Lists all the available machine learning workspaces under the specified subscription. |
abstract
Paged |
listByResourceGroup(String resourceGroupName)
Lists all the available machine learning workspaces under the specified resource group. |
abstract
Paged |
listByResourceGroup(String resourceGroupName, String skip, Context context)
Lists all the available machine learning workspaces under the specified resource group. |
abstract
List |
listKeys(String resourceGroupName, String workspaceName)
Lists all the keys associated with this workspace. |
abstract
Response<List |
listKeysWithResponse(String resourceGroupName, String workspaceName, Context context)
Lists all the keys associated with this workspace. |
abstract
Notebook |
listNotebookAccessToken(String resourceGroupName, String workspaceName)
return notebook access token and refresh token. |
abstract
Response<Notebook |
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:
Returns:
delete
public abstract void delete(String resourceGroupName, String workspaceName, Context context)
Deletes a machine learning workspace.
Parameters:
deleteById
public abstract void deleteById(String id)
Deletes a machine learning workspace.
Parameters:
deleteByIdWithResponse
public abstract void deleteByIdWithResponse(String id, Context context)
Deletes a machine learning workspace.
Parameters:
deleteByResourceGroup
public abstract void deleteByResourceGroup(String resourceGroupName, String workspaceName)
Deletes a machine learning workspace.
Parameters:
getById
public abstract Workspace getById(String id)
Gets the properties of the specified machine learning workspace.
Parameters:
Returns:
getByIdWithResponse
public abstract Response
Gets the properties of the specified machine learning workspace.
Parameters:
Returns:
getByResourceGroup
public abstract Workspace getByResourceGroup(String resourceGroupName, String workspaceName)
Gets the properties of the specified machine learning workspace.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response
Gets the properties of the specified machine learning workspace.
Parameters:
Returns:
list
public abstract PagedIterable
Lists all the available machine learning workspaces under the specified subscription.
Returns:
list
public abstract PagedIterable
Lists all the available machine learning workspaces under the specified subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable
Lists all the available machine learning workspaces under the specified resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable
Lists all the available machine learning workspaces under the specified resource group.
Parameters:
Returns:
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:
Returns:
listKeysWithResponse
public abstract Response
Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry.
Parameters:
Returns:
listNotebookAccessToken
public abstract NotebookAccessTokenResult listNotebookAccessToken(String resourceGroupName, String workspaceName)
return notebook access token and refresh token.
Parameters:
Returns:
listNotebookAccessTokenWithResponse
public abstract Response
return notebook access token and refresh token.
Parameters:
Returns:
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:
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:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for