-
Notifications
You must be signed in to change notification settings - Fork 5.7k
API for usages by VM family, Workspace & Compute #5910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
9bc0249
API for usages by VM family, Workspace & Compute
kanpilot b55b01c
Fix casing and description
kanpilot 2a8a96f
Fix version in readmes
kanpilot 880a0cc
Fix one more minor version change
kanpilot ce1f8ea
Changed scenario name to be unique
kanpilot cf7adf9
Fixing lint diff errors
kanpilot cbfb276
Fix parameter issue in example
kanpilot 43a84c2
Changing status to 200
kanpilot edac207
tring a different name for API
kanpilot 42a30a9
putting allOf on top and setting type as object
kanpilot 187b62d
using a diferent name for usage
kanpilot b778ceb
add resoureGropuName to a path to see error picks
kanpilot 818fb99
Attempting another name change
kanpilot b2f6361
adding type object to Usage base definition
kanpilot 93f144c
add back package-2018-03-preview
jhendrixMSFT 6785f7b
fix Go SDK package path
jhendrixMSFT File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
298 changes: 298 additions & 0 deletions
298
...rosoft.MachineLearningServices/stable/2018-11-19/examples/ListUsagesByVMFamilyResult.json
This file contains hidden or 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,298 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
| "location": "eastus", | ||
| "api-version": "2018-11-19" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 2, | ||
| "limit": 100, | ||
| "name": { | ||
| "value": "Clusters", | ||
| "localizedValue": "Clusters" | ||
| }, | ||
| "resourceType": "TotalClusters", | ||
| "resourceGroupName": "rg" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 6, | ||
| "limit": 24, | ||
| "name": { | ||
| "value": "Total Cluster Dedicated Regional vCPUs", | ||
| "localizedValue": "Total Cluster Dedicated Regional vCPUs" | ||
| }, | ||
| "resourceType": "TotalDedicatedCores" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": 48, | ||
| "name": { | ||
| "value": "Standard D Family Cluster Dedicated vCPUs", | ||
| "localizedValue": "Standard D Family Cluster Dedicated vCPUs" | ||
| }, | ||
| "resourceType": "VMFamily" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": 24, | ||
| "name": { | ||
| "value": "Standard DSv2 Family Cluster Dedicated vCPUs", | ||
| "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" | ||
| }, | ||
| "resourceType": "VMFamily" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": 24, | ||
| "name": { | ||
| "value": "Standard Dv2 Family Cluster Dedicated vCPUs", | ||
| "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs" | ||
| }, | ||
| "resourceType": "VMFamily" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": 24, | ||
| "name": { | ||
| "value": "Standard FSv2 Family Cluster Dedicated vCPUs", | ||
| "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" | ||
| }, | ||
| "resourceType": "VMFamily" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 6, | ||
| "limit": 24, | ||
| "name": { | ||
| "value": "Standard NC Family Cluster Dedicated vCPUs", | ||
| "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" | ||
| }, | ||
| "usageBreakdown": [ | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 6, | ||
| "limit": 24, | ||
| "name": { | ||
| "value": "Workspace1", | ||
| "localizedValue": "Workspace1" | ||
| }, | ||
| "usageBreakdown": [ | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 6, | ||
| "limit": 24, | ||
| "name": { | ||
| "value": "Compute1", | ||
| "localizedValue": "Compute1" | ||
| }, | ||
| "resourceType": "Cluster", | ||
| "resourceGroupName": "rg" | ||
| } | ||
| ], | ||
| "resourceType": "Workspace", | ||
| "resourceGroupName": "rg" | ||
| } | ||
| ], | ||
| "resourceType": "VMFamily" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": 0, | ||
| "name": { | ||
| "value": "Standard NCv2 Family Cluster Dedicated vCPUs", | ||
| "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs" | ||
| }, | ||
| "resourceType": "VMFamily" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": 0, | ||
| "name": { | ||
| "value": "Standard NCv3 Family Cluster Dedicated vCPUs", | ||
| "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs" | ||
| }, | ||
| "resourceType": "VMFamily" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": 0, | ||
| "name": { | ||
| "value": "Standard ND Family Cluster Dedicated vCPUs", | ||
| "localizedValue": "Standard ND Family Cluster Dedicated vCPUs" | ||
| }, | ||
| "resourceType": "VMFamily" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": 0, | ||
| "name": { | ||
| "value": "Standard NDv2 Family Cluster Dedicated vCPUs", | ||
| "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" | ||
| }, | ||
| "resourceType": "VMFamily" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": 24, | ||
| "name": { | ||
| "value": "Standard NV Family Cluster Dedicated vCPUs", | ||
| "localizedValue": "Standard NV Family Cluster Dedicated vCPUs" | ||
| }, | ||
| "resourceType": "VMFamily" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": 50, | ||
| "name": { | ||
| "value": "Total Cluster LowPriority Regional vCPUs", | ||
| "localizedValue": "Total Cluster Low Priority Regional vCPUs" | ||
| }, | ||
| "resourceType": "TotalLowPriorityCores" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": -1, | ||
| "name": { | ||
| "value": "Standard D Family Cluster LowPriority vCPUs", | ||
| "localizedValue": "Standard D Family Cluster Low Priority vCPUs" | ||
| }, | ||
| "resourceType": "VMFamily" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": -1, | ||
| "name": { | ||
| "value": "Standard DSv2 Family Cluster LowPriority vCPUs", | ||
| "localizedValue": "Standard DSv2 Family Cluster Low Priority vCPUs" | ||
| }, | ||
| "resourceType": "VMFamily" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": -1, | ||
| "name": { | ||
| "value": "Standard Dv2 Family Cluster LowPriority vCPUs", | ||
| "localizedValue": "Standard Dv2 Family Cluster Low Priority vCPUs" | ||
| }, | ||
| "resourceType": "VMFamily" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": -1, | ||
| "name": { | ||
| "value": "Standard FSv2 Family Cluster LowPriority vCPUs", | ||
| "localizedValue": "Standard FSv2 Family Cluster Low Priority vCPUs" | ||
| }, | ||
| "resourceType": "VMFamily" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": -1, | ||
| "name": { | ||
| "value": "Standard NC Family Cluster LowPriority vCPUs", | ||
| "localizedValue": "Standard NC Family Cluster Low Priority vCPUs" | ||
| }, | ||
| "usageBreakdown": [ | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": -1, | ||
| "name": { | ||
| "value": "Workspace2", | ||
| "localizedValue": "Workspace2" | ||
| }, | ||
| "usageBreakdown": [ | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": -1, | ||
| "name": { | ||
| "value": "Compute2", | ||
| "localizedValue": "Compute2" | ||
| }, | ||
| "resourceType": "Cluster", | ||
| "resourceGroupName": "rg" | ||
| } | ||
| ], | ||
| "resourceType": "Workspace", | ||
| "resourceGroupName": "rg" | ||
| } | ||
| ], | ||
| "resourceType": "VMFamily" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": -1, | ||
| "name": { | ||
| "value": "Standard NCv2 Family Cluster LowPriority vCPUs", | ||
| "localizedValue": "Standard NCv2 Family Cluster Low Priority vCPUs" | ||
| }, | ||
| "resourceType": "VMFamily" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": -1, | ||
| "name": { | ||
| "value": "Standard NCv3 Family Cluster LowPriority vCPUs", | ||
| "localizedValue": "Standard NCv3 Family Cluster Low Priority vCPUs" | ||
| }, | ||
| "resourceType": "VMFamily" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": -1, | ||
| "name": { | ||
| "value": "Standard ND Family Cluster LowPriority vCPUs", | ||
| "localizedValue": "Standard ND Family Cluster Low Priority vCPUs" | ||
| }, | ||
| "resourceType": "VMFamily" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": -1, | ||
| "name": { | ||
| "value": "Standard NDv2 Family Cluster LowPriority vCPUs", | ||
| "localizedValue": "Standard NDv2 Family Cluster Low Priority vCPUs" | ||
| }, | ||
| "resourceType": "VMFamily" | ||
| }, | ||
| { | ||
| "unit": "Count", | ||
| "currentValue": 0, | ||
| "limit": -1, | ||
| "name": { | ||
| "value": "Standard NV Family Cluster LowPriority vCPUs", | ||
| "localizedValue": "Standard NV Family Cluster Low Priority vCPUs" | ||
| }, | ||
| "resourceType": "VMFamily" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the swagger,
resourceTypeandresourceGroupNameare supposed to be under apropertieskey like this.This is causing model validation failures, see the log.
Comment applies to all items in the array.