Interface NotebookWorkspacesClient


public interface NotebookWorkspacesClient
An instance of this class provides access to all the operations defined in NotebookWorkspacesClient.
  • Method Details

    • listByDatabaseAccountAsync

      com.azure.core.http.rest.PagedFlux<NotebookWorkspaceInner> listByDatabaseAccountAsync(String resourceGroupName, String accountName)
      Gets the notebook workspace resources of an existing Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Returns:
      the notebook workspace resources of an existing Cosmos DB account as paginated response with PagedFlux.
      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.
    • listByDatabaseAccount

      com.azure.core.http.rest.PagedIterable<NotebookWorkspaceInner> listByDatabaseAccount(String resourceGroupName, String accountName)
      Gets the notebook workspace resources of an existing Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      Returns:
      the notebook workspace resources of an existing Cosmos DB account 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.
    • listByDatabaseAccount

      com.azure.core.http.rest.PagedIterable<NotebookWorkspaceInner> listByDatabaseAccount(String resourceGroupName, String accountName, com.azure.core.util.Context context)
      Gets the notebook workspace resources of an existing Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      context - The context to associate with this operation.
      Returns:
      the notebook workspace resources of an existing Cosmos DB account 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<NotebookWorkspaceInner>> getWithResponseAsync(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName)
      Gets the notebook workspace for a Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      Returns:
      the notebook workspace for a Cosmos DB account along with Response on successful completion of Mono.
      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.
    • getAsync

      Mono<NotebookWorkspaceInner> getAsync(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName)
      Gets the notebook workspace for a Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      Returns:
      the notebook workspace for a Cosmos DB account on successful completion of Mono.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<NotebookWorkspaceInner> getWithResponse(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, com.azure.core.util.Context context)
      Gets the notebook workspace for a Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      context - The context to associate with this operation.
      Returns:
      the notebook workspace for a Cosmos DB account 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.
    • get

      NotebookWorkspaceInner get(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName)
      Gets the notebook workspace for a Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      Returns:
      the notebook workspace for a Cosmos DB account.
      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.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, NotebookWorkspaceCreateUpdateParameters notebookCreateUpdateParameters)
      Creates the notebook workspace for a Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      notebookCreateUpdateParameters - The notebook workspace to create for the current database account.
      Returns:
      a notebook workspace resource along with Response on successful completion of Mono.
      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.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<NotebookWorkspaceInner>,NotebookWorkspaceInner> beginCreateOrUpdateAsync(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, NotebookWorkspaceCreateUpdateParameters notebookCreateUpdateParameters)
      Creates the notebook workspace for a Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      notebookCreateUpdateParameters - The notebook workspace to create for the current database account.
      Returns:
      the PollerFlux for polling of a notebook workspace resource.
      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<NotebookWorkspaceInner>,NotebookWorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, NotebookWorkspaceCreateUpdateParameters notebookCreateUpdateParameters)
      Creates the notebook workspace for a Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      notebookCreateUpdateParameters - The notebook workspace to create for the current database account.
      Returns:
      the SyncPoller for polling of a notebook workspace resource.
      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<NotebookWorkspaceInner>,NotebookWorkspaceInner> beginCreateOrUpdate(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, NotebookWorkspaceCreateUpdateParameters notebookCreateUpdateParameters, com.azure.core.util.Context context)
      Creates the notebook workspace for a Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      notebookCreateUpdateParameters - The notebook workspace to create for the current database account.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a notebook workspace resource.
      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.
    • createOrUpdateAsync

      Mono<NotebookWorkspaceInner> createOrUpdateAsync(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, NotebookWorkspaceCreateUpdateParameters notebookCreateUpdateParameters)
      Creates the notebook workspace for a Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      notebookCreateUpdateParameters - The notebook workspace to create for the current database account.
      Returns:
      a notebook workspace resource on successful completion of Mono.
      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

      NotebookWorkspaceInner createOrUpdate(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, NotebookWorkspaceCreateUpdateParameters notebookCreateUpdateParameters)
      Creates the notebook workspace for a Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      notebookCreateUpdateParameters - The notebook workspace to create for the current database account.
      Returns:
      a notebook workspace resource.
      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

      NotebookWorkspaceInner createOrUpdate(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, NotebookWorkspaceCreateUpdateParameters notebookCreateUpdateParameters, com.azure.core.util.Context context)
      Creates the notebook workspace for a Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      notebookCreateUpdateParameters - The notebook workspace to create for the current database account.
      context - The context to associate with this operation.
      Returns:
      a notebook workspace resource.
      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.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName)
      Deletes the notebook workspace for a Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      Returns:
      the Response on successful completion of Mono.
      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.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName)
      Deletes the notebook workspace for a Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      Returns:
      the PollerFlux for 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 accountName, NotebookWorkspaceName notebookWorkspaceName)
      Deletes the notebook workspace for a Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      Returns:
      the SyncPoller for 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 accountName, NotebookWorkspaceName notebookWorkspaceName, com.azure.core.util.Context context)
      Deletes the notebook workspace for a Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for 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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName)
      Deletes the notebook workspace for a Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      Returns:
      A Mono that completes when a successful response is received.
      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 accountName, NotebookWorkspaceName notebookWorkspaceName)
      Deletes the notebook workspace for a Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      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 accountName, NotebookWorkspaceName notebookWorkspaceName, com.azure.core.util.Context context)
      Deletes the notebook workspace for a Cosmos DB account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      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.
    • listConnectionInfoWithResponseAsync

      Mono<com.azure.core.http.rest.Response<NotebookWorkspaceConnectionInfoResultInner>> listConnectionInfoWithResponseAsync(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName)
      Retrieves the connection info for the notebook workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      Returns:
      the connection info for the given notebook workspace along with Response on successful completion of Mono.
      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.
    • listConnectionInfoAsync

      Mono<NotebookWorkspaceConnectionInfoResultInner> listConnectionInfoAsync(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName)
      Retrieves the connection info for the notebook workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      Returns:
      the connection info for the given notebook workspace on successful completion of Mono.
      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.
    • listConnectionInfoWithResponse

      com.azure.core.http.rest.Response<NotebookWorkspaceConnectionInfoResultInner> listConnectionInfoWithResponse(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, com.azure.core.util.Context context)
      Retrieves the connection info for the notebook workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      context - The context to associate with this operation.
      Returns:
      the connection info for the given notebook 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.
    • listConnectionInfo

      NotebookWorkspaceConnectionInfoResultInner listConnectionInfo(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName)
      Retrieves the connection info for the notebook workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      Returns:
      the connection info for the given notebook 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.
    • regenerateAuthTokenWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> regenerateAuthTokenWithResponseAsync(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName)
      Regenerates the auth token for the notebook workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      Returns:
      the Response on successful completion of Mono.
      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.
    • beginRegenerateAuthTokenAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRegenerateAuthTokenAsync(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName)
      Regenerates the auth token for the notebook workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      Returns:
      the PollerFlux for 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.
    • beginRegenerateAuthToken

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRegenerateAuthToken(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName)
      Regenerates the auth token for the notebook workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      Returns:
      the SyncPoller for 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.
    • beginRegenerateAuthToken

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRegenerateAuthToken(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, com.azure.core.util.Context context)
      Regenerates the auth token for the notebook workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for 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.
    • regenerateAuthTokenAsync

      Mono<Void> regenerateAuthTokenAsync(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName)
      Regenerates the auth token for the notebook workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      Returns:
      A Mono that completes when a successful response is received.
      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.
    • regenerateAuthToken

      void regenerateAuthToken(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName)
      Regenerates the auth token for the notebook workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      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.
    • regenerateAuthToken

      void regenerateAuthToken(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, com.azure.core.util.Context context)
      Regenerates the auth token for the notebook workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      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.
    • startWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startWithResponseAsync(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName)
      Starts the notebook workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      Returns:
      the Response on successful completion of Mono.
      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.
    • beginStartAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginStartAsync(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName)
      Starts the notebook workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      Returns:
      the PollerFlux for 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.
    • beginStart

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName)
      Starts the notebook workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      Returns:
      the SyncPoller for 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.
    • beginStart

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, com.azure.core.util.Context context)
      Starts the notebook workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for 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.
    • startAsync

      Mono<Void> startAsync(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName)
      Starts the notebook workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      Returns:
      A Mono that completes when a successful response is received.
      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.
    • start

      void start(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName)
      Starts the notebook workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      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.
    • start

      void start(String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, com.azure.core.util.Context context)
      Starts the notebook workspace.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - Cosmos DB database account name.
      notebookWorkspaceName - The name of the notebook workspace resource.
      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.