ARM Error
ARM OpenAPI(swagger) specs
- RPC-Patch-V1-03
The property '{propertyName}' in the request body either not apppear in the resource model or has the wrong level.
The properties in the patch body must be present in the resource model and follow json merge patch.
July 07, 2022
July 07, 2022
If a resource is defined as below and the 'properties.propertyA' is patchable
FooResource: {
"x-ms-azure-resource": true,
allOf: [{ $ref: "#/definitions/Resource" }],
properties: {
properties: {
type: "object",
properties: {
propertyA: {
type: "string"
}
},
...
},
},
},
then 'propertyA' must appear in the patch body with the same layout.
FooResourceUpdate: {
type: "object",
properties: {
properties: {
type: "object",
properties: {
propertyA: {
type: "string"
}
}
},
},
},