Home

Awesome

azcli-plugin

An oh-my-zsh plugin for Az CLI

Status

Current status: in development.

Aliases and other features will be added as I use new things.

Aliases

Subscription

AliasCommandDescription
azalaz account listGet a list of subscriptions for the logged in account
azasaz account setSet a subscription to be the current active subscription

Storage Account

AliasCommandDescription
azsalaz storage account listList all storage accounts in a subscription
azsaswaz storage account showShow storage account properties
azsactaz storage account createCreate a storage account
azsasgenaz storage account generate-sasGenerates a shared access signature for the account

AKS

AliasCommandDescription
azaksgcaz aks get-credentialsGet access credentials for a managed Kubernetes cluster (User)
azaksgcaaz aks get-credentials --adminGet access credentials for a managed Kubernetes cluster (Admin)
azakslaz aks listList managed Kubernetes clusters.
azaksnplaz aks nodepool listList node pools in the managed Kubernetes cluster.
azaksswaz aks showShow the details for a managed Kubernetes cluster
azaksbaz aks browseShow the dashboard for a Kubernetes cluster in a web browser

Installation

Prerequisites

Install

  1. Clone to $ZSH_CUSTOM
    git clone https://github.com/dmakeienko/azcli.git ~/.oh-my-zsh/custom/plugins/
  1. Add azcli to plugin list:
    plugins=(git **azcli** ...)
  1. Apply changes:
    source ~/.zshrc