azure-cli-extensions | Public Repository for Extensions of Azure CLI | Browser Plugin library
kandi X-RAY | azure-cli-extensions Summary
kandi X-RAY | azure-cli-extensions Summary
Add your extension to the index to make it available in these CLI commands:.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Create aks resource group .
- Update aks resource group .
- Ensures that an addon logs for an addon .
- Create a blob from a URL .
- Create a connected kubernetes cluster .
- Create a function in a resource group .
- Download a blob to a stream .
- Download the contents of a resource .
- Create a webapp .
- Creates a virtual machine .
azure-cli-extensions Key Features
azure-cli-extensions Examples and Code Snippets
Community Discussions
Trending Discussions on azure-cli-extensions
QUESTION
I'm trying to register a resource provider in my Azure subscription - I am "Global administrator".
If I try from the portal, I click "Register" and it spins then reports as "NotRegistered"
I've also tried:
...ANSWER
Answered 2021-Sep-17 at 14:54Came back to this today and the providers were registered
QUESTION
Currently, my az CLI version is 2.27.2 I would like to experiment with some extensions, to do this I require upgrading my version to 2.3.1(for Linux).
I already searched in the Microsoft docs but I seem unable to find the information that I need. Therefore I feel I require some help on upgrading the Azure CLI:
- List of available versions - https://docs.microsoft.com/en-us/cli/azure/azure-cli-extensions-list
- Insight on how to configure other versions - https://github.com/Azure/azure-cli#developer-setup
ANSWER
Answered 2021-Sep-06 at 14:36As az cli version 2.3.1 is not released yet, you should be abled to use the extensions with your current version ( 2.27.2) as well.
For example, I am able to use account extension version 0.2.1 for which Required Minimum CLI Version 2.3.1 with my az cli 2.27.2 version
QUESTION
I want to upgrade azure cli to 2.26.1 version from 2.0.81 in window subsystem of linux(wsl ubuntu). I am trying to use command az upgrade
. It is giving following error:
az: 'upgrade' is not in the 'az' command group. See 'az --help'. If the command is from an extension, please make sure the corresponding extension is installed. To learn more about extensions, please visit https://docs.microsoft.com/en-us/cli/azure/azure-cli-extensions-overview
Is there some way to upgrade it in ubuntu?
...ANSWER
Answered 2021-Jul-23 at 08:36Unfortunately your az cli version is to old to use this feature.
From the documentation:
The az upgrade command was added in version 2.11.0 and will not work with versions prior to 2.11.0. Older versions can be updated by reinstalling as described in Install the Azure CLI.
QUESTION
I am trying to run
az billing account list
However, when I run this I get:
...ANSWER
Answered 2021-Mar-17 at 12:05The upgraded billing commands are shipped with Azure CLI 2.15.0 and the Cloud Shell you are using with Azure might be an older version, Try to update and see
QUESTION
Trying to dynamically retrieve all the variables from a variable group via Azure DevOps task in a YAML Pipeline. Originally tried leveraging the AzureCLI@2 task with the following code to retrieve the variableGroupID which would be used to get the variables inside of it:
...ANSWER
Answered 2021-Feb-11 at 06:33You can use the REST API instead of Azure CLI to get the information. It can be used with the standard tools already present on the Microsoft Hosted agents. It requires only vanilla powershell or powershell core, meaning to works on both windows and linux agents. The below example was successfully tested on windows-latest
/windows-2019
and ubuntu-latest
/ubuntu-20.04
The approach is the same as with Azure CLI.
- List all available groups filtered by name to retrieve the variable group in question
- Get all variables in the variable group using the variable group id from step
In fact, the pipeline also has an out of the box PAT token available with read access to variable groups. It is stored in the variable System.AccessToken
. Using that instead of a manually managed one will further simplify things.
The script below is executed in a pwsh
step, which is the built in Powershell task in Powershell core mode
QUESTION
I have az cli installed on my Kali Linux. The az --version
information shows an upgrade available as shown below.
ANSWER
Answered 2021-Jan-11 at 07:35az upgrage
is currently in preview and might have glitches. It is supported on Windows, macOS and some Linux distros. Not exactly sure about if the issue you have is related to Kali disro. But since Kali is debian based, just upgrade az cli using apt get. Install the Azure CLI on Linux.
QUESTION
I am attempting to use az security assessment as described here, Azure Security Module
When I attempt to use it I see:
...ANSWER
Answered 2020-Dec-09 at 14:25I was able to run az security assessment list
command and got the result like this:
I have below softwares installed:
- Microsoft Azure CLI - 2.10.1
- Microsoft Azure Powershell - 5.7.0.18831
As Ian Kemp mentioned above, you can also try installing Az.Security
.
Let me know if this helps.
QUESTION
Using az artifacts universal download
, how can I download the latest package under a specific view in a feed, e.g. @Prerelease?
I can't seem to find any documentation on how to specify the view
Edit - Requests:
User Voice Request: https://developercommunity.visualstudio.com/idea/1195670/azure-cli-extensions-support-for-specifying-releas.html
Github Issue: https://github.com/Azure/azure-cli-extensions/issues/2330
...ANSWER
Answered 2020-Sep-22 at 10:32It does not seem to support downloading packages from the UI at the moment, you can only download using Azure CLI.
You must use the Azure CLI to download the package. Azure DevOps doesn't support direct HTTP/HTTPS download links or other ways to download the package.
You can put forward your suggestion here, or vote on it.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install azure-cli-extensions
You can use azure-cli-extensions like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page