Class StorageAsyncClient

java.lang.Object
com.azure.quantum.jobs.StorageAsyncClient

public final class StorageAsyncClient extends Object
Initializes a new instance of the asynchronous QuantumClient type.
  • Method Details

    • sasUriWithResponse

      public Mono<Response<SasUriResponse>> sasUriWithResponse(BlobDetails blobDetails)
      Gets a URL with SAS token for a container/blob in the storage account associated with the workspace. The SAS URL can be used to upload job input and/or download job output.
      Parameters:
      blobDetails - The details (name and container) of the blob to store or download data.
      Returns:
      a URL with SAS token for a container/blob in the storage account associated with the workspace.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      RestErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • sasUri

      public Mono<SasUriResponse> sasUri(BlobDetails blobDetails)
      Gets a URL with SAS token for a container/blob in the storage account associated with the workspace. The SAS URL can be used to upload job input and/or download job output.
      Parameters:
      blobDetails - The details (name and container) of the blob to store or download data.
      Returns:
      a URL with SAS token for a container/blob in the storage account associated with the workspace.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      RestErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.