azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

get_effective_route_table is misleading

Open BenMatase opened this issue 6 years ago • 3 comments

Is your feature request related to a problem? Please describe. When looking through the documentation here about networkmanagementclient.network_interfaces.get_effective_route_table, I noticed that what it actually returns (after some object wrappers), are EffectiveRoutes. I was expecting for a method like that to return the route tables that the network interface is associated with. The documentation even states that the route tables are returned when they are not: "Gets all route tables applied to a network interface."

Describe the solution you'd like I think that the method should be renamed to get_effective_routes or something that indicates that the corresponding routes are being returned, not the route tables. The docs should also be updated.

Describe alternatives you've considered Change the functionality to get the route tables or add another api, but I understand that is a lot to ask.

Additional context I was looking at the api v2020_04_01 docs and I checked a couple other versions, but they all seem to have this issue.

BenMatase avatar May 26 '20 20:05 BenMatase

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @aznetsuppgithub.

ghost avatar May 26 '20 22:05 ghost

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @aznetsuppgithub.

ghost avatar May 28 '20 16:05 ghost

Closing. Please follow https://github.com/Azure/azure-rest-api-specs/issues/9589 for further updates.

timMSFT avatar May 28 '20 18:05 timMSFT