.../services/storage/mgmt/2019-04-01/storage31.0.0dep status "github.com/Azure/azure-sdk-for-go.go version: go version go1.12.6 linux/amd64Attempting to create a ManagementPolicyRule results in an error:
Error creating Azure Storage Management Policy : storage.ManagementPoliciesClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="RequestIsNotValidJson" Message="The request cannot be interpreted as valid Json: {}."
Repro code here
It looks like this is an issue with the swagger for storage: https://github.com/Azure/azure-rest-api-specs/issues/6549
Found another issue that also needs addressing for Management Policies
Bump - the swagger has been updated (see here) - what needs to happen to create a new release of the SDK from the updated swagger?
Thanks!
Hi @stuartleeks , this issue should be resolved in version 32.0.0. Feel free to have a test
Kindly reactivate if you find the issue is not resolved in v32.0.0
Apologies - I was juggling this in tandem with some other work. I appreciate your help getting this fixed and release - the Terraform provider work that this unblocked has now been released :-) Thanks!
Most helpful comment
It looks like this is an issue with the swagger for storage: https://github.com/Azure/azure-rest-api-specs/issues/6549