Skip to content
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

Support "importing" resourceType and apiVersion mappings for specific resource types #16

Closed
alex-frankel opened this issue Jun 1, 2020 · 5 comments
Labels
discussion This is a discussion issue and not a change proposal. enhancement New feature or request

Comments

@alex-frankel
Copy link
Collaborator

can we allow for import of resourceType and/or apiVersion combinations for end users to declare resources without worrying as much about those details? essentially modules for types & apiVersions

@bterlson
Copy link
Member

bterlson commented Jun 1, 2020

Resource types and versions feel a bit different to me. Resource types can be implicit. Versions need to be explicit somewhere, somehow. The biggest problem with versioning in the current ARM language is how they need to be sprinkled everywhere. You could imagine having a top-level apiVersion declaration for each RP so it's super clear and explicit what api versions are being used but isn't super verbose?

FWIW for the JS prototype I was considering opting into versions based on the particular package version for the RP you installed (e.g. @azure/arm-storage@1.0.0 maps to api version 2019-12-01).

@alex-frankel
Copy link
Collaborator Author

alex-frankel commented Jun 1, 2020

can you talk a little bit more about how resource types can be implicit? What would be an example of that?

@alex-frankel alex-frankel added discussion This is a discussion issue and not a change proposal. enhancement New feature or request labels Sep 9, 2020
@alex-frankel
Copy link
Collaborator Author

Need more clarity on how important this is and how much modules could potentially help with this problem

@slavizh
Copy link
Contributor

slavizh commented Sep 10, 2020

Made suggestion in #413 that might be related to this.

@alex-frankel
Copy link
Collaborator Author

Closing and tracking with #622

@ghost ghost locked as resolved and limited conversation to collaborators May 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
discussion This is a discussion issue and not a change proposal. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants