Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.Quantum to add version p…
Browse files Browse the repository at this point in the history
…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
4 people authored Jan 18, 2021
1 parent 12a1dc8 commit 65e3640
Show file tree
Hide file tree
Showing 13 changed files with 1,481 additions and 0 deletions.
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"
}
]
}
}
]
}
}
}
}
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": {}
}
}
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"
}
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
}
}
}
Loading

0 comments on commit 65e3640

Please sign in to comment.