Package com.azure.quantum.jobs
Class StorageAsyncClient
java.lang.Object
com.azure.quantum.jobs.StorageAsyncClient
Initializes a new instance of the asynchronous QuantumClient type.
-
Method Summary
Modifier and TypeMethodDescriptionsasUri
(BlobDetails blobDetails) Gets a URL with SAS token for a container/blob in the storage account associated with the workspace.sasUriWithResponse
(BlobDetails blobDetails) Gets a URL with SAS token for a container/blob in the storage account associated with the workspace.
-
Method Details
-
sasUriWithResponse
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
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.
-