devigned / profile-playground

2 stars 1 forks source link

Need an improved mechanism for using resource operations from a particular Api Version #12

Open markcowl opened 7 years ago

markcowl commented 7 years ago

It is a supported scenario to use a Profile, but use a single set of resource models and operations outside the profile. This supports a couple of scenarios:

Right now, you can instantiate a ResourceOperations class using the AzureClient, but I wonder if we shouldn't have extension methods (GetManagedDiskOperations(this IAzureClient client) that would mean simply including the correct namespace to discover).

devigned commented 7 years ago

These operations would be decorated onto the client, so they could be accessed off of the client simply by including that API version operation's namespace, right?