-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Publish private branch 'feature/DP-workspace-key' (#2…
…7238) * Use the previous version as the base * Add auth header * fix typo * Add a description * fix reference error * remove fake uri --------- Co-authored-by: Yi Gu <[email protected]>
- Loading branch information
1 parent
9c45d1a
commit b03cc64
Showing
16 changed files
with
2,192 additions
and
1 deletion.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
...n/quantum/data-plane/Microsoft.Quantum/preview/2023-11-13-preview/examples/jobDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"azureRegion": "eastus", | ||
"api-version": "2023-11-13-preview", | ||
"jobId": "a0f7adb6-0378-11eb-9463-2816a847b9a3", | ||
"resourceGroupName": "quantumResourcegroup", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"workspaceName": "quantumworkspace1" | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
57 changes: 57 additions & 0 deletions
57
...tion/quantum/data-plane/Microsoft.Quantum/preview/2023-11-13-preview/examples/jobGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"parameters": { | ||
"azureRegion": "eastus", | ||
"api-version": "2023-11-13-preview", | ||
"jobId": "a0f7adb6-0378-11eb-9463-2816a847b9a3", | ||
"resourceGroupName": "quantumResourcegroup", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"workspaceName": "quantumworkspace1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "tabu-demo", | ||
"id": "a0f7adb6-0378-11eb-9463-2816a847b9a3", | ||
"itemType": "Job", | ||
"jobType": "Optimization", | ||
"beginExecutionTime": "2020-09-30T23:57:11.5659691Z", | ||
"cancellationTime": null, | ||
"containerUri": "fake-uri", | ||
"creationTime": "2020-09-30T23:57:02.3737928+00:00", | ||
"endExecutionTime": "2020-09-30T23:57:11.6180743Z", | ||
"errorData": null, | ||
"inputDataFormat": "microsoft.qio.v2", | ||
"inputDataUri": "fake-uri", | ||
"inputParams": { | ||
"params": { | ||
"sweeps": 300 | ||
} | ||
}, | ||
"metadata": null, | ||
"outputDataFormat": "microsoft.qio-results.v2", | ||
"outputDataUri": "fake-uri", | ||
"providerId": "microsoft", | ||
"status": "Succeeded", | ||
"target": "microsoft.tabu.cpu", | ||
"costEstimate": { | ||
"currencyCode": "USD", | ||
"events": [ | ||
{ | ||
"dimensionId": "jobhours", | ||
"dimensionName": "Job Hours", | ||
"measureUnit": "Hours", | ||
"amountBilled": 0.5, | ||
"amountConsumed": 0.5, | ||
"unitPrice": 0.01 | ||
} | ||
], | ||
"estimatedTotal": 0.005 | ||
}, | ||
"tags": [ | ||
"tag1", | ||
"new" | ||
] | ||
} | ||
} | ||
} | ||
} |
140 changes: 140 additions & 0 deletions
140
...ion/quantum/data-plane/Microsoft.Quantum/preview/2023-11-13-preview/examples/jobList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
{ | ||
"parameters": { | ||
"azureRegion": "eastus", | ||
"api-version": "2023-11-13-preview", | ||
"resourceGroupName": "quantumResourcegroup", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"workspaceName": "quantumworkspace1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "tabu-demo", | ||
"id": "a0f7adb6-0378-11eb-9463-2816a847b9a3", | ||
"itemType": "Job", | ||
"jobType": "Optimization", | ||
"beginExecutionTime": "2020-09-30T23:57:11.5659691Z", | ||
"cancellationTime": null, | ||
"containerUri": "fake-uri", | ||
"creationTime": "2020-09-30T23:57:02.3737928+00:00", | ||
"endExecutionTime": "2020-09-30T23:57:11.6180743Z", | ||
"errorData": null, | ||
"inputDataFormat": "microsoft.qio.v2", | ||
"inputDataUri": "fake-uri", | ||
"inputParams": { | ||
"params": { | ||
"sweeps": 300 | ||
} | ||
}, | ||
"metadata": null, | ||
"outputDataFormat": "microsoft.qio-results.v2", | ||
"outputDataUri": "fake-uri", | ||
"providerId": "microsoft", | ||
"status": "Succeeded", | ||
"target": "microsoft.tabu.cpu", | ||
"tags": [ | ||
"tag1" | ||
] | ||
}, | ||
{ | ||
"id": "ab1aeddd-f191-4884-b8a9-13cdfa020fc6", | ||
"name": "Superposition: true", | ||
"itemType": "Job", | ||
"jobType": "QuantumComputing", | ||
"sessionId": "60ba7795-6a13-4630-aec0-260b3904378c", | ||
"beginExecutionTime": "2020-09-18T23:25:45.781389Z", | ||
"cancellationTime": null, | ||
"containerUri": "fake-uri", | ||
"creationTime": "2020-09-18T23:25:33.5541484+00:00", | ||
"endExecutionTime": "2020-09-18T23:25:53.911837Z", | ||
"errorData": null, | ||
"inputDataFormat": "microsoft.qci-ir.v1", | ||
"inputDataUri": "fake-uri", | ||
"inputParams": { | ||
"shots": "10" | ||
}, | ||
"metadata": { | ||
"entryPointInput": "true", | ||
"outputMappingBlobUri": "fake-uri" | ||
}, | ||
"outputDataFormat": "microsoft.quantum-results.v1", | ||
"outputDataUri": "fake-uri", | ||
"providerId": "qci", | ||
"quantumComputingData": { | ||
"count": 1 | ||
}, | ||
"status": "Succeeded", | ||
"target": "qci.simulator", | ||
"tags": [ | ||
"tag2" | ||
] | ||
}, | ||
{ | ||
"id": "5e32d41c-c3cd-45e9-b8c7-6b92ec768dfd", | ||
"name": "Superposition: true", | ||
"itemType": "Job", | ||
"jobType": "QuantumComputing", | ||
"sessionId": "60ba7795-6a13-4630-aec0-260b3904378c", | ||
"beginExecutionTime": "2020-09-18T23:25:45.781389Z", | ||
"cancellationTime": null, | ||
"containerUri": "fake-uri", | ||
"creationTime": "2020-09-18T23:25:33.5541484+00:00", | ||
"errorData": null, | ||
"inputDataFormat": "microsoft.qci-ir.v1", | ||
"inputDataUri": "fake-uri", | ||
"inputParams": { | ||
"shots": "10" | ||
}, | ||
"metadata": { | ||
"entryPointInput": "true", | ||
"outputMappingBlobUri": "fake-uri" | ||
}, | ||
"outputDataFormat": "microsoft.quantum-results.v1", | ||
"outputDataUri": "fake-uri", | ||
"providerId": "qci", | ||
"quantumComputingData": { | ||
"count": 4 | ||
}, | ||
"status": "Waiting", | ||
"target": "qci.simulator", | ||
"tags": [ | ||
"tag3" | ||
] | ||
}, | ||
{ | ||
"id": "f5387471-d6a8-4ee5-880e-2dbd0a1e58f0", | ||
"name": "QRNG", | ||
"itemType": "Job", | ||
"jobType": "Unknown", | ||
"sessionId": "a54a5d47-1591-4334-9c7b-7b692d5db26c", | ||
"beginExecutionTime": "2020-09-18T23:25:45.781389Z", | ||
"cancellationTime": null, | ||
"containerUri": "fake-uri", | ||
"creationTime": "2020-09-18T23:25:33.5541484+00:00", | ||
"errorData": null, | ||
"inputDataFormat": "microsoft.qci-ir.v1", | ||
"inputDataUri": "fake-uri", | ||
"inputParams": { | ||
"shots": "10" | ||
}, | ||
"metadata": { | ||
"entryPointInput": "true", | ||
"outputMappingBlobUri": "fake-uri" | ||
}, | ||
"outputDataFormat": "microsoft.quantum-results.v1", | ||
"outputDataUri": "fake-uri", | ||
"providerId": "qci", | ||
"status": "Waiting", | ||
"target": "qci.simulator", | ||
"tags": [ | ||
"tag3" | ||
] | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
...on/quantum/data-plane/Microsoft.Quantum/preview/2023-11-13-preview/examples/jobPatch.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"parameters": { | ||
"azureRegion": "eastus", | ||
"api-version": "2023-11-13-preview", | ||
"jobId": "a0f7adb6-0378-11eb-9463-2816a847b9a3", | ||
"resourceGroupName": "quantumResourcegroup", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"workspaceName": "quantumworkspace1", | ||
"patchJob": [ | ||
{ | ||
"op": "add", | ||
"path": "/tags/-", | ||
"value": "new_tag" | ||
}, | ||
{ | ||
"op": "remove", | ||
"path": "/tags/0" | ||
} | ||
] | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "tabu-demo", | ||
"id": "a0f7adb6-0378-11eb-9463-2816a847b9a3", | ||
"itemType": "Job", | ||
"jobType": "Optimization", | ||
"beginExecutionTime": "2020-09-30T23:57:11.5659691Z", | ||
"cancellationTime": null, | ||
"containerUri": "fake-uri", | ||
"creationTime": "2020-09-30T23:57:02.3737928+00:00", | ||
"endExecutionTime": "2020-09-30T23:57:11.6180743Z", | ||
"errorData": null, | ||
"inputDataFormat": "microsoft.qio.v2", | ||
"inputDataUri": "fake-uri", | ||
"inputParams": { | ||
"params": { | ||
"sweeps": 300 | ||
} | ||
}, | ||
"metadata": null, | ||
"outputDataFormat": "microsoft.qio-results.v2", | ||
"outputDataUri": "fake-uri", | ||
"providerId": "microsoft", | ||
"status": "Succeeded", | ||
"target": "microsoft.tabu.cpu", | ||
"tags": [ | ||
"tag2", | ||
"new_tag" | ||
] | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
95 changes: 95 additions & 0 deletions
95
...tion/quantum/data-plane/Microsoft.Quantum/preview/2023-11-13-preview/examples/jobPut.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
{ | ||
"parameters": { | ||
"azureRegion": "eastus", | ||
"api-version": "2023-11-13-preview", | ||
"jobId": "a0f7adb6-0378-11eb-9463-2816a847b9a3", | ||
"resourceGroupName": "quantumResourcegroup", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"workspaceName": "quantumworkspace1", | ||
"job": { | ||
"name": "tabu-demo", | ||
"id": "a0f7adb6-0378-11eb-9463-2816a847b9a3", | ||
"itemType": "Job", | ||
"containerUri": "fake-uri", | ||
"inputDataFormat": "microsoft.qio.v2", | ||
"inputDataUri": "fake-uri", | ||
"inputParams": { | ||
"params": { | ||
"sweeps": 300 | ||
} | ||
}, | ||
"outputDataFormat": "microsoft.qio-results.v2", | ||
"outputDataUri": "fake-uri", | ||
"providerId": "microsoft", | ||
"target": "microsoft.tabu.cpu", | ||
"tags": [ | ||
"tag1", | ||
"tag_2" | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "tabu-demo", | ||
"id": "a0f7adb6-0378-11eb-9463-2816a847b9a3", | ||
"itemType": "Job", | ||
"jobType": "Unknown", | ||
"beginExecutionTime": "2020-09-30T23:57:11.5659691Z", | ||
"cancellationTime": null, | ||
"containerUri": "fake-uri", | ||
"creationTime": "2020-09-30T23:57:02.3737928+00:00", | ||
"endExecutionTime": "2020-09-30T23:57:11.6180743Z", | ||
"errorData": null, | ||
"inputDataFormat": "microsoft.qio.v2", | ||
"inputDataUri": "fake-uri", | ||
"inputParams": { | ||
"params": { | ||
"sweeps": 300 | ||
} | ||
}, | ||
"metadata": null, | ||
"outputDataFormat": "microsoft.qio-results.v2", | ||
"outputDataUri": "fake-uri", | ||
"providerId": "microsoft", | ||
"status": "Succeeded", | ||
"target": "microsoft.tabu.cpu", | ||
"tags": [ | ||
"tag1", | ||
"tag_2" | ||
] | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"name": "tabu-demo", | ||
"id": "a0f7adb6-0378-11eb-9463-2816a847b9a3", | ||
"itemType": "Job", | ||
"jobType": "Unknown", | ||
"beginExecutionTime": "2020-09-30T23:57:11.5659691Z", | ||
"cancellationTime": null, | ||
"containerUri": "fake-uri", | ||
"creationTime": "2020-09-30T23:57:02.3737928+00:00", | ||
"endExecutionTime": "2020-09-30T23:57:11.6180743Z", | ||
"errorData": null, | ||
"inputDataFormat": "microsoft.qio.v2", | ||
"inputDataUri": "fake-uri", | ||
"inputParams": { | ||
"params": { | ||
"sweeps": 300 | ||
} | ||
}, | ||
"metadata": null, | ||
"outputDataFormat": "microsoft.qio-results.v2", | ||
"outputDataUri": "fake-uri", | ||
"providerId": "microsoft", | ||
"status": "Succeeded", | ||
"target": "microsoft.tabu.cpu", | ||
"tags": [ | ||
"tag1", | ||
"tag_2" | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.