public final class NotebookAsyncClient extends Object
Modifier and Type | Method and Description |
---|---|
Mono<NotebookResource> |
createOrUpdateNotebook(String notebookName,
NotebookResource notebook)
Creates or updates a Note Book.
|
Mono<NotebookResource> |
createOrUpdateNotebook(String notebookName,
NotebookResource notebook,
String ifMatch)
Creates or updates a Note Book.
|
Mono<com.azure.core.http.rest.Response<NotebookResource>> |
createOrUpdateNotebookWithResponse(String notebookName,
NotebookResource notebook,
String ifMatch)
Creates or updates a Note Book.
|
Mono<Void> |
deleteNotebook(String notebookName)
Deletes a Note book.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteNotebookWithResponse(String notebookName)
Deletes a Note book.
|
Mono<NotebookResource> |
getNotebook(String notebookName)
Gets a Note Book.
|
Mono<NotebookResource> |
getNotebook(String notebookName,
String ifNoneMatch)
Gets a Note Book.
|
com.azure.core.http.rest.PagedFlux<NotebookResource> |
getNotebooksByWorkspace()
Lists Notebooks.
|
Mono<com.azure.core.http.rest.PagedResponse<NotebookResource>> |
getNotebooksByWorkspaceNextSinglePage(String nextLink)
Get the next page of items.
|
Mono<com.azure.core.http.rest.PagedResponse<NotebookResource>> |
getNotebooksByWorkspaceSinglePage()
Lists Notebooks.
|
com.azure.core.http.rest.PagedFlux<NotebookResource> |
getNotebookSummaryByWorkSpace()
Lists a summary of Notebooks.
|
Mono<com.azure.core.http.rest.PagedResponse<NotebookResource>> |
getNotebookSummaryByWorkSpaceNextSinglePage(String nextLink)
Get the next page of items.
|
Mono<com.azure.core.http.rest.PagedResponse<NotebookResource>> |
getNotebookSummaryByWorkSpaceSinglePage()
Lists a summary of Notebooks.
|
Mono<com.azure.core.http.rest.Response<NotebookResource>> |
getNotebookWithResponse(String notebookName,
String ifNoneMatch)
Gets a Note Book.
|
Mono<Void> |
renameNotebook(String notebookName,
ArtifactRenameRequest request)
Renames a notebook.
|
Mono<com.azure.core.http.rest.Response<Void>> |
renameNotebookWithResponse(String notebookName,
ArtifactRenameRequest request)
Renames a notebook.
|
public Mono<com.azure.core.http.rest.PagedResponse<NotebookResource>> getNotebooksByWorkspaceSinglePage()
CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.PagedFlux<NotebookResource> getNotebooksByWorkspace()
CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.PagedResponse<NotebookResource>> getNotebookSummaryByWorkSpaceSinglePage()
CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.PagedFlux<NotebookResource> getNotebookSummaryByWorkSpace()
CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<NotebookResource>> createOrUpdateNotebookWithResponse(String notebookName, NotebookResource notebook, String ifMatch)
notebookName
- The notebook name.notebook
- Note book resource definition.ifMatch
- ETag of the Note book entity. Should only be specified for update, for which it should match
existing entity or can be * for unconditional update.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<NotebookResource> createOrUpdateNotebook(String notebookName, NotebookResource notebook, String ifMatch)
notebookName
- The notebook name.notebook
- Note book resource definition.ifMatch
- ETag of the Note book entity. Should only be specified for update, for which it should match
existing entity or can be * for unconditional update.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<NotebookResource> createOrUpdateNotebook(String notebookName, NotebookResource notebook)
notebookName
- The notebook name.notebook
- Note book resource definition.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<NotebookResource>> getNotebookWithResponse(String notebookName, String ifNoneMatch)
notebookName
- The notebook name.ifNoneMatch
- ETag of the Notebook entity. Should only be specified for get. If the ETag matches the
existing entity tag, or if * was provided, then no content will be returned.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<NotebookResource> getNotebook(String notebookName, String ifNoneMatch)
notebookName
- The notebook name.ifNoneMatch
- ETag of the Notebook entity. Should only be specified for get. If the ETag matches the
existing entity tag, or if * was provided, then no content will be returned.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<NotebookResource> getNotebook(String notebookName)
notebookName
- The notebook name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<Void>> deleteNotebookWithResponse(String notebookName)
notebookName
- The notebook name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<Void> deleteNotebook(String notebookName)
notebookName
- The notebook name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<Void>> renameNotebookWithResponse(String notebookName, ArtifactRenameRequest request)
notebookName
- The notebook name.request
- proposed new name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<Void> renameNotebook(String notebookName, ArtifactRenameRequest request)
notebookName
- The notebook name.request
- proposed new name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.PagedResponse<NotebookResource>> getNotebooksByWorkspaceNextSinglePage(String nextLink)
nextLink
- The nextLink parameter.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.PagedResponse<NotebookResource>> getNotebookSummaryByWorkSpaceNextSinglePage(String nextLink)
nextLink
- The nextLink parameter.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.