Dela via


QuantumJobClient.GetStorageSasUri(BlobDetails, CancellationToken) Method

Definition

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.

public virtual Azure.Response<Azure.Quantum.Jobs.Models.SasUriResponse> GetStorageSasUri (Azure.Quantum.Jobs.Models.BlobDetails blobDetails, System.Threading.CancellationToken cancellationToken = default);
abstract member GetStorageSasUri : Azure.Quantum.Jobs.Models.BlobDetails * System.Threading.CancellationToken -> Azure.Response<Azure.Quantum.Jobs.Models.SasUriResponse>
override this.GetStorageSasUri : Azure.Quantum.Jobs.Models.BlobDetails * System.Threading.CancellationToken -> Azure.Response<Azure.Quantum.Jobs.Models.SasUriResponse>
Public Overridable Function GetStorageSasUri (blobDetails As BlobDetails, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SasUriResponse)

Parameters

blobDetails
BlobDetails

The details (name and container) of the blob to store or download data.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

blobDetails is null.

Applies to