RPaaS Error
ARM OpenAPI(swagger) specs
The path '{api path}' which is for extension routing resource type, shouldn't include the parent scope.
Path (operation) for 'extension routing type' (that has additional /providers/ segment in parent scope) must be of the form '{scope}/provider/RPNamespace/resourceTypeName' (shouldn't include parent scope)
November 8, 2021
November 8, 2021
The parent scope won't be passed over to PRaaS, and the API will fail in RPaaS validation.
Move the parent resource URI to the 'scope' parameter which is string type.
The following would be invalid:
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerNamespace}/{resourceType}/{resourceName}/providers/Microsoft.MyProvider/defenderSettings/default"
The following would be valid :
"{scope}/providers/Microsoft.MyProvider/defenderSettings/default"