Using Console
Using CLI
<vm-name>
with the name of your virtual machine and <resource-group-name>
with the name of the resource group where the virtual machine is located.
Using Python
DefaultAzureCredential
class:SecurityCenter
client object: