Replace static Azure machine types with API based discovery

This issue has been created since 2021-12-06.

The Azure plugin determines the available machine types by using a set of json files included as plugin static resources.

https://github.com/nextflow-io/nextflow/tree/master/plugins/nf-azure/src/resources/nextflow/cloud/azure#L263-L263

However, this requires a to periodically update those files and release a new version of the plugin whenever a new machine type is made available.

The goal of this issue is to replace the JSON files is to retrieve the available machine types using the Azure API, cache this information for some hours (1 day?) in the $HOME/.nextflow/azure directory

abhi18av wrote this answer on 2022-06-28

Closing this one as it's captured here #2994 (with more context).

More Details About Repo
Owner Name nextflow-io
Repo Name nextflow
Full Name nextflow-io/nextflow
Language Groovy
Created Date 2013-03-27
Updated Date 2022-09-27
Star Count 1838
Watcher Count 80
Fork Count 473
Issue Count 293

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
simulation: API changes 0 2022-07-15 2022-08-22
Cables not out-putting proper transferRate 3 2022-06-24 2022-09-16
Import from 4CAT to DMI-TCAT 3 2022-03-02 2022-04-04
frontend won't run for more than a second (via docker) 2 2022-03-02 2022-08-02
[ENHANCEMENT]Need ARM64 Support 0 2022-09-11 2022-09-16
[BUG] Pro controller issues after uninstalling 0 2022-08-18 2022-09-16
[ENHANCEMENT] Turbo/autofire option 0 2022-08-22 2022-09-16
[JS Error] TypeError: Cannot read properties of null (reading 'get') 1 2022-04-30 2022-07-27
Chromedriver for Intel downloaded on Apple Silicon Mac 8 2022-04-06 2022-09-13
TypeError: init() got an unexpected keyword argument 'service' 2 2022-03-25 2022-09-13
Stress Test should not be running on the CI 2 2022-03-10 2022-09-16
Cropping and Resizing 2 2021-03-08 2022-09-09
byte-compile warnings 2 2020-10-24 2022-08-14
[macOS][11.4] ERROR: Error installing byebug 11.1.3 2 2021-07-16 2022-09-16
Data alignment + Dependent item 1 2021-11-22 2022-09-20
Apple login doesn't bring name, just email 6 2022-05-19 2022-09-16
Production error: allauth.socialaccount.providers.oauth2.client.OAuth2Error: Error retrieving access token 1 2022-05-19 2022-09-16
Select next slide easily 2 2021-07-19 2022-09-03
How to sample high-resolution images? 3 2021-06-29 2022-08-28
[Bug]: the order of exports is incorrect when converting ESM to CJS 1 2021-09-23 2022-09-14
BUG: Failures in Branch-Protection during release testing 8 2021-11-20 2022-09-16
Loom: VirtualThread suspend/resume support for JVMTI 0 2022-08-21 2022-08-28
Pull request template enhancement 0 2021-04-14 2022-09-14
Add a macro in CMake to automatically discover 'language' folders and add them 2 2021-04-13 2022-08-18
[DOCUMENTATION] Custom Transport README should be updated for dynamic linking 0 2021-08-10 2022-07-23
Fix compilation issue in examples/routing_service/routing_service_struct_array_transf/cpp/ 0 2021-04-13 2022-09-28
Can't use cFile on user profile 4 2017-10-11 2022-08-23
Passing waypoints to environment for training 2 2021-05-04 2022-09-27
GuzzleHttp autoloader conflicts 3 2021-08-27 2022-08-22
sentry: partial_index.go:205: unexpected error during partial index predicate type resolution: column × does not exist -- *errutil.leafError: unexpected error during partial index predicate type resolution: c... 1 2022-05-12 2022-07-15
kubelet metrics 5 2021-08-12 2021-12-23
Left justify pages that aren't full width 0 2021-02-21 2022-09-19
groups with more bulbs not working, cpu high, pi zero w 4 2021-10-02 2022-09-07
Color degeneration preprocessing layer 5 2022-02-02 2022-03-02
Re-evaluate the need for `label_smoothing` in CutMix 2 2022-01-30 2022-03-02
Add zstd support to utils/bazel 0 2022-07-14 2022-09-09
False positive on Global CSS Imports with symlinked packages 2 2022-09-26 2022-09-29
with-msw: unhandledRejection: Error [ERR_UNSUPPORTED_DIR_IMPORT] 2 2022-09-26 2022-09-29
Having two Head components inside _document.tsx causes weird error 1 2022-09-26 2022-09-29
format!("{}",Oid) hangs forever 0 2020-12-29 2022-08-31
Terraform : Failed to read variables file when using VarFiles 2 2022-04-21 2022-09-19
(core): allow to add custom TagFormatter 2 2022-03-22 2022-08-22
Genshiro reregister parachain 1 2022-07-06 2022-09-17
Webb rococo slot request 1 2022-07-04 2022-09-17
drone skip-if-unchanged logic wrong 0 2022-04-21 2022-09-08
issues after OS upgrade to ubuntu jammy (22.04) from focal (20.04.4) with backuppc v4.0.0 0 2022-05-10 2022-09-20
flutter line sdk-1.3.0 'flutter line sdk/flutter line sdk-Swift.h' file not found 3 2022-08-24 2022-09-16
Option to limit searches to cards that have been seen 0 2019-04-29 2022-09-06
Panel alignment is off on tablet 1 2022-06-16 2022-09-16
Yarn replace-fork should not silently error 3 2021-08-22 2022-09-21