We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58cb821 commit c380bf8Copy full SHA for c380bf8
test.py
@@ -1,13 +1,7 @@
1
from azure.identity import DefaultAzureCredential
2
from azure.mgmt.containerregistry import ContainerRegistryManagementClient
3
4
-# Set your Azure subscription ID
5
-subscription_id = "<your-subscription-id>"
6
-
7
-# Initialize credentials and ACR client
8
-credential = DefaultAzureCredential()
9
-acr_client = ContainerRegistryManagementClient(credential, subscription_id)
10
+# Set your Azure subscr
11
# List all container registries in the subscription
12
registries = acr_client.registries.list()
13
0 commit comments