ARM Error
ARM OpenAPI(swagger) specs
- RPC-Get-V1-14
The GET operation cannot be long running. It must not have the x-ms-long-running-operation
and x-ms-long-running-operation-options
properties defined.
Only asynchronous(i.e. Long Running Operation) can have x-ms-long-running-operation-options
property.
The GET calls are synchronous and it MUST NOT have
- x-ms-long-running-operation-options
property block
- x-ms-long-running-operation
set to true
Ensure that the GET operation does not have x-ms-long-running-operation
and x-ms-long-running-operation-options
properties defined.
Please remove the following invalid block:
...
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MyNameSpace/MyResourceType/{Name}": {
"get": {
...
...
"responses": {
"200": {
...
}
}
// Remove
"x-ms-long-running-operation": true,
// Remove this block
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation",
},
}
}
...
...
The following is Valid
```json
...
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MyNameSpace/MyResourceType/{Name}": {
"get": {
...
...
"responses": {
"200": {
...
}
}
"x-ms-long-running-operation": false,
}
}
...
...