-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add quota apis to MFE 20250101-preview (#31885)
* Add quota apis * add location in swagger * add list available quota * add AvailableQuotaArmPaginatedResult * add location param * location param in examples * replace with location parameters * Removes azure-resource-manager-schemas from SDK automation. It can be re-added without reverting this commit. (#30893) (#31918) This change produces an extra warning but no obvious new errors. --------- Co-authored-by: Daniel Jurek <[email protected]>
- Loading branch information
1 parent
3e7af1e
commit 518e524
Showing
5 changed files
with
349 additions
and
0 deletions.
There are no files selected for viewing
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,27 @@ | ||
name: SpellCheck | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
spellcheck: | ||
name: SpellCheck | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: Run spelling check | ||
run: | | ||
./eng/common/scripts/check-spelling-in-changed-files.ps1 ` | ||
-CSpellConfigPath 'cSpell.json' ` | ||
-SourceCommittish HEAD ` | ||
-TargetCommittish HEAD^ ` | ||
-ExitWithError | ||
if ($LASTEXITCODE) { | ||
Write-Host "Spelling errors found in changed files. See https://aka.ms/ci-fix#spell-check" | ||
exit $LASTEXITCODE | ||
} | ||
shell: pwsh |
17 changes: 17 additions & 0 deletions
17
...ft.MachineLearningServices/preview/2025-01-01-preview/examples/PTUQuota/getAvailable.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": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"location": "location", | ||
"api-version": "2025-01-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"properties": { | ||
"total": 1 | ||
} | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
.../Microsoft.MachineLearningServices/preview/2025-01-01-preview/examples/PTUQuota/list.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,31 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"location": "location", | ||
"api-version": "2025-01-01-preview", | ||
"$skipToken": "string" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"modelCollection": "string", | ||
"quota": 1, | ||
"usageDetails": [ | ||
{ | ||
"resourceGroup": "string", | ||
"workspaceName": "string", | ||
"deploymentName": "string", | ||
"usage": 1, | ||
"collectionQuotaUsage": 1 | ||
} | ||
] | ||
} | ||
], | ||
"nextLink": "string" | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...t.MachineLearningServices/preview/2025-01-01-preview/examples/PTUQuota/listAvailable.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,23 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"location": "location", | ||
"api-version": "2025-01-01-preview", | ||
"$skipToken": "string" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"total": 1 | ||
} | ||
} | ||
], | ||
"nextLink": "string" | ||
} | ||
} | ||
} | ||
} |
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