Udostępnij za pośrednictwem


QuantumJobClient Class

Definition

The sample jobs client.

public class QuantumJobClient
type QuantumJobClient = class
Public Class QuantumJobClient
Inheritance
QuantumJobClient

Constructors

QuantumJobClient()

Initializes a new instance of QuantumJobClient for mocking.

QuantumJobClient(String, String, String, String, TokenCredential, QuantumJobClientOptions)

Initializes a new instance of the QuantumJobClient class.

Methods

CancelJob(String, CancellationToken)

Cancel a job.

CancelJobAsync(String, CancellationToken)

Cancel a job.

CreateJob(String, JobDetails, CancellationToken)

Create a job.

CreateJobAsync(String, JobDetails, CancellationToken)

Create a job.

GetJob(String, CancellationToken)

Get job by id.

GetJobAsync(String, CancellationToken)

Get job by id.

GetJobs(CancellationToken)

Return list of jobs.

GetJobsAsync(CancellationToken)

Return list of jobs.

GetProviderStatus(CancellationToken)

Get provider status.

GetProviderStatusAsync(CancellationToken)

Get provider status.

GetQuotas(CancellationToken)

Get quota status.

GetQuotasAsync(CancellationToken)

Get quota status.

GetStorageSasUri(BlobDetails, CancellationToken)

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.

GetStorageSasUriAsync(BlobDetails, CancellationToken)

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.

Applies to