Closed blaqvikin closed 9 months ago
Hello @blaqvikin,
Thank you for your feedback. When you create a Custom Component, you must specify those in an array when calling the API.
Your payload should look similar to the following:
{ "resourceEnvironment": "nonprod", "resourceFunction": "security", "resourceLocation": "san", "resourceType": "nsg", "customComponents": { "ResourceTypeSubset": "subn", "ResourceIdentifier": "db" } }
Hope this helps!
Awesome, thanks @BryanSoltis it works.
Describe the bug I am experiencing an issue when calling the API via rest method, I get the error that some required resources have no values provided. Actual error "Invoke-RestMethod: {"resourceName":"RESOURCE NAME NOT GENERATED","message":"You must supply the required components. ResourceIdentifier value was not provided. ResourceTypeSubset value was not provided. ResourceEnvironments value was not provided. ","success":false}"
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect to see the generated name, this worked well up until yesterday the 25th of September 2023
Screenshots I've attached a screenshot of my config as well as the error from VSCode
Installation Method I am running this from container app.
Additional context Add any other context about the problem here.![Selected September 26 2023 13:53:37](https://github.com/mspnp/AzureNamingTool/assets/59708914/201965cf-2414-4dcf-bcbf-8fa600b0c4bf)