-
Notifications
You must be signed in to change notification settings - Fork 162
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
Sorting resources in Farmer/Arm for ease of maintenance. #1098
base: master
Are you sure you want to change the base?
Conversation
@isaacabraham the project has gotten pretty big and needs a little more organization. I made a few changes here to reduce the dependencies between IArmResource modules and allow most of them to be alphabetically sorted. What do you think? Any recommendations to make it easier to navigate? |
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.
Thanks @ninjarobot, looks a fair bit tidier! I have a few small queries (in other threads).
|
||
let fileShares = | ||
ResourceType("Microsoft.Storage/storageAccounts/fileServices/shares", "2019-06-01") | ||
let fileShares = ResourceTypes.Storage.fileServices |
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.
Looks like this is wrong? I don't think it should be the same as the value above.
let routeTables = ResourceType("Microsoft.Network/routeTables", "2021-01-01") | ||
let routes = ResourceType("Microsoft.Network/routeTables/routes", "2021-01-01") | ||
|
||
let routeServers = ResourceType("Microsoft.Network/virtualHubs", "2022-11-01") |
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.
routeServers
and virtualHubs
sound quite different. What's the reason for the discrepancy?
@ninjarobot This looks good - assuming that the conflicts can be resolved + Matt's questions addressed? |
Yes, they can be, I will need to get back to this cleanup. |
The changes in this PR are as follows:
I have read the contributing guidelines and have completed the following: