<p>I have a very basic <code>REST API</code> that provides some information, which was written with <code>JAX-RS</code>.</p>

<p>Now I want to implement some azure cli commands, like <a href="https://learn.microsoft.com/en-us/cli/azure/acr/repository?view=azure-cli-latest" rel="nofollow noreferrer">az acr repository list</a> as well as kubectl.</p>

<p>I found the <a href="https://github.com/Azure/azure-sdk-for-java" rel="nofollow noreferrer">Azure Java SDK</a>, and read its <a href="https://learn.microsoft.com/en-us/java/api/com.microsoft.azure.management.containerregistry?view=azure-java-stable" rel="nofollow noreferrer">API reference</a>, but I couldn't figure out how I will basically list the repositories.</p>

<p><a href="https://github.com/Azure-Samples/aks-java-manage-kubernetes-cluster" rel="nofollow noreferrer">Kubernetes</a> example is much better, but I am stuck with Azure Container Registry.</p>

<p>Basically I am asking a code sample (reference), or tutorial, or guidance.</p>

Turcia
<p>Whatever my experience of using Azure docs, it's little hard to find API doc which will work for you and you may found some discrepancies between docs like one of API via cli vs sdk behaves different.</p>

<p>As per my work with various clouds, most of the cloud clients are inclined to use python SDKs. 3-4 ago, I had used java for openstack, now python. For VCloud, used java but now moving to python, in fact they stopped to provide java sdk.</p>

<p>Hope you have got some pointers.</p>
