In this video, we will look how to prepare our
altering environment for developing national policies.
We will use visual studio called Toe, Develop our Policies.
So let's see how to do that.
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.
So we opened visual studio code. We goto the extensions and we search for our short policy.
So this is the official actual policy extension from Microsoft. We can install that one
visual studio called
It says that we are not signed in, so we'll go ahead and signing.
Well, say, be some training
Now we're signing toe our azur environment.
Once you're locked in, you will see your resource is and policies in those menus.
Sometimes you may need to restart visual studio court in order to see those.
As you can see, I have three subscriptions under which I have resource is if I click here, I can go and
limit the number of subscriptions I want to see. So I will turn off the first door and now just leave the last one.
Those two views help me search through the resource is in the policies.
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.
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
so I can see all the details about this virtual machine and
any identifiers that I may need.
Now let's browse the policies and see what we can get out of the policies. We can see the assignments.
As you can see, we see the same assignments that we saw. The national poor tone,
Let's say, require owner attack. We can go and
for require owner attack.
As you can see, it's a signed by me
the time of creation or created by created on and
what the policy is. You can also go and search through the building definitions,
You can use the search button.
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
the definitions for the initiatives. Also,
let's say if I click here, I will get the the initiative definition
in visual Studio called.
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.