Skip to content

Instantly share code, notes, and snippets.

@buzztaiki
Last active November 22, 2023 11:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save buzztaiki/be4f3c3d06eeef926fa1b92807272dcc to your computer and use it in GitHub Desktop.
Save buzztaiki/be4f3c3d06eeef926fa1b92807272dcc to your computer and use it in GitHub Desktop.
Azure API 雑に叩く

Azure API 雑に叩く

az rest を使えばOK。

API の URL は以下のどっちかで探す

こんな感じで使える

❯❯ az rest -u 'https://management.azure.com/providers/Microsoft.ContainerService/operations?api-version=2020-03-01' | jq '.value[]|[.name, .display.description] | @tsv' -r | head | column -t -s$'\t'
Microsoft.ContainerService/locations/operations/read                                 Gets the status of an asynchronous operation
Microsoft.ContainerService/locations/orchestrators/read                              Lists the supported orchestrators
Microsoft.ContainerService/locations/kubernetesversions/read                         List available Kubernetes versions in the region.
Microsoft.ContainerService/locations/usages/read                                     List resource usage on Microsoft.ContainerService resource provider.
Microsoft.ContainerService/locations/osOptions/read                                  Gets OS options
Microsoft.ContainerService/locations/notifyNetworkSecurityPerimeterUpdatesAvailable  Notifies NetworkSecurityPerimeter updates available
Microsoft.ContainerService/operations/read                                           Lists operations available on Microsoft.ContainerService resource provider
Microsoft.ContainerService/register/action                                           Registers Subscription with Microsoft.ContainerService resource provider
Microsoft.ContainerService/unregister/action                                         Unregisters Subscription with Microsoft.ContainerService resource provider
Microsoft.ContainerService/locations/operationresults/read                           Gets the status of an asynchronous operation result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment