https://github.com/colbylwilliams/az-util
Microsoft Azure CLI Utility 'util' Extension
https://github.com/colbylwilliams/az-util
az-cli azure azure-cli azure-cli-extension utility
Last synced: 2 months ago
JSON representation
Microsoft Azure CLI Utility 'util' Extension
- Host: GitHub
- URL: https://github.com/colbylwilliams/az-util
- Owner: colbylwilliams
- License: mit
- Created: 2021-04-29T13:08:52.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-15T20:32:18.000Z (almost 2 years ago)
- Last Synced: 2025-01-10T21:43:30.715Z (4 months ago)
- Topics: az-cli, azure, azure-cli, azure-cli-extension, utility
- Language: Python
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# az-util
Microsoft Azure CLI Utility 'util' Extension adds useful "utilities" for common or tedious tasks.
## Install
To install the Azure CLI Utility extension, simply run the following command:
```sh
az extension add --source https://github.com/colbylwilliams/az-util/releases/latest/download/util-0.1.4-py2.py3-none-any.whl -y
```### Update
To update Azure CLI Utility extension to the latest version:
```sh
az util update
```or for the latest pre-release version:
```sh
az util update --pre
```## Commands
This extension adds the following commands. Use `az util -h` for more information.
---
### util group
Utilities for managing resource groups.
#### util group delete
Delete multiple resource groups by name.
##### examples
Delete all resource groups with names starting with test.
```sh
az util group delete --prefix test
```Delete all resource groups with names starting with test skipping test123.
```sh
az util group delete --prefix test --skip test123
```---
### util keyvault
Utilities for managing keyvaults.
#### util keyvault purge
Purge (permanently delete) deleted keyvaults.
##### examples
Purge (permanently delete) all deleted keyvaults.
```sh
az util keyvault purge
```Purge (permanently delete) all deleted keyvaults skipping test123.
```sh
az util keyvault purge --skip test123
```