-
Notifications
You must be signed in to change notification settings - Fork 865
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
Generate a function to get a resource ID without calling Azure #442
Comments
A fluent construction would be interesting as well.
|
This is a great idea, but we'll need to figure out how this relates to the Swaggers to prevent adding too tight of a coupling between our generator and Azure Swaggers. Perhaps this is an example of a place where a Swagger extension could be helpful? For now, this goes on the Backlog. |
duplicate of #322, closing |
Right now, some methods will require a resource ID, and the way to get it is with Get methods that will return a struct containing the ID. Still, the resource ID can be built easily (and without sending a request to Azure) with
fmt.Sprintf
, similar to this.It would be cool if AutoRest generated functions like this one for resources...
cc @colemickens
The text was updated successfully, but these errors were encountered: