Now that you've learned much of the basics of the CLI, learn some tips that will help simplify your work. In this video, learn how to create defaults and use the built-in editor.
- [Instructor] The next thing I want to show you is going to … make things a little bit easier for you. … You know how you have to type in the name … of the resource group every single time you take a look … at a virtual machine or something like that? … That can be a lot of work. … Well, you can tell Microsoft Azure CLI that there … is a default group that you want to use. … Let me show you how to use that. … It is az and in this case it's configure. … And what you're configuring is the defaults. … So we just do a --defaults. … And what are we defaulting to? … We're going to use the group. … Now, as I type in group, keep in mind I could … do the virtual machine or if you're using some other … resource and you always have to put in the same thing, … you can default to a lot of different items inside of here. … So the defaults groups, we're going to hit the equals sign … and then the name of our default resource group. … In this case it's going to be azToolsRGcli and hit Enter. … So now, when we hit az vm and we want to show our …
- Customizing the Azure portal
- Creating and deploying resources
- Using the Azure CLI
- Deploying and configuring resources with the CLI
- Deploying and configuring resources with PowerShell
- Deploying resources with JSON templates