@azure/quantum-jobs 1.0.0-beta.1 → 1.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{LICENSE.txt → LICENSE} +4 -4
- package/README.md +247 -98
- package/dist/browser/index.d.ts +4 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +11 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/models/index.d.ts +320 -0
- package/dist/browser/models/index.d.ts.map +1 -0
- package/dist/browser/models/index.js +58 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.d.ts +13 -0
- package/dist/browser/models/mappers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +141 -140
- package/dist/browser/models/mappers.js.map +1 -0
- package/dist/browser/models/parameters.d.ts +12 -0
- package/dist/browser/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +37 -37
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/browser/operations/index.d.ts +5 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +12 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/dist/browser/operations/jobs.d.ts +51 -0
- package/dist/browser/operations/jobs.d.ts.map +1 -0
- package/dist/browser/operations/jobs.js +209 -0
- package/dist/browser/operations/jobs.js.map +1 -0
- package/dist/browser/operations/providers.d.ts +32 -0
- package/dist/browser/operations/providers.d.ts.map +1 -0
- package/dist/browser/operations/providers.js +118 -0
- package/dist/browser/operations/providers.js.map +1 -0
- package/dist/browser/operations/quotas.d.ts +32 -0
- package/dist/browser/operations/quotas.d.ts.map +1 -0
- package/dist/browser/operations/quotas.js +118 -0
- package/dist/browser/operations/quotas.js.map +1 -0
- package/dist/browser/operations/storage.d.ts +20 -0
- package/dist/browser/operations/storage.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/storage.js +33 -35
- package/dist/browser/operations/storage.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +5 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +12 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/dist/browser/operationsInterfaces/jobs.d.ts +30 -0
- package/dist/browser/operationsInterfaces/jobs.d.ts.map +1 -0
- package/{dist-esm/src/models/index.js → dist/browser/operationsInterfaces/jobs.js} +1 -1
- package/dist/browser/operationsInterfaces/jobs.js.map +1 -0
- package/dist/browser/operationsInterfaces/providers.d.ts +11 -0
- package/dist/browser/operationsInterfaces/providers.d.ts.map +1 -0
- package/{dist-esm/src/operations/index.js → dist/browser/operationsInterfaces/providers.js} +2 -5
- package/dist/browser/operationsInterfaces/providers.js.map +1 -0
- package/dist/browser/operationsInterfaces/quotas.d.ts +11 -0
- package/dist/browser/operationsInterfaces/quotas.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/quotas.js +9 -0
- package/dist/browser/operationsInterfaces/quotas.js.map +1 -0
- package/dist/browser/operationsInterfaces/storage.d.ts +12 -0
- package/dist/browser/operationsInterfaces/storage.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/storage.js +9 -0
- package/dist/browser/operationsInterfaces/storage.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.d.ts +13 -0
- package/dist/browser/pagingHelper.d.ts.map +1 -0
- package/dist/browser/pagingHelper.js +30 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/browser/quantumJobClient.d.ts +25 -0
- package/dist/browser/quantumJobClient.d.ts.map +1 -0
- package/dist/browser/quantumJobClient.js +93 -0
- package/dist/browser/quantumJobClient.js.map +1 -0
- package/dist/browser/tracing.d.ts +2 -0
- package/dist/browser/tracing.d.ts.map +1 -0
- package/dist/browser/tracing.js +14 -0
- package/dist/browser/tracing.js.map +1 -0
- package/dist/commonjs/index.d.ts +4 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +16 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +320 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +61 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +13 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +414 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +12 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +104 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +5 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +15 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/jobs.d.ts +51 -0
- package/dist/commonjs/operations/jobs.d.ts.map +1 -0
- package/dist/commonjs/operations/jobs.js +214 -0
- package/dist/commonjs/operations/jobs.js.map +1 -0
- package/dist/commonjs/operations/providers.d.ts +32 -0
- package/dist/commonjs/operations/providers.d.ts.map +1 -0
- package/dist/commonjs/operations/providers.js +123 -0
- package/dist/commonjs/operations/providers.js.map +1 -0
- package/dist/commonjs/operations/quotas.d.ts +32 -0
- package/dist/commonjs/operations/quotas.d.ts.map +1 -0
- package/dist/commonjs/operations/quotas.js +123 -0
- package/dist/commonjs/operations/quotas.js.map +1 -0
- package/dist/commonjs/operations/storage.d.ts +20 -0
- package/dist/commonjs/operations/storage.d.ts.map +1 -0
- package/dist/commonjs/operations/storage.js +63 -0
- package/dist/commonjs/operations/storage.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +15 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/jobs.d.ts +30 -0
- package/dist/commonjs/operationsInterfaces/jobs.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/jobs.js +10 -0
- package/dist/commonjs/operationsInterfaces/jobs.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/providers.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/providers.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/providers.js +10 -0
- package/dist/commonjs/operationsInterfaces/providers.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/quotas.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/quotas.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/quotas.js +10 -0
- package/dist/commonjs/operationsInterfaces/quotas.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/storage.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/storage.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/storage.js +10 -0
- package/dist/commonjs/operationsInterfaces/storage.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/quantumJobClient.d.ts +25 -0
- package/dist/commonjs/quantumJobClient.d.ts.map +1 -0
- package/dist/commonjs/quantumJobClient.js +98 -0
- package/dist/commonjs/quantumJobClient.js.map +1 -0
- package/dist/commonjs/tracing.d.ts +2 -0
- package/dist/commonjs/tracing.d.ts.map +1 -0
- package/dist/commonjs/tracing.js +17 -0
- package/dist/commonjs/tracing.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +11 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/models/index.d.ts +320 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +58 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +13 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +411 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +12 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +101 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/index.d.ts +5 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +12 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/jobs.d.ts +51 -0
- package/dist/esm/operations/jobs.d.ts.map +1 -0
- package/dist/esm/operations/jobs.js +209 -0
- package/dist/esm/operations/jobs.js.map +1 -0
- package/dist/esm/operations/providers.d.ts +32 -0
- package/dist/esm/operations/providers.d.ts.map +1 -0
- package/dist/esm/operations/providers.js +118 -0
- package/dist/esm/operations/providers.js.map +1 -0
- package/dist/esm/operations/quotas.d.ts +32 -0
- package/dist/esm/operations/quotas.d.ts.map +1 -0
- package/dist/esm/operations/quotas.js +118 -0
- package/dist/esm/operations/quotas.js.map +1 -0
- package/dist/esm/operations/storage.d.ts +20 -0
- package/dist/esm/operations/storage.d.ts.map +1 -0
- package/dist/esm/operations/storage.js +58 -0
- package/dist/esm/operations/storage.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +5 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +12 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/jobs.d.ts +30 -0
- package/dist/esm/operationsInterfaces/jobs.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/jobs.js +9 -0
- package/dist/esm/operationsInterfaces/jobs.js.map +1 -0
- package/dist/esm/operationsInterfaces/providers.d.ts +11 -0
- package/dist/esm/operationsInterfaces/providers.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/providers.js +9 -0
- package/dist/esm/operationsInterfaces/providers.js.map +1 -0
- package/dist/esm/operationsInterfaces/quotas.d.ts +11 -0
- package/dist/esm/operationsInterfaces/quotas.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/quotas.js +9 -0
- package/dist/esm/operationsInterfaces/quotas.js.map +1 -0
- package/dist/esm/operationsInterfaces/storage.d.ts +12 -0
- package/dist/esm/operationsInterfaces/storage.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/storage.js +9 -0
- package/dist/esm/operationsInterfaces/storage.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/esm/quantumJobClient.d.ts +25 -0
- package/dist/esm/quantumJobClient.d.ts.map +1 -0
- package/dist/esm/quantumJobClient.js +93 -0
- package/dist/esm/quantumJobClient.js.map +1 -0
- package/dist/esm/tracing.d.ts +2 -0
- package/dist/esm/tracing.d.ts.map +1 -0
- package/dist/esm/tracing.js +14 -0
- package/dist/esm/tracing.js.map +1 -0
- package/dist/react-native/index.d.ts +4 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +11 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/models/index.d.ts +320 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +58 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +13 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +411 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +12 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +101 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +5 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +12 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/jobs.d.ts +51 -0
- package/dist/react-native/operations/jobs.d.ts.map +1 -0
- package/dist/react-native/operations/jobs.js +209 -0
- package/dist/react-native/operations/jobs.js.map +1 -0
- package/dist/react-native/operations/providers.d.ts +32 -0
- package/dist/react-native/operations/providers.d.ts.map +1 -0
- package/dist/react-native/operations/providers.js +118 -0
- package/dist/react-native/operations/providers.js.map +1 -0
- package/dist/react-native/operations/quotas.d.ts +32 -0
- package/dist/react-native/operations/quotas.d.ts.map +1 -0
- package/dist/react-native/operations/quotas.js +118 -0
- package/dist/react-native/operations/quotas.js.map +1 -0
- package/dist/react-native/operations/storage.d.ts +20 -0
- package/dist/react-native/operations/storage.d.ts.map +1 -0
- package/dist/react-native/operations/storage.js +58 -0
- package/dist/react-native/operations/storage.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +12 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/jobs.d.ts +30 -0
- package/dist/react-native/operationsInterfaces/jobs.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/jobs.js +9 -0
- package/dist/react-native/operationsInterfaces/jobs.js.map +1 -0
- package/dist/react-native/operationsInterfaces/providers.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/providers.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/providers.js +9 -0
- package/dist/react-native/operationsInterfaces/providers.js.map +1 -0
- package/dist/react-native/operationsInterfaces/quotas.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/quotas.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/quotas.js +9 -0
- package/dist/react-native/operationsInterfaces/quotas.js.map +1 -0
- package/dist/react-native/operationsInterfaces/storage.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/storage.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/storage.js +9 -0
- package/dist/react-native/operationsInterfaces/storage.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/dist/react-native/quantumJobClient.d.ts +25 -0
- package/dist/react-native/quantumJobClient.d.ts.map +1 -0
- package/dist/react-native/quantumJobClient.js +93 -0
- package/dist/react-native/quantumJobClient.js.map +1 -0
- package/dist/react-native/tracing.d.ts +2 -0
- package/dist/react-native/tracing.d.ts.map +1 -0
- package/dist/react-native/tracing.js +14 -0
- package/dist/react-native/tracing.js.map +1 -0
- package/package.json +90 -92
- package/CHANGELOG.md +0 -5
- package/dist/index.js +0 -1309
- package/dist/index.js.map +0 -1
- package/dist-esm/src/index.js +0 -13
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/jobs.js +0 -280
- package/dist-esm/src/operations/jobs.js.map +0 -1
- package/dist-esm/src/operations/providers.js +0 -182
- package/dist-esm/src/operations/providers.js.map +0 -1
- package/dist-esm/src/operations/quotas.js +0 -182
- package/dist-esm/src/operations/quotas.js.map +0 -1
- package/dist-esm/src/operations/storage.js.map +0 -1
- package/dist-esm/src/quantumJobClient.js +0 -33
- package/dist-esm/src/quantumJobClient.js.map +0 -1
- package/dist-esm/src/quantumJobClientContext.js +0 -59
- package/dist-esm/src/quantumJobClientContext.js.map +0 -1
- package/types/latest/quantum-jobs.d.ts +0 -534
|
@@ -1,534 +0,0 @@
|
|
|
1
|
-
import * as coreHttp from '@azure/core-http';
|
|
2
|
-
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
3
|
-
|
|
4
|
-
/** Blob details. */
|
|
5
|
-
export declare interface BlobDetails {
|
|
6
|
-
/** The container name. */
|
|
7
|
-
containerName: string;
|
|
8
|
-
/** The blob name. */
|
|
9
|
-
blobName?: string;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Defines values for DimensionScope. \
|
|
14
|
-
* {@link KnownDimensionScope} can be used interchangeably with DimensionScope,
|
|
15
|
-
* this enum contains the known values that the service supports.
|
|
16
|
-
* ### Know values supported by the service
|
|
17
|
-
* **Workspace** \
|
|
18
|
-
* **Subscription**
|
|
19
|
-
*/
|
|
20
|
-
export declare type DimensionScope = string;
|
|
21
|
-
|
|
22
|
-
/** An error response from Azure. */
|
|
23
|
-
export declare interface ErrorData {
|
|
24
|
-
/** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
|
|
25
|
-
code?: string;
|
|
26
|
-
/** A message describing the error, intended to be suitable for displaying in a user interface. */
|
|
27
|
-
message?: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/** Job details. */
|
|
31
|
-
export declare interface JobDetails {
|
|
32
|
-
/** The job id. */
|
|
33
|
-
id?: string;
|
|
34
|
-
/** The job name. Is not required for the name to be unique and it's only used for display purposes. */
|
|
35
|
-
name?: string;
|
|
36
|
-
/** The blob container SAS uri, the container is used to host job data. */
|
|
37
|
-
containerUri: string;
|
|
38
|
-
/** The input blob SAS uri, if specified, it will override the default input blob in the container. */
|
|
39
|
-
inputDataUri?: string;
|
|
40
|
-
/** The format of the input data. */
|
|
41
|
-
inputDataFormat: string;
|
|
42
|
-
/** The input parameters for the job. JSON object used by the target solver. It is expected that the size of this object is small and only used to specify parameters for the execution target, not the input data. */
|
|
43
|
-
inputParams?: any;
|
|
44
|
-
/** The unique identifier for the provider. */
|
|
45
|
-
providerId: string;
|
|
46
|
-
/** The target identifier to run the job. */
|
|
47
|
-
target: string;
|
|
48
|
-
/** The job metadata. Metadata provides client the ability to store client-specific information */
|
|
49
|
-
metadata?: {
|
|
50
|
-
[propertyName: string]: string;
|
|
51
|
-
};
|
|
52
|
-
/** The output blob SAS uri. When a job finishes successfully, results will be uploaded to this blob. */
|
|
53
|
-
outputDataUri?: string;
|
|
54
|
-
/** The format of the output data. */
|
|
55
|
-
outputDataFormat?: string;
|
|
56
|
-
/**
|
|
57
|
-
* The job status.
|
|
58
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
59
|
-
*/
|
|
60
|
-
readonly status?: JobStatus;
|
|
61
|
-
/**
|
|
62
|
-
* The creation time of the job.
|
|
63
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
64
|
-
*/
|
|
65
|
-
readonly creationTime?: Date;
|
|
66
|
-
/**
|
|
67
|
-
* The time when the job began execution.
|
|
68
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
69
|
-
*/
|
|
70
|
-
readonly beginExecutionTime?: Date;
|
|
71
|
-
/**
|
|
72
|
-
* The time when the job finished execution.
|
|
73
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
74
|
-
*/
|
|
75
|
-
readonly endExecutionTime?: Date;
|
|
76
|
-
/**
|
|
77
|
-
* The time when a job was successfully cancelled.
|
|
78
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
79
|
-
*/
|
|
80
|
-
readonly cancellationTime?: Date;
|
|
81
|
-
/**
|
|
82
|
-
* The error data for the job. This is expected only when Status 'Failed'.
|
|
83
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
84
|
-
*/
|
|
85
|
-
readonly errorData?: ErrorData;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/** List of job details. */
|
|
89
|
-
export declare interface JobDetailsList {
|
|
90
|
-
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
91
|
-
readonly value?: JobDetails[];
|
|
92
|
-
/** Total records count number. */
|
|
93
|
-
count?: number;
|
|
94
|
-
/**
|
|
95
|
-
* Link to the next page of results.
|
|
96
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
97
|
-
*/
|
|
98
|
-
readonly nextLink?: string;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/** Class representing a Jobs. */
|
|
102
|
-
export declare class Jobs {
|
|
103
|
-
private readonly client;
|
|
104
|
-
/**
|
|
105
|
-
* Initialize a new instance of the class Jobs class.
|
|
106
|
-
* @param client Reference to the service client
|
|
107
|
-
*/
|
|
108
|
-
constructor(client: QuantumJobClient);
|
|
109
|
-
/**
|
|
110
|
-
* List jobs.
|
|
111
|
-
* @param options The options parameters.
|
|
112
|
-
*/
|
|
113
|
-
list(options?: coreHttp.OperationOptions): PagedAsyncIterableIterator<JobDetails>;
|
|
114
|
-
private listPagingPage;
|
|
115
|
-
private listPagingAll;
|
|
116
|
-
/**
|
|
117
|
-
* List jobs.
|
|
118
|
-
* @param options The options parameters.
|
|
119
|
-
*/
|
|
120
|
-
private _list;
|
|
121
|
-
/**
|
|
122
|
-
* Get job by id
|
|
123
|
-
* @param jobId Id of the job.
|
|
124
|
-
* @param options The options parameters.
|
|
125
|
-
*/
|
|
126
|
-
get(jobId: string, options?: coreHttp.OperationOptions): Promise<JobsGetResponse>;
|
|
127
|
-
/**
|
|
128
|
-
* Create a job.
|
|
129
|
-
* @param jobId Id of the job.
|
|
130
|
-
* @param job The complete metadata of the job to submit.
|
|
131
|
-
* @param options The options parameters.
|
|
132
|
-
*/
|
|
133
|
-
create(jobId: string, job: JobDetails, options?: coreHttp.OperationOptions): Promise<JobsCreateResponse>;
|
|
134
|
-
/**
|
|
135
|
-
* Cancel a job.
|
|
136
|
-
* @param jobId Id of the job.
|
|
137
|
-
* @param options The options parameters.
|
|
138
|
-
*/
|
|
139
|
-
cancel(jobId: string, options?: coreHttp.OperationOptions): Promise<coreHttp.RestResponse>;
|
|
140
|
-
/**
|
|
141
|
-
* ListNext
|
|
142
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
143
|
-
* @param options The options parameters.
|
|
144
|
-
*/
|
|
145
|
-
private _listNext;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
/** Contains response data for the create operation. */
|
|
149
|
-
export declare type JobsCreateResponse = JobDetails & {
|
|
150
|
-
/** The underlying HTTP response. */
|
|
151
|
-
_response: coreHttp.HttpResponse & {
|
|
152
|
-
/** The response body as text (string format) */
|
|
153
|
-
bodyAsText: string;
|
|
154
|
-
/** The response body as parsed JSON or XML */
|
|
155
|
-
parsedBody: JobDetails;
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
|
|
159
|
-
/** Contains response data for the get operation. */
|
|
160
|
-
export declare type JobsGetResponse = JobDetails & {
|
|
161
|
-
/** The underlying HTTP response. */
|
|
162
|
-
_response: coreHttp.HttpResponse & {
|
|
163
|
-
/** The response body as text (string format) */
|
|
164
|
-
bodyAsText: string;
|
|
165
|
-
/** The response body as parsed JSON or XML */
|
|
166
|
-
parsedBody: JobDetails;
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
|
-
|
|
170
|
-
/** Contains response data for the listNext operation. */
|
|
171
|
-
export declare type JobsListNextResponse = JobDetailsList & {
|
|
172
|
-
/** The underlying HTTP response. */
|
|
173
|
-
_response: coreHttp.HttpResponse & {
|
|
174
|
-
/** The response body as text (string format) */
|
|
175
|
-
bodyAsText: string;
|
|
176
|
-
/** The response body as parsed JSON or XML */
|
|
177
|
-
parsedBody: JobDetailsList;
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
|
-
|
|
181
|
-
/** Contains response data for the list operation. */
|
|
182
|
-
export declare type JobsListResponse = JobDetailsList & {
|
|
183
|
-
/** The underlying HTTP response. */
|
|
184
|
-
_response: coreHttp.HttpResponse & {
|
|
185
|
-
/** The response body as text (string format) */
|
|
186
|
-
bodyAsText: string;
|
|
187
|
-
/** The response body as parsed JSON or XML */
|
|
188
|
-
parsedBody: JobDetailsList;
|
|
189
|
-
};
|
|
190
|
-
};
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* Defines values for JobStatus. \
|
|
194
|
-
* {@link KnownJobStatus} can be used interchangeably with JobStatus,
|
|
195
|
-
* this enum contains the known values that the service supports.
|
|
196
|
-
* ### Know values supported by the service
|
|
197
|
-
* **Waiting** \
|
|
198
|
-
* **Executing** \
|
|
199
|
-
* **Succeeded** \
|
|
200
|
-
* **Failed** \
|
|
201
|
-
* **Cancelled**
|
|
202
|
-
*/
|
|
203
|
-
export declare type JobStatus = string;
|
|
204
|
-
|
|
205
|
-
/** Known values of {@link DimensionScope} that the service accepts. */
|
|
206
|
-
export declare const enum KnownDimensionScope {
|
|
207
|
-
Workspace = "Workspace",
|
|
208
|
-
Subscription = "Subscription"
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
/** Known values of {@link JobStatus} that the service accepts. */
|
|
212
|
-
export declare const enum KnownJobStatus {
|
|
213
|
-
Waiting = "Waiting",
|
|
214
|
-
Executing = "Executing",
|
|
215
|
-
Succeeded = "Succeeded",
|
|
216
|
-
Failed = "Failed",
|
|
217
|
-
Cancelled = "Cancelled"
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
/** Known values of {@link MeterPeriod} that the service accepts. */
|
|
221
|
-
export declare const enum KnownMeterPeriod {
|
|
222
|
-
None = "None",
|
|
223
|
-
Monthly = "Monthly"
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
/** Known values of {@link ProviderAvailability} that the service accepts. */
|
|
227
|
-
export declare const enum KnownProviderAvailability {
|
|
228
|
-
Available = "Available",
|
|
229
|
-
Degraded = "Degraded",
|
|
230
|
-
Unavailable = "Unavailable"
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
/** Known values of {@link TargetAvailability} that the service accepts. */
|
|
234
|
-
export declare const enum KnownTargetAvailability {
|
|
235
|
-
Available = "Available",
|
|
236
|
-
Degraded = "Degraded",
|
|
237
|
-
Unavailable = "Unavailable"
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* Defines values for MeterPeriod. \
|
|
242
|
-
* {@link KnownMeterPeriod} can be used interchangeably with MeterPeriod,
|
|
243
|
-
* this enum contains the known values that the service supports.
|
|
244
|
-
* ### Know values supported by the service
|
|
245
|
-
* **None** \
|
|
246
|
-
* **Monthly**
|
|
247
|
-
*/
|
|
248
|
-
export declare type MeterPeriod = string;
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* Defines values for ProviderAvailability. \
|
|
252
|
-
* {@link KnownProviderAvailability} can be used interchangeably with ProviderAvailability,
|
|
253
|
-
* this enum contains the known values that the service supports.
|
|
254
|
-
* ### Know values supported by the service
|
|
255
|
-
* **Available** \
|
|
256
|
-
* **Degraded** \
|
|
257
|
-
* **Unavailable**
|
|
258
|
-
*/
|
|
259
|
-
export declare type ProviderAvailability = string;
|
|
260
|
-
|
|
261
|
-
/** Class representing a Providers. */
|
|
262
|
-
export declare class Providers {
|
|
263
|
-
private readonly client;
|
|
264
|
-
/**
|
|
265
|
-
* Initialize a new instance of the class Providers class.
|
|
266
|
-
* @param client Reference to the service client
|
|
267
|
-
*/
|
|
268
|
-
constructor(client: QuantumJobClient);
|
|
269
|
-
/**
|
|
270
|
-
* Get provider status.
|
|
271
|
-
* @param options The options parameters.
|
|
272
|
-
*/
|
|
273
|
-
listStatus(options?: coreHttp.OperationOptions): PagedAsyncIterableIterator<ProviderStatus>;
|
|
274
|
-
private getStatusPagingPage;
|
|
275
|
-
private getStatusPagingAll;
|
|
276
|
-
/**
|
|
277
|
-
* Get provider status.
|
|
278
|
-
* @param options The options parameters.
|
|
279
|
-
*/
|
|
280
|
-
private _getStatus;
|
|
281
|
-
/**
|
|
282
|
-
* GetStatusNext
|
|
283
|
-
* @param nextLink The nextLink from the previous successful call to the GetStatus method.
|
|
284
|
-
* @param options The options parameters.
|
|
285
|
-
*/
|
|
286
|
-
private _getStatusNext;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
/** Contains response data for the getStatusNext operation. */
|
|
290
|
-
export declare type ProvidersGetStatusNextResponse = ProviderStatusList & {
|
|
291
|
-
/** The underlying HTTP response. */
|
|
292
|
-
_response: coreHttp.HttpResponse & {
|
|
293
|
-
/** The response body as text (string format) */
|
|
294
|
-
bodyAsText: string;
|
|
295
|
-
/** The response body as parsed JSON or XML */
|
|
296
|
-
parsedBody: ProviderStatusList;
|
|
297
|
-
};
|
|
298
|
-
};
|
|
299
|
-
|
|
300
|
-
/** Contains response data for the getStatus operation. */
|
|
301
|
-
export declare type ProvidersGetStatusResponse = ProviderStatusList & {
|
|
302
|
-
/** The underlying HTTP response. */
|
|
303
|
-
_response: coreHttp.HttpResponse & {
|
|
304
|
-
/** The response body as text (string format) */
|
|
305
|
-
bodyAsText: string;
|
|
306
|
-
/** The response body as parsed JSON or XML */
|
|
307
|
-
parsedBody: ProviderStatusList;
|
|
308
|
-
};
|
|
309
|
-
};
|
|
310
|
-
|
|
311
|
-
/** Providers status. */
|
|
312
|
-
export declare interface ProviderStatus {
|
|
313
|
-
/**
|
|
314
|
-
* Provider id.
|
|
315
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
316
|
-
*/
|
|
317
|
-
readonly id?: string;
|
|
318
|
-
/**
|
|
319
|
-
* Provider availability.
|
|
320
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
321
|
-
*/
|
|
322
|
-
readonly currentAvailability?: ProviderAvailability;
|
|
323
|
-
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
324
|
-
readonly targets?: TargetStatus[];
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
/** Providers status. */
|
|
328
|
-
export declare interface ProviderStatusList {
|
|
329
|
-
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
330
|
-
readonly value?: ProviderStatus[];
|
|
331
|
-
/**
|
|
332
|
-
* Link to the next page of results.
|
|
333
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
334
|
-
*/
|
|
335
|
-
readonly nextLink?: string;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
export declare class QuantumJobClient extends QuantumJobClientContext {
|
|
339
|
-
/**
|
|
340
|
-
* Initializes a new instance of the QuantumJobClient class.
|
|
341
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
342
|
-
* @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g.
|
|
343
|
-
* 00000000-0000-0000-0000-000000000000)
|
|
344
|
-
* @param resourceGroupName Name of an Azure resource group.
|
|
345
|
-
* @param workspaceName Name of the workspace.
|
|
346
|
-
* @param options The parameter options
|
|
347
|
-
*/
|
|
348
|
-
constructor(credentials: coreHttp.TokenCredential | coreHttp.ServiceClientCredentials, subscriptionId: string, resourceGroupName: string, workspaceName: string, options?: QuantumJobClientOptionalParams);
|
|
349
|
-
jobs: Jobs;
|
|
350
|
-
providers: Providers;
|
|
351
|
-
storage: Storage;
|
|
352
|
-
quotas: Quotas;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
export declare class QuantumJobClientContext extends coreHttp.ServiceClient {
|
|
356
|
-
$host: string;
|
|
357
|
-
subscriptionId: string;
|
|
358
|
-
resourceGroupName: string;
|
|
359
|
-
workspaceName: string;
|
|
360
|
-
/**
|
|
361
|
-
* Initializes a new instance of the QuantumJobClientContext class.
|
|
362
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
363
|
-
* @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g.
|
|
364
|
-
* 00000000-0000-0000-0000-000000000000)
|
|
365
|
-
* @param resourceGroupName Name of an Azure resource group.
|
|
366
|
-
* @param workspaceName Name of the workspace.
|
|
367
|
-
* @param options The parameter options
|
|
368
|
-
*/
|
|
369
|
-
constructor(credentials: coreHttp.TokenCredential | coreHttp.ServiceClientCredentials, subscriptionId: string, resourceGroupName: string, workspaceName: string, options?: QuantumJobClientOptionalParams);
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
/** Optional parameters. */
|
|
373
|
-
export declare interface QuantumJobClientOptionalParams extends coreHttp.ServiceClientOptions {
|
|
374
|
-
/** server parameter */
|
|
375
|
-
$host?: string;
|
|
376
|
-
/** Overrides client endpoint. */
|
|
377
|
-
endpoint?: string;
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
/** Quota information. */
|
|
381
|
-
export declare interface Quota {
|
|
382
|
-
/** The name of the dimension associated with the quota. */
|
|
383
|
-
dimension?: string;
|
|
384
|
-
/** The scope at which the quota is applied. */
|
|
385
|
-
scope?: DimensionScope;
|
|
386
|
-
/** The unique identifier for the provider. */
|
|
387
|
-
providerId?: string;
|
|
388
|
-
/** The amount of the usage that has been applied for the current period. */
|
|
389
|
-
utilization?: number;
|
|
390
|
-
/** The amount of the usage that has been reserved but not applied for the current period. */
|
|
391
|
-
holds?: number;
|
|
392
|
-
/** The maximum amount of usage allowed for the current period. */
|
|
393
|
-
limit?: number;
|
|
394
|
-
/** The time period in which the quota's underlying meter is accumulated. Based on calendar year. 'None' is used for concurrent quotas. */
|
|
395
|
-
period?: MeterPeriod;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
/** List of quotas. */
|
|
399
|
-
export declare interface QuotaList {
|
|
400
|
-
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
401
|
-
readonly value?: Quota[];
|
|
402
|
-
/**
|
|
403
|
-
* Link to the next page of results.
|
|
404
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
405
|
-
*/
|
|
406
|
-
readonly nextLink?: string;
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
/** Class representing a Quotas. */
|
|
410
|
-
export declare class Quotas {
|
|
411
|
-
private readonly client;
|
|
412
|
-
/**
|
|
413
|
-
* Initialize a new instance of the class Quotas class.
|
|
414
|
-
* @param client Reference to the service client
|
|
415
|
-
*/
|
|
416
|
-
constructor(client: QuantumJobClient);
|
|
417
|
-
/**
|
|
418
|
-
* List quotas for the given workspace.
|
|
419
|
-
* @param options The options parameters.
|
|
420
|
-
*/
|
|
421
|
-
list(options?: coreHttp.OperationOptions): PagedAsyncIterableIterator<Quota>;
|
|
422
|
-
private listPagingPage;
|
|
423
|
-
private listPagingAll;
|
|
424
|
-
/**
|
|
425
|
-
* List quotas for the given workspace.
|
|
426
|
-
* @param options The options parameters.
|
|
427
|
-
*/
|
|
428
|
-
private _list;
|
|
429
|
-
/**
|
|
430
|
-
* ListNext
|
|
431
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
432
|
-
* @param options The options parameters.
|
|
433
|
-
*/
|
|
434
|
-
private _listNext;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
/** Contains response data for the listNext operation. */
|
|
438
|
-
export declare type QuotasListNextResponse = QuotaList & {
|
|
439
|
-
/** The underlying HTTP response. */
|
|
440
|
-
_response: coreHttp.HttpResponse & {
|
|
441
|
-
/** The response body as text (string format) */
|
|
442
|
-
bodyAsText: string;
|
|
443
|
-
/** The response body as parsed JSON or XML */
|
|
444
|
-
parsedBody: QuotaList;
|
|
445
|
-
};
|
|
446
|
-
};
|
|
447
|
-
|
|
448
|
-
/** Contains response data for the list operation. */
|
|
449
|
-
export declare type QuotasListResponse = QuotaList & {
|
|
450
|
-
/** The underlying HTTP response. */
|
|
451
|
-
_response: coreHttp.HttpResponse & {
|
|
452
|
-
/** The response body as text (string format) */
|
|
453
|
-
bodyAsText: string;
|
|
454
|
-
/** The response body as parsed JSON or XML */
|
|
455
|
-
parsedBody: QuotaList;
|
|
456
|
-
};
|
|
457
|
-
};
|
|
458
|
-
|
|
459
|
-
/** Error information returned by the API */
|
|
460
|
-
export declare interface RestError {
|
|
461
|
-
/** An error response from Azure. */
|
|
462
|
-
error?: ErrorData;
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
/** Get SAS URL operation response. */
|
|
466
|
-
export declare interface SasUriResponse {
|
|
467
|
-
/** A URL with a SAS token to upload a blob for execution in the given workspace. */
|
|
468
|
-
sasUri?: string;
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
/** Class representing a Storage. */
|
|
472
|
-
export declare class Storage {
|
|
473
|
-
private readonly client;
|
|
474
|
-
/**
|
|
475
|
-
* Initialize a new instance of the class Storage class.
|
|
476
|
-
* @param client Reference to the service client
|
|
477
|
-
*/
|
|
478
|
-
constructor(client: QuantumJobClient);
|
|
479
|
-
/**
|
|
480
|
-
* Gets a URL with SAS token for a container/blob in the storage account associated with the workspace.
|
|
481
|
-
* The SAS URL can be used to upload job input and/or download job output.
|
|
482
|
-
* @param blobDetails The details (name and container) of the blob to store or download data.
|
|
483
|
-
* @param options The options parameters.
|
|
484
|
-
*/
|
|
485
|
-
sasUri(blobDetails: BlobDetails, options?: coreHttp.OperationOptions): Promise<StorageSasUriResponse>;
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
/** Contains response data for the sasUri operation. */
|
|
489
|
-
export declare type StorageSasUriResponse = SasUriResponse & {
|
|
490
|
-
/** The underlying HTTP response. */
|
|
491
|
-
_response: coreHttp.HttpResponse & {
|
|
492
|
-
/** The response body as text (string format) */
|
|
493
|
-
bodyAsText: string;
|
|
494
|
-
/** The response body as parsed JSON or XML */
|
|
495
|
-
parsedBody: SasUriResponse;
|
|
496
|
-
};
|
|
497
|
-
};
|
|
498
|
-
|
|
499
|
-
/**
|
|
500
|
-
* Defines values for TargetAvailability. \
|
|
501
|
-
* {@link KnownTargetAvailability} can be used interchangeably with TargetAvailability,
|
|
502
|
-
* this enum contains the known values that the service supports.
|
|
503
|
-
* ### Know values supported by the service
|
|
504
|
-
* **Available** \
|
|
505
|
-
* **Degraded** \
|
|
506
|
-
* **Unavailable**
|
|
507
|
-
*/
|
|
508
|
-
export declare type TargetAvailability = string;
|
|
509
|
-
|
|
510
|
-
/** Target status. */
|
|
511
|
-
export declare interface TargetStatus {
|
|
512
|
-
/**
|
|
513
|
-
* Target id.
|
|
514
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
515
|
-
*/
|
|
516
|
-
readonly id?: string;
|
|
517
|
-
/**
|
|
518
|
-
* Target availability.
|
|
519
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
520
|
-
*/
|
|
521
|
-
readonly currentAvailability?: TargetAvailability;
|
|
522
|
-
/**
|
|
523
|
-
* Average queue time in seconds.
|
|
524
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
525
|
-
*/
|
|
526
|
-
readonly averageQueueTime?: number;
|
|
527
|
-
/**
|
|
528
|
-
* A page with detailed status of the provider.
|
|
529
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
530
|
-
*/
|
|
531
|
-
readonly statusPage?: string;
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
export { }
|