Azure / Azure/azure-rest-api-specs

`Site Recovery`: `ReplicationProtectedItems_Delete` required additional paramter more than service

Open
#22,947 2 comments 0 reactions 0 assignees View on GitHub
Recovery Services Site-Recovery Service Attention
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.