Operations Management client problems #1333
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Operations Management
Hi,
Context
I recently worked with a team who are using Terraform to deploy AKS and wanted to enable Log Analytics Container Monitoring solution as well. As part of the work I created a Terraform resource for the RP but spotted a couple of odd things along that way which I had to work around.
Issues
The client seems to take in an odd set of input into it's "New Client" method which I wouldn't expect to see. I was able to work around this by passing in some values like this but I don't think this should be required. I wasn't able to tell from the swagger definition why this was happening so I assumed it was in the codegen but it's very likely I missed something.
When calling the CreateOrUpdate the
err
returned is non-nil even if the create request succeeds.This appears to be because the swagger doc it wrong. The service returns a "201 Created" and the docs suggest it returns a 200
Request Created
Response Received
The text was updated successfully, but these errors were encountered: