Class StorageClient

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

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

    • sasUri

      public 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.