Time
1 hour 7 minutes
Difficulty
Beginner
CEU/CPE
1

Video Transcription

00:01
In this video, we will look how to prepare our
00:05
altering environment for developing national policies.
00:09
We will use visual studio called Toe, Develop our Policies.
00:13
So let's see how to do that.
00:18
Here I have a Windows virtual machine that has visual studio called in Stop. The first thing we'll do is we'll install the Asher Policy Extension for visual studio call.
00:29
So we opened visual studio code. We goto the extensions and we search for our short policy.
00:43
So this is the official actual policy extension from Microsoft. We can install that one
00:50
and added to our
00:52
visual studio called
00:54
It says that we are not signed in, so we'll go ahead and signing.
01:02
Well, say, be some training
01:26
in close this page.
01:30
Now we're signing toe our azur environment.
01:34
Once you're locked in, you will see your resource is and policies in those menus.
01:41
Sometimes you may need to restart visual studio court in order to see those.
01:46
As you can see, I have three subscriptions under which I have resource is if I click here, I can go and
01:53
limit the number of subscriptions I want to see. So I will turn off the first door and now just leave the last one.
02:02
Those two views help me search through the resource is in the policies.
02:07
Let's say I would like to go and see information about certain resource in a resource group asked You remember, we created those resource groups so you can browse. The resource is in the resource view.
02:22
For example, let's go and find our virtual machine, that bus in our policy Custom Policy demo group. And this is the virtual machine
02:30
so I can see all the details about this virtual machine and
02:37
any identifiers that I may need.
02:39
Now let's browse the policies and see what we can get out of the policies. We can see the assignments.
02:47
As you can see, we see the same assignments that we saw. The national poor tone,
02:53
Let's say, require owner attack. We can go and
02:59
browse the policy
03:00
for require owner attack.
03:04
As you can see, it's a signed by me
03:07
the time of creation or created by created on and
03:13
what the policy is. You can also go and search through the building definitions,
03:21
all of them.
03:22
You can use the search button.
03:24
Let's say I would like to search for initiatives, and I would like to find the CS one. As you can see, I can go and search using the search functionality. And of course, I can go and see
03:42
the definitions for the initiatives. Also,
03:49
let's say if I click here, I will get the the initiative definition
03:55
in visual Studio called.
03:59
So this is the functionality that azure policy plugging provides you in the visual studio cope. In our next lesson, we will use this plug in in order to develop our custom policy.

Up Next

Azure Policies

This course goes into details about Azure Policy and how it can be used for IT governance of Azure resources.

Instructed By

Instructor Profile Image
Toddy Mladenov
Instructor