Azure / Azure/azure-rest-api-specs
`Site Recovery`: `ReplicationProtectedItems_Delete` required additional paramter more than service
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
[`ReplicationProtectedItems_Delete`](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2022-10-01/service.json#L3644) defined `disableProtectionInput` as `required`, but when deleting replicated items from HyperV, the service only accepts empty payload as the following:
```
{
"properties": {}
}
```
Or it will return the error
```
Failed to start operation. Verify input and try operation again.
```
Contributor guide
Research direction
Start at specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2022-10-01/service.json around ReplicationProtectedItems_Delete, linked at line 3644. Compare the disableProtectionInput requirement with the documented HyperV request payload and service error. Done means the specification accurately permits the accepted empty properties payload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api, cloud
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100