Open
Description
openedon Sep 30, 2020
The location field of the Automations model
Has a Location
field which is referenced here
This is set to readOnly as true. This is a mistake, this field is not read only and is required by the API to be set when calling it on a create or update operation https://docs.microsoft.com/en-us/rest/api/securitycenter/automations/createorupdate
The downstream result of this is impacting the Go SDK for Azure making that package in the SDK non-functional, it always returns a 400 error Code="LocationRequired" Message="The location property is required for this definition."
See this issue Azure/azure-sdk-for-go#12634
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment