Open lirenhe opened 1 year ago
However, mgmt leaves out the LRO part of the API, it only generate the pageable API
PagedFlux<BastionShareableLinkInner> putBastionShareableLinkAsync
not the LRO + pageable
PollerFlux<T, PagedFlux<BastionShareableLinkInner>> beginPutBastionShareableLinkAsync
(I am not sure whether this thing is even valid)
So, basically we do not know what be the method signature.
ADP removed this. So lower priority.
Discussed with Srikanta, actually we'd like API arch and SDK arch to have guideline on this case. Currently there is no guideline on LRO + pageable, and it is rarely used (if ever) in data-plane.
This issue was reported in dotnet https://github.com/Azure/autorest.csharp/issues/2905, but I expect Java DPG should also support this. Below is an example CADL with LRO POST action that generates a pageable collection of file URIs.