Using Console
Using CLI
<resource-group-name>
and <vm-name>
with the actual names of your resource group and VM respectively.
<resource-group-name>
and <nsg-name>
with the actual names of your resource group and NSG respectively.
<resource-group-name>
, <nsg-name>
and <nsg-rule-name>
with the actual names of your resource group, NSG and NSG rule respectively.
<resource-group-name>
and <nsg-name>
with the actual names of your resource group and NSG respectively.
<resource-group-name>
and <nsg-name>
with the actual names of your resource group and NSG respectively.
Using Python
<subscription_id>
, <client_id>
, <client_secret>
, <tenant_id>
, <nsg_name>
, and <nsg_resource_group>
) with the actual values for your Azure environment.