Interface WorkspacesClient
public interface WorkspacesClient
An instance of this class provides access to all the operations defined in WorkspacesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkspaceInner>,WorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner parameters) Creates or updates a workspace with the specified parameters.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkspaceInner>,WorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner parameters, com.azure.core.util.Context context) Creates or updates a workspace with the specified parameters.beginDelete(String resourceGroupName, String workspaceName) Deletes a machine learning workspace.beginDelete(String resourceGroupName, String workspaceName, Boolean forceToPurge, com.azure.core.util.Context context) Deletes a machine learning workspace.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiagnoseResponseResultInner>,DiagnoseResponseResultInner> beginDiagnose(String resourceGroupName, String workspaceName) Diagnose workspace setup issue.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiagnoseResponseResultInner>,DiagnoseResponseResultInner> beginDiagnose(String resourceGroupName, String workspaceName, DiagnoseWorkspaceParameters parameters, com.azure.core.util.Context context) Diagnose workspace setup issue.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NotebookResourceInfoInner>,NotebookResourceInfoInner> beginPrepareNotebook(String resourceGroupName, String workspaceName) Prepare a notebook.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NotebookResourceInfoInner>,NotebookResourceInfoInner> beginPrepareNotebook(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Prepare a notebook.beginResyncKeys(String resourceGroupName, String workspaceName) Resync all the keys associated with this workspace.beginResyncKeys(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Resync all the keys associated with this workspace.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkspaceInner>,WorkspaceInner> beginUpdate(String resourceGroupName, String workspaceName, WorkspaceUpdateParameters parameters) Updates a machine learning workspace with the specified parameters.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkspaceInner>,WorkspaceInner> beginUpdate(String resourceGroupName, String workspaceName, WorkspaceUpdateParameters parameters, com.azure.core.util.Context context) Updates a machine learning workspace with the specified parameters.createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner parameters) Creates or updates a workspace with the specified parameters.createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner parameters, com.azure.core.util.Context context) Creates or updates a workspace with the specified parameters.voidDeletes a machine learning workspace.voiddelete(String resourceGroupName, String workspaceName, Boolean forceToPurge, com.azure.core.util.Context context) Deletes a machine learning workspace.Diagnose workspace setup issue.diagnose(String resourceGroupName, String workspaceName, DiagnoseWorkspaceParameters parameters, com.azure.core.util.Context context) Diagnose workspace setup issue.getByResourceGroup(String resourceGroupName, String workspaceName) Gets the properties of the specified machine learning workspace.com.azure.core.http.rest.Response<WorkspaceInner>getByResourceGroupWithResponse(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Gets the properties of the specified machine learning workspace.com.azure.core.http.rest.PagedIterable<WorkspaceInner>list()Lists all the available machine learning workspaces under the specified subscription.com.azure.core.http.rest.PagedIterable<WorkspaceInner>Lists all the available machine learning workspaces under the specified subscription.com.azure.core.http.rest.PagedIterable<WorkspaceInner>listByResourceGroup(String resourceGroupName) Lists all the available machine learning workspaces under the specified resource group.com.azure.core.http.rest.PagedIterable<WorkspaceInner>listByResourceGroup(String resourceGroupName, String skip, com.azure.core.util.Context context) Lists all the available machine learning workspaces under the specified resource group.Lists all the keys associated with this workspace.com.azure.core.http.rest.Response<ListWorkspaceKeysResultInner>listKeysWithResponse(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Lists all the keys associated with this workspace.listNotebookAccessToken(String resourceGroupName, String workspaceName) return notebook access token and refresh token.com.azure.core.http.rest.Response<NotebookAccessTokenResultInner>listNotebookAccessTokenWithResponse(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) return notebook access token and refresh token.listNotebookKeys(String resourceGroupName, String workspaceName) List keys of a notebook.com.azure.core.http.rest.Response<ListNotebookKeysResultInner>listNotebookKeysWithResponse(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) List keys of a notebook.listOutboundNetworkDependenciesEndpoints(String resourceGroupName, String workspaceName) Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) programmatically.com.azure.core.http.rest.Response<ExternalFqdnResponseInner>listOutboundNetworkDependenciesEndpointsWithResponse(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) programmatically.listStorageAccountKeys(String resourceGroupName, String workspaceName) List storage account keys of a workspace.com.azure.core.http.rest.Response<ListStorageAccountKeysResultInner>listStorageAccountKeysWithResponse(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) List storage account keys of a workspace.prepareNotebook(String resourceGroupName, String workspaceName) Prepare a notebook.prepareNotebook(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Prepare a notebook.voidresyncKeys(String resourceGroupName, String workspaceName) Resync all the keys associated with this workspace.voidresyncKeys(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Resync all the keys associated with this workspace.update(String resourceGroupName, String workspaceName, WorkspaceUpdateParameters parameters) Updates a machine learning workspace with the specified parameters.update(String resourceGroupName, String workspaceName, WorkspaceUpdateParameters parameters, com.azure.core.util.Context context) Updates a machine learning workspace with the specified parameters.
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<WorkspaceInner> getByResourceGroupWithResponse(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Gets the properties of the specified machine learning workspace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.context- The context to associate with this operation.- Returns:
- the properties of the specified machine learning workspace along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
Gets the properties of the specified machine learning workspace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.- Returns:
- the properties of the specified machine learning workspace.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkspaceInner>,WorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner parameters) Creates or updates a workspace with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.parameters- The parameters for creating or updating a machine learning workspace.- Returns:
- the
SyncPollerfor polling of an object that represents a machine learning workspace. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkspaceInner>,WorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner parameters, com.azure.core.util.Context context) Creates or updates a workspace with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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:
- the
SyncPollerfor polling of an object that represents a machine learning workspace. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
WorkspaceInner createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner parameters) Creates or updates a workspace with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
WorkspaceInner createOrUpdate(String resourceGroupName, String workspaceName, WorkspaceInner parameters, com.azure.core.util.Context context) Creates or updates a workspace with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName) Deletes a machine learning workspace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, Boolean forceToPurge, com.azure.core.util.Context context) Deletes a machine learning workspace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.forceToPurge- Flag to indicate delete is a purge request.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes a machine learning workspace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String workspaceName, Boolean forceToPurge, com.azure.core.util.Context context) Deletes a machine learning workspace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.forceToPurge- Flag to indicate delete is a purge request.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkspaceInner>,WorkspaceInner> beginUpdate(String resourceGroupName, String workspaceName, WorkspaceUpdateParameters parameters) Updates a machine learning workspace with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.parameters- The parameters for updating a machine learning workspace.- Returns:
- the
SyncPollerfor polling of an object that represents a machine learning workspace. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WorkspaceInner>,WorkspaceInner> beginUpdate(String resourceGroupName, String workspaceName, WorkspaceUpdateParameters parameters, com.azure.core.util.Context context) Updates a machine learning workspace with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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:
- the
SyncPollerfor polling of an object that represents a machine learning workspace. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
WorkspaceInner update(String resourceGroupName, String workspaceName, WorkspaceUpdateParameters parameters) Updates a machine learning workspace with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
WorkspaceInner update(String resourceGroupName, String workspaceName, WorkspaceUpdateParameters parameters, com.azure.core.util.Context context) Updates a machine learning workspace with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<WorkspaceInner> listByResourceGroup(String resourceGroupName) Lists all the available machine learning workspaces under the specified resource group.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.- Returns:
- the result of a request to list machine learning workspaces as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<WorkspaceInner> listByResourceGroup(String resourceGroupName, String skip, com.azure.core.util.Context context) Lists all the available machine learning workspaces under the specified resource group.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.skip- Continuation token for pagination.context- The context to associate with this operation.- Returns:
- the result of a request to list machine learning workspaces as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDiagnose
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiagnoseResponseResultInner>,DiagnoseResponseResultInner> beginDiagnose(String resourceGroupName, String workspaceName) Diagnose workspace setup issue.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDiagnose
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiagnoseResponseResultInner>,DiagnoseResponseResultInner> beginDiagnose(String resourceGroupName, String workspaceName, DiagnoseWorkspaceParameters parameters, com.azure.core.util.Context context) Diagnose workspace setup issue.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.parameters- The parameter of diagnosing workspace health.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
diagnose
Diagnose workspace setup issue.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.- Returns:
- the response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
diagnose
DiagnoseResponseResultInner diagnose(String resourceGroupName, String workspaceName, DiagnoseWorkspaceParameters parameters, com.azure.core.util.Context context) Diagnose workspace setup issue.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.parameters- The parameter of diagnosing workspace health.context- The context to associate with this operation.- Returns:
- the response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listKeysWithResponse
com.azure.core.http.rest.Response<ListWorkspaceKeysResultInner> listKeysWithResponse(String resourceGroupName, String workspaceName, com.azure.core.util.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- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.context- The context to associate with this operation.- Returns:
- the response body along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listKeys
Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.- Returns:
- the response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginResyncKeys
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,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- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginResyncKeys
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResyncKeys(String resourceGroupName, String workspaceName, com.azure.core.util.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- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
resyncKeys
Resync all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
resyncKeys
void resyncKeys(String resourceGroupName, String workspaceName, com.azure.core.util.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- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<WorkspaceInner> list()Lists all the available machine learning workspaces under the specified subscription.- Returns:
- the result of a request to list machine learning workspaces as paginated response with
PagedIterable. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<WorkspaceInner> list(String skip, com.azure.core.util.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 as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listNotebookAccessTokenWithResponse
com.azure.core.http.rest.Response<NotebookAccessTokenResultInner> listNotebookAccessTokenWithResponse(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) return notebook access token and refresh token.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.context- The context to associate with this operation.- Returns:
- the response body along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listNotebookAccessToken
NotebookAccessTokenResultInner listNotebookAccessToken(String resourceGroupName, String workspaceName) return notebook access token and refresh token.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.- Returns:
- the response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginPrepareNotebook
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NotebookResourceInfoInner>,NotebookResourceInfoInner> beginPrepareNotebook(String resourceGroupName, String workspaceName) Prepare a notebook.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginPrepareNotebook
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NotebookResourceInfoInner>,NotebookResourceInfoInner> beginPrepareNotebook(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Prepare a notebook.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
prepareNotebook
Prepare a notebook.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.- Returns:
- the response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
prepareNotebook
NotebookResourceInfoInner prepareNotebook(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Prepare a notebook.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.context- The context to associate with this operation.- Returns:
- the response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listStorageAccountKeysWithResponse
com.azure.core.http.rest.Response<ListStorageAccountKeysResultInner> listStorageAccountKeysWithResponse(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) List storage account keys of a workspace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.context- The context to associate with this operation.- Returns:
- the response body along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listStorageAccountKeys
ListStorageAccountKeysResultInner listStorageAccountKeys(String resourceGroupName, String workspaceName) List storage account keys of a workspace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.- Returns:
- the response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listNotebookKeysWithResponse
com.azure.core.http.rest.Response<ListNotebookKeysResultInner> listNotebookKeysWithResponse(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) List keys of a notebook.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.context- The context to associate with this operation.- Returns:
- the response body along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listNotebookKeys
List keys of a notebook.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.- Returns:
- the response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listOutboundNetworkDependenciesEndpointsWithResponse
com.azure.core.http.rest.Response<ExternalFqdnResponseInner> listOutboundNetworkDependenciesEndpointsWithResponse(String resourceGroupName, String workspaceName, com.azure.core.util.Context context) Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) programmatically.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.context- The context to associate with this operation.- Returns:
- the response body along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listOutboundNetworkDependenciesEndpoints
ExternalFqdnResponseInner listOutboundNetworkDependenciesEndpoints(String resourceGroupName, String workspaceName) Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) programmatically.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.- Returns:
- the response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-