forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.Quantum to add version p…
…review/2019-11-04-preview (Azure#11266) * New Readme Config File * New Go Language Readme Config File * New Typescript Language Readme Config File * New Python Language Readme Config File * New C# Language Readme Config File * New Ruby Language Readme Config File * New Swagger Spec File * New Swagger Example Spec File * New Swagger for Azure Quantum RP * Adding MSI fields * Incorporating ARM feedback (#1) * Picking up changes from RPSaaS. * -ruby * go * clean up readme config * -java * preview path * python version * incorporate feedback * read-only * ids * prettier * removing patch * addressing feedback * prettier fix * removing tags - coming from TrackedResource * un-referencing trackedresource * adding patch, referring to the common-type tracked resource * prettier fix * Adds suppression to readme * Adds suppression to readme Co-authored-by: Adele Bai <adbai@microsoft.com> Co-authored-by: Mahmut Burak Senol <masenol@microsoft.com> Co-authored-by: masenol <54191670+masenol@users.noreply.github.com>
- Loading branch information
1 parent
12a1dc8
commit 65e3640
Showing
13 changed files
with
1,481 additions
and
0 deletions.
There are no files selected for viewing
87 changes: 87 additions & 0 deletions
87
...resource-manager/Microsoft.Quantum/preview/2019-11-04-preview/examples/offeringsList.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,87 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "1C4B2828-7D49-494F-933D-061373BE28C2", | ||
"api-version": "2019-11-04-preview", | ||
"locationName": "westus2" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "QIO", | ||
"name": "Quantum Inspired Optimization", | ||
"properties": { | ||
"description": "Provide Quantum Inspired Optimization solvers", | ||
"targets": [ | ||
{ | ||
"name": "CPU annealer", | ||
"id": "p1", | ||
"description": "CPU annealer algorithm" | ||
} | ||
], | ||
"skus": [ | ||
{ | ||
"name": "Standard", | ||
"id": "Standard", | ||
"description": "Provider CPU and FPGA QIO based solver.", | ||
"targets": [ | ||
"p1" | ||
], | ||
"quotaDimensions": [ | ||
{ | ||
"id": "quota1", | ||
"scope": "Workspace" | ||
} | ||
], | ||
"pricingDetails": [ | ||
{ | ||
"id": "price", | ||
"value": "200 dollars" | ||
}, | ||
{ | ||
"id": "rate", | ||
"value": "10 hours/month" | ||
} | ||
] | ||
} | ||
], | ||
"quotaDimensions": [ | ||
{ | ||
"id": "job-count", | ||
"scope": "Workspace", | ||
"period": "Monthly", | ||
"quota": 30, | ||
"name": "Job count", | ||
"description": "The number of jobs you may submit per month", | ||
"unit": "job", | ||
"unitPlural": "jobs" | ||
}, | ||
{ | ||
"id": "job-hour", | ||
"scope": "Subscription", | ||
"period": "Monthly", | ||
"quota": 1000, | ||
"name": "Job hours", | ||
"description": "The number of hours of solver time you may use per month", | ||
"unit": "hour", | ||
"unitPlural": "hours" | ||
} | ||
], | ||
"pricingDimensions": [ | ||
{ | ||
"id": "price", | ||
"name": "Pricing" | ||
}, | ||
{ | ||
"id": "rate", | ||
"name": "Minimum monthly rate" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...anager/Microsoft.Quantum/preview/2019-11-04-preview/examples/quantumWorkspacesDelete.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,17 @@ | ||
{ | ||
"parameters": { | ||
"workspaceName": "quantumworkspace1", | ||
"resourceGroupName": "quantumResourcegroup", | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"api-version": "2019-11-04-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"description": "Successful." | ||
}, | ||
"202": { | ||
"description": "Workspace delete request accepted." | ||
}, | ||
"204": {} | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
...e-manager/Microsoft.Quantum/preview/2019-11-04-preview/examples/quantumWorkspacesGet.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,58 @@ | ||
{ | ||
"parameters": { | ||
"workspaceName": "quantumworkspace1", | ||
"resourceGroupName": "quantumResourcegroup", | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"api-version": "2019-11-04-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/Workspaces/quantumworkspace1", | ||
"name": "quantumworkspace1", | ||
"type": "Microsoft.Quantum/Workspaces", | ||
"properties": { | ||
"providers": [ | ||
{ | ||
"providerId": "Honeywell", | ||
"providerSku": "Basic", | ||
"applicationName": "quantumworkspace1-h1", | ||
"instanceUri": "https://h1.endpoint.com", | ||
"provisioningState": "Succeeded", | ||
"resourceUsageId": "00000000-1111-2222-3333-444444444444" | ||
}, | ||
{ | ||
"providerId": "IonQ", | ||
"provisioningState": "Succeeded", | ||
"applicationName": "quantumworkspace1-i1", | ||
"instanceUri": "https://i1.endpoint.com", | ||
"providerSku": "Basic", | ||
"resourceUsageId": "00000000-1111-2222-3333-444444444444" | ||
}, | ||
{ | ||
"providerId": "OneQBit", | ||
"provisioningState": "Succeeded", | ||
"applicationName": "quantumworkspace1-o1", | ||
"instanceUri": "https://o1.endpoint.com", | ||
"providerSku": "Basic", | ||
"resourceUsageId": "00000000-1111-2222-3333-444444444444" | ||
} | ||
], | ||
"provisioningState": "Succeeded", | ||
"usable": "Yes", | ||
"storageAccount": "/subscriptions/1C4B2828-7D49-494F-933D-061373BE28C2/resourceGroups/quantumResourcegroup/providers/Microsoft.Storage/storageAccounts/testStorageAccount" | ||
}, | ||
"location": "West US", | ||
"tags": { | ||
"department": "MightyMight", | ||
"company": "Contoso" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "00000000-1111-2222-3333-444444444444", | ||
"tenantId": "00000000-1111-2222-3333-444444444444" | ||
} | ||
} | ||
} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...osoft.Quantum/preview/2019-11-04-preview/examples/quantumWorkspacesListResourceGroup.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,45 @@ | ||
{ | ||
"parameters": { | ||
"resourceGroupName": "quantumResourcegroup", | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"api-version": "2019-11-04-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/Workspaces/quantumworkspace1", | ||
"name": "quantumworkspace1", | ||
"type": "Microsoft.Quantum/Workspaces", | ||
"properties": { | ||
"providers": [ | ||
{ | ||
"providerId": "Honeywell", | ||
"providerSku": "Basic", | ||
"applicationName": "quantumworkspace1-h1", | ||
"instanceUri": "https://h1.endpoint.com", | ||
"provisioningState": "Succeeded", | ||
"resourceUsageId": "00000000-1111-2222-3333-444444444444" | ||
} | ||
], | ||
"provisioningState": "Succeeded", | ||
"usable": "Yes", | ||
"storageAccount": "/subscriptions/1C4B2828-7D49-494F-933D-061373BE28C2/resourceGroups/quantumResourcegroup/providers/Microsoft.Storage/storageAccounts/testStorageAccount" | ||
}, | ||
"location": "West US", | ||
"tags": { | ||
"department": "MightyMight", | ||
"company": "Contoso" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "00000000-1111-2222-3333-444444444444", | ||
"tenantId": "00000000-1111-2222-3333-444444444444" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...rosoft.Quantum/preview/2019-11-04-preview/examples/quantumWorkspacesListSubscription.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,44 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"api-version": "2019-11-04-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/Workspaces/quantumworkspace1", | ||
"name": "quantumworkspace1", | ||
"type": "Microsoft.Quantum/Workspaces", | ||
"properties": { | ||
"providers": [ | ||
{ | ||
"providerId": "Honeywell", | ||
"providerSku": "Basic", | ||
"applicationName": "quantumworkspace1-h1", | ||
"instanceUri": "https://h1.endpoint.com", | ||
"provisioningState": "Succeeded", | ||
"resourceUsageId": "00000000-1111-2222-3333-444444444444" | ||
} | ||
], | ||
"provisioningState": "Succeeded", | ||
"usable": "Yes", | ||
"storageAccount": "/subscriptions/1C4B2828-7D49-494F-933D-061373BE28C2/resourceGroups/quantumResourcegroup/providers/Microsoft.Storage/storageAccounts/testStorageAccount" | ||
}, | ||
"location": "West US", | ||
"tags": { | ||
"department": "MightyMight", | ||
"company": "Contoso" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "00000000-1111-2222-3333-444444444444", | ||
"tenantId": "00000000-1111-2222-3333-444444444444" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
64 changes: 64 additions & 0 deletions
64
...manager/Microsoft.Quantum/preview/2019-11-04-preview/examples/quantumWorkspacesPatch.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,64 @@ | ||
{ | ||
"parameters": { | ||
"workspaceName": "quantumworkspace1", | ||
"resourceGroupName": "quantumResourcegroup", | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"api-version": "2019-11-04-preview", | ||
"workspaceTags": { | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/quantumResourcegroup/providers/Microsoft.Quantum/Workspaces/quantumworkspace1", | ||
"name": "quantumworkspace1", | ||
"type": "Microsoft.Quantum/Workspaces", | ||
"properties": { | ||
"providers": [ | ||
{ | ||
"providerId": "Honeywell", | ||
"providerSku": "Basic", | ||
"applicationName": "quantumworkspace1-h1", | ||
"instanceUri": "https://h1.endpoint.com", | ||
"provisioningState": "Succeeded", | ||
"resourceUsageId": "00000000-1111-2222-3333-444444444444" | ||
}, | ||
{ | ||
"providerId": "IonQ", | ||
"provisioningState": "Succeeded", | ||
"applicationName": "quantumworkspace1-i1", | ||
"instanceUri": "https://i1.endpoint.com", | ||
"providerSku": "Basic", | ||
"resourceUsageId": "00000000-1111-2222-3333-444444444445" | ||
}, | ||
{ | ||
"providerId": "OneQBit", | ||
"provisioningState": "Succeeded", | ||
"applicationName": "quantumworkspace1-o1", | ||
"instanceUri": "https://o1.endpoint.com", | ||
"providerSku": "Basic", | ||
"resourceUsageId": "00000000-1111-2222-3333-444444444446" | ||
} | ||
], | ||
"provisioningState": "Succeeded", | ||
"usable": "Yes", | ||
"storageAccount": "/subscriptions/1C4B2828-7D49-494F-933D-061373BE28C2/resourceGroups/quantumResourcegroup/providers/Microsoft.Storage/storageAccounts/testStorageAccount" | ||
}, | ||
"location": "West US", | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"principalId": "00000000-1111-2222-3333-444444444444", | ||
"tenantId": "00000000-1111-2222-3333-444444444444" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.