Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 892 Bytes

xms-resource-in-put-response.md

File metadata and controls

29 lines (15 loc) · 892 Bytes

XmsResourceInPutResponse

Category

ARM Error

Applies to

ARM OpenAPI(swagger) specs

Related ARM Guideline Code

  • RPC-Put-V1-12

Output Message

The 200 response model for an ARM PUT operation must have x-ms-azure-resource extension set to true in its hierarchy. Operation: '{0}' Model: '{1}'.

Description

The 200 response model for an ARM PUT operation must have x-ms-azure-resource extension set to true in its hierarchy. Operation: '{0}' Model: '{1}'.

Why the rule is important

This will ensure that the PUT operation actually returns a resource model.Please refer here for details on x-ms-azure-resource extension.

How to fix the violation

Ensure that the 200 response model for an ARM PUT operation must have x-ms-azure-resource extension set to true in its hierarchy.