QuantumJobClient.GetStorageSasUriAsync(BlobDetails, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 System.Threading.Tasks.Task<Azure.Response<Azure.Quantum.Jobs.Models.SasUriResponse>> GetStorageSasUriAsync (Azure.Quantum.Jobs.Models.BlobDetails blobDetails, System.Threading.CancellationToken cancellationToken = default);
abstract member GetStorageSasUriAsync : Azure.Quantum.Jobs.Models.BlobDetails * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Quantum.Jobs.Models.SasUriResponse>>
override this.GetStorageSasUriAsync : Azure.Quantum.Jobs.Models.BlobDetails * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Quantum.Jobs.Models.SasUriResponse>>
Public Overridable Function GetStorageSasUriAsync (blobDetails As BlobDetails, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET