Azure / Azure/azure-rest-api-specs

`recoveryservicesbackup`: `ProtectedItems_CreateOrUpdate` lacks `x-ms-long-running-operation`

Open
#22,758 3 comments 0 reactions 0 assignees View on GitHub
Recovery Services Backup Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 37m
Merged PRs (30d)
446

Description

It's an async operation per the description, so for the action [`ProtectedItems_CreateOrUpdate`](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/bms.json#L1378), it should be marked with `"x-ms-long-running-operation": true,` like [this](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/recoveryservicessiterecovery/resource-manager/Microsoft.RecoveryServices/stable/2022-10-01/service.json#L4733)

Contributor guide

Open the contributing guide

Research direction

Open specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2023-01-01/bms.json and locate ProtectedItems_CreateOrUpdate around line 1378. Compare its operation metadata with the referenced service.json example around line 4733, then add the missing long-running-operation declaration and verify the specification diff.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
api
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.