Azure / Azure/azure-rest-api-specs
`Microsoft.Chaos/targets` lacks implementation of `properties` or a discriminator
@mariohdez is already working on this.
Since Jan 24, 2022.
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 6k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 432
Description
Hi there!
I was trying to implement Chaos Targets (and other resources of the Chaos Studio) in azurerm, the Terraform Provider for Azure. This implementation would be based on the exposed REST API for Chaos Studio, 2021-09-15-preview. As I as looking into it, I found the specs miss a proper definition of the properties of a Target. I was looking into providing a PR myself with an update, but I found myself stranded based on lacking discriminator fields to distinguish the different types of targets.
For the different kind of targets (service-direct and agent-based) the properties are defined a object and no possible discriminator field is available to improve the API specs.
Any updates or new API versions would be great, as implementation in Terraform without proper API specs is a no-go unfortunately :/
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.