Created
November 25, 2022 15:20
-
-
Save oliverlabs/6940fc06457b378b60daf638324636d7 to your computer and use it in GitHub Desktop.
Register an Azure Preview Feature Using Az CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
features=($(az feature list -o table | grep 'AKS-AzureDefender\|OIDC' | xargs -L1 bash -c 'echo $0' | cut -d '/' -f2)) | |
for feature in "${features[@]}"; do | |
j=$(az feature show --name ${feature} --namespace 'microsoft.ContainerService' | jq) | |
echo $j | jq | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment