Microsoft Azure Essentials Fundamentals of Azure Second Edition e-optimized 5x11 pdf


Creating a new VM using an ARM template



Download 8,71 Mb.
Pdf ko'rish
bet229/260
Sana16.09.2021
Hajmi8,71 Mb.
#176022
1   ...   225   226   227   228   229   230   231   232   ...   260
Bog'liq
9781509302963 Microsoft Azure Essentials Fundamentals of Azure 2nd ed pdf

Creating a new VM using an ARM template 
New-AzureRmResourceGroupDeployment -TemplateUri "https://raw.githubusercontent.com/Azure/azure-
quickstart-templates/master/101-vm-simple-windows/azuredeploy.json" ` 
-ResourceGroupName "AzureEssentials2" ` 
-TemplateParameterObject @{"adminUsername"="mcollier"; "dnsLabelPrefix" = "az-ez-2"} 
When finished, you should see output similar to that in Figure 8-14. 
 
Figure 8-14  Creating a new Azure VM by using an ARM template. 
Tip  Set the PowerShell preference variable $DebugPreference to Continue to see the debug 
statements when executing an Azure PowerShell cmdlet, including the HTTP Request and HTTP 
Response. This can aid in debugging efforts. 
 
Tip  For more information about and examples of using Azure PowerShell with Azure Resource 
Manager, please reference 
https://azure.microsoft.com/documentation/articles/powershell-azure-
resource-manager/
. The Azure Script Center at 
https://azure.microsoft.com/documentation/scripts/
 
can also be helpful in learning more about how to work with Azure PowerShell for a variety of Azure 
services. 
Cross-platform command-line interface 
For Windows users, the PowerShell cmdlets discussed in the previous section are your best option for 
automating tasks and working from the command line, especially if you are scripting the provisioning 
of several Azure resources. However, for mixed environments, the Azure cross-platform command-line 
interface provides a consistent experience for Linux, Mac OS, and Windows users. 


 
221 
CHAPTER 8  |  Management Tools 
 
Just like the Azure PowerShell project repository, the repository for the Azure CLI is available on 
GitHub, at 
https://github.com/Azure/azure-xplat-cli
. Please refer to this GitHub page for additional 
installation instructions. 
Installation 
The Azure CLI is a Node.js application implemented by using the Azure SDK for Node.js. Therefore, 
you will need to ensure Node.js is installed on your system. 
See Also  Additional installation instructions can be found at 
https://azure.microsoft.com/documentation/articles/xplat-cli-install/
.  

Download 8,71 Mb.

Do'stlaringiz bilan baham:
1   ...   225   226   227   228   229   230   231   232   ...   260




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish