Hi @Shibu KV ,
Apologies for the delay in response. Unfortunately DataLakeFileSystemClient
does not have an exists method. But even if it did, all it would do is call getProperties API and check for a 4xx error
. As a workaround we would recommend you add this as a an exist method in your code, to validate if a file system exist or not.
I have also discussed this requirement with relevant product team and they are evaluating if they could add it to the SDK in the future.
Hope this info helps. Do let us know if you have further query.
----------
- Please
accept an answer
if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how. - Want a reminder to come back and check responses? Here is how to subscribe to a notification.