All language subtitles for 1. Modify an ARM Template

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal) Download
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:01,340 --> 00:00:03,580 Now, let's look at how we can modify an 2 00:00:03,580 --> 00:00:07,140 ARM template from an existing resource. 3 00:00:07,140 --> 00:00:09,240 Now, the level of understanding for ARM 4 00:00:09,240 --> 00:00:11,310 templates will not be at the architect or 5 00:00:11,310 --> 00:00:14,240 developer level, thank god. Our main focus 6 00:00:14,240 --> 00:00:17,190 for the 104 exam is to be able to support, 7 00:00:17,190 --> 00:00:19,990 manage or modify ARM templates, nothing 8 00:00:19,990 --> 00:00:21,810 from scratch. You will need to be able to 9 00:00:21,810 --> 00:00:23,350 recognize the code and what it's doing, 10 00:00:23,350 --> 00:00:25,150 more or less. First, we need to get some 11 00:00:25,150 --> 00:00:26,850 of the first principles out of the way as 12 00:00:26,850 --> 00:00:29,740 it relates to ARM templates. Now, they are 13 00:00:29,740 --> 00:00:32,520 in JSON format, JavaScript Object 14 00:00:32,520 --> 00:00:35,490 Notation. Now an ARM template, simply put, 15 00:00:35,490 --> 00:00:39,690 is a JSON object of key value pairs. Now, 16 00:00:39,690 --> 00:00:42,190 we can create any resource in Azure with 17 00:00:42,190 --> 00:00:44,440 an ARM template, then we can submit that 18 00:00:44,440 --> 00:00:46,730 template to the Azure Resource Manager, 19 00:00:46,730 --> 00:00:49,880 ARM, for the deployment, and it helps us 20 00:00:49,880 --> 00:00:52,340 keep track of our deployments as well. 21 00:00:52,340 --> 00:00:54,630 Here's the basic ARM template format. As 22 00:00:54,630 --> 00:00:56,580 we see, we have a number of key value 23 00:00:56,580 --> 00:00:59,530 pairs starting with the schema. Not all of 24 00:00:59,530 --> 00:01:01,530 these pairs are required. In fact, only 25 00:01:01,530 --> 00:01:03,810 schema, contentVersion, and resources are 26 00:01:03,810 --> 00:01:06,090 required. Now, the schema defines the 27 00:01:06,090 --> 00:01:09,000 location of the JSON file that describes 28 00:01:09,000 --> 00:01:11,650 the version of the language. Note the date 29 00:01:11,650 --> 00:01:14,040 in the path. I wouldn't worry too much 30 00:01:14,040 --> 00:01:16,280 about content version. This is related to 31 00:01:16,280 --> 00:01:18,310 the different iterations of this file. 32 00:01:18,310 --> 00:01:19,760 What we're really going to look at is 33 00:01:19,760 --> 00:01:22,080 resources. This is where we define the 34 00:01:22,080 --> 00:01:24,190 resources within Azure we are going to 35 00:01:24,190 --> 00:01:27,510 deploy or update. Yes, I said update. ARM 36 00:01:27,510 --> 00:01:29,600 templates can be used against existing 37 00:01:29,600 --> 00:01:32,230 resources, not just creating new. Note the 38 00:01:32,230 --> 00:01:34,640 square brackets. This signifies this can 39 00:01:34,640 --> 00:01:36,710 be an array of values, which makes sense. 40 00:01:36,710 --> 00:01:38,660 Now the curly brackets are singular 41 00:01:38,660 --> 00:01:42,030 values. In the next few slides, we'll 42 00:01:42,030 --> 00:01:44,320 break down the sections of a template for 43 00:01:44,320 --> 00:01:46,300 a network security group. In this first 44 00:01:46,300 --> 00:01:48,760 slide, we see the schema. As stated, this 45 00:01:48,760 --> 00:01:51,240 is the location of the template file. 46 00:01:51,240 --> 00:01:54,180 Next, we see the parameters. Notice the 47 00:01:54,180 --> 00:01:56,150 default value. This will come into play in 48 00:01:56,150 --> 00:01:58,180 a few slides when we choose the Deploy 49 00:01:58,180 --> 00:02:00,890 option. It will auto populate the name of 50 00:02:00,890 --> 00:02:04,220 the network security group with web‑nsg, 51 00:02:04,220 --> 00:02:06,660 which is the name of the existing security 52 00:02:06,660 --> 00:02:08,610 group we're looking at. So we could modify 53 00:02:08,610 --> 00:02:10,610 the existing group, or we can change the 54 00:02:10,610 --> 00:02:12,980 name when we deploy to create a new 55 00:02:12,980 --> 00:02:15,530 separate network security group. We also 56 00:02:15,530 --> 00:02:17,360 have any variables. This is where we could 57 00:02:17,360 --> 00:02:19,520 really streamline our deployments by 58 00:02:19,520 --> 00:02:21,470 supplying variables rather than hard coded 59 00:02:21,470 --> 00:02:23,680 properties. Again, probably something at a 60 00:02:23,680 --> 00:02:27,570 higher scope than the AZ‑104 exam. Moving 61 00:02:27,570 --> 00:02:29,880 along, we have the meat of the template, 62 00:02:29,880 --> 00:02:32,750 the resources section. Our key value pair 63 00:02:32,750 --> 00:02:35,690 of type has the value of Microsoft.Network 64 00:02:35,690 --> 00:02:37,740 provider with the resource of 65 00:02:37,740 --> 00:02:40,170 networkSecurityGroups. We can see it takes 66 00:02:40,170 --> 00:02:41,950 the name from the parameters section we 67 00:02:41,950 --> 00:02:44,080 identified earlier. We have the location 68 00:02:44,080 --> 00:02:46,410 of this resource, as well as tags. Then we 69 00:02:46,410 --> 00:02:48,340 see the properties of the security rule. 70 00:02:48,340 --> 00:02:50,030 Here we could make any changes or 71 00:02:50,030 --> 00:02:51,990 additions when we choose to deploy. 72 00:02:51,990 --> 00:02:54,070 Perhaps we want to allow port 80, regular 73 00:02:54,070 --> 00:02:56,230 web traffic, in the security rules under 74 00:02:56,230 --> 00:02:59,380 properties. And then we have the 75 00:02:59,380 --> 00:03:01,460 Microsoft.Network provider with the 76 00:03:01,460 --> 00:03:03,430 securityRules resource and its 77 00:03:03,430 --> 00:03:05,730 dependencies, which is the aforementioned 78 00:03:05,730 --> 00:03:08,720 security group. So, as we learn, we can 79 00:03:08,720 --> 00:03:10,890 modify a template in the portal. Now we 80 00:03:10,890 --> 00:03:13,310 have a couple different options. We can go 81 00:03:13,310 --> 00:03:15,480 to the existing resource and choose Export 82 00:03:15,480 --> 00:03:18,340 template under the Automation section. 83 00:03:18,340 --> 00:03:20,530 Then we would select Deploy, and then 84 00:03:20,530 --> 00:03:23,010 choose to edit the template. We could also 85 00:03:23,010 --> 00:03:24,920 download the template and make changes and 86 00:03:24,920 --> 00:03:26,600 then copy/paste them back into that 87 00:03:26,600 --> 00:03:28,360 template. Once the changes are made, we 88 00:03:28,360 --> 00:03:30,060 would then save it and then select 89 00:03:30,060 --> 00:03:33,140 Purchase, as we'll see in the next slide. 90 00:03:33,140 --> 00:03:34,530 This is the screen we will see when we 91 00:03:34,530 --> 00:03:36,530 choose to deploy. We can now edit this 92 00:03:36,530 --> 00:03:40,040 template here, as well as the parameters. 93 00:03:40,040 --> 00:03:41,990 If we're updating, we don't need to change 94 00:03:41,990 --> 00:03:44,070 the name, but if we want a new network 95 00:03:44,070 --> 00:03:45,780 security group, we can change the name 96 00:03:45,780 --> 00:03:48,180 right here; otherwise, any changes will be 97 00:03:48,180 --> 00:03:50,420 applied to the existing network security 98 00:03:50,420 --> 00:03:52,880 group. And then we need to agree to the 99 00:03:52,880 --> 00:03:54,550 terms and conditions and then click 100 00:03:54,550 --> 00:03:56,560 Purchase. What we're agreeing to is that 101 00:03:56,560 --> 00:03:59,140 we are acknowledging what we are deploying 102 00:03:59,140 --> 00:04:01,140 may incur costs, like if you deploy to a 103 00:04:01,140 --> 00:04:03,260 VM, which comes with storage and compute 104 00:04:03,260 --> 00:04:05,230 costs, not so much with a network security 105 00:04:05,230 --> 00:04:09,000 group, though. Then we would click Purchase. 8226

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.