Skip to content

Update to Resource Skus to retrieve vm size data#2294

Merged
cRui861 merged 7 commits intomasterfrom
feature/resource-skus
Mar 12, 2021
Merged

Update to Resource Skus to retrieve vm size data#2294
cRui861 merged 7 commits intomasterfrom
feature/resource-skus

Conversation

@cRui861
Copy link
Member

@cRui861 cRui861 commented Mar 10, 2021

Update to resourceSKU API data (https://docs.microsoft.com/en-us/rest/api/compute/resourceskus/list#resourcesku) to retrieve VM size information.

  • Add numberOfGpus to vm size model for GPU data retrieval
  • Add tests for bad response data and extra capabilities response data

@codecov
Copy link

codecov bot commented Mar 10, 2021

Codecov Report

Merging #2294 (eb752f3) into master (597db9a) will increase coverage by 0.06%.
The diff coverage is 94.64%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2294      +/-   ##
==========================================
+ Coverage   65.19%   65.25%   +0.06%     
==========================================
  Files         903      904       +1     
  Lines       25712    25748      +36     
  Branches     5105     5110       +5     
==========================================
+ Hits        16763    16802      +39     
+ Misses       8949     8946       -3     
Impacted Files Coverage Δ
...tch-flask/core/data/entity-getter/entity-getter.ts 93.33% <ø> (ø)
.../@batch-flask/core/data/list-getter/list-getter.ts 97.87% <ø> (ø)
src/@batch-flask/core/record/decorators.ts 89.65% <ø> (ø)
src/@batch-flask/extensions/array.ts 94.73% <ø> (ø)
src/@batch-flask/extensions/string.ts 100.00% <ø> (ø)
src/@batch-flask/ui/form/input/input.directive.ts 82.89% <ø> (ø)
src/@batch-flask/ui/loading/loading.component.ts 75.00% <0.00%> (ø)
...h-flask/ui/testing/editor/editor.testing.module.ts 76.47% <ø> (ø)
...ces/azure-batch/certificate/certificate.service.ts 70.78% <ø> (ø)
...s/azure-batch/job-schedule/job-schedule.service.ts 54.54% <ø> (ø)
... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 286a2c8...1ee8e66. Read the comment docs.

@cRui861 cRui861 force-pushed the feature/resource-skus branch from 3bd1ebf to ee739ad Compare March 10, 2021 23:11
@gingi gingi force-pushed the feature/resource-skus branch from d53d696 to 1ee8e66 Compare March 12, 2021 21:41
@cRui861 cRui861 merged commit 5f70ba7 into master Mar 12, 2021
@cRui861 cRui861 deleted the feature/resource-skus branch March 12, 2021 23:22
@cRui861 cRui861 linked an issue Mar 16, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Switch to Resource Sku API for VM size retrieval

3 participants